Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fastly/domainmanagement/v1/tools/status/api_get.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func Get(ctx context.Context, c *fastly.Client, g *GetInput) (*Status, error) {
ro.Params["scope"] = string(*g.Scope)
}

path := fastly.ToSafeURL("domains", "v1", "tools", "status")
path := fastly.ToSafeURL("domain-management", "v1", "tools", "status")
resp, err := c.Get(ctx, path, ro)
if err != nil {
return nil, err
Expand Down
86 changes: 43 additions & 43 deletions fastly/domainmanagement/v1/tools/status/fixtures/get.yaml
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
---
version: 1
interactions:
- request:
body: ""
form: {}
headers:
User-Agent:
- FastlyGo/10.0.1 (+github.com/fastly/go-fastly; go1.24.2)
url: https://api.fastly.com/domains/v1/tools/status?domain=fastly-sdk-gofastly-testing.com
method: GET
response:
body: |
{"domain":"fastly-sdk-gofastly-testing.com","zone":"com","status":"undelegated inactive","tags":"generic"}
headers:
Accept-Ranges:
- bytes
Age:
- "1"
Cache-Control:
- no-store
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 06 May 2025 16:45:36 GMT
Pragma:
- no-cache
Server:
- fastly
Strict-Transport-Security:
- max-age=31536000
Vary:
- Accept-Encoding
Via:
- 1.1 varnish
X-Cache:
- MISS, MISS
X-Cache-Hits:
- "0"
X-Served-By:
- cache-lga21927-LGA, cache-lga21977-LGA
X-Timer:
- S1746549936.938745,VS0,VE550
status: 200 OK
code: 200
duration: ""
- request:
body: ""
form: {}
headers:
User-Agent:
- FastlyGo/10.0.1 (+github.com/fastly/go-fastly; go1.24.2)
url: https://api.fastly.com/domain-management/v1/tools/status?domain=fastly-sdk-gofastly-testing.com
method: GET
response:
body: |
{"domain":"fastly-sdk-gofastly-testing.com","zone":"com","status":"undelegated inactive","tags":"generic"}
headers:
Accept-Ranges:
- bytes
Age:
- "1"
Cache-Control:
- no-store
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 06 May 2025 16:45:36 GMT
Pragma:
- no-cache
Server:
- fastly
Strict-Transport-Security:
- max-age=31536000
Vary:
- Accept-Encoding
Via:
- 1.1 varnish
X-Cache:
- MISS, MISS
X-Cache-Hits:
- "0"
X-Served-By:
- cache-lga21927-LGA, cache-lga21977-LGA
X-Timer:
- S1746549936.938745,VS0,VE550
status: 200 OK
code: 200
duration: ""
84 changes: 42 additions & 42 deletions fastly/domainmanagement/v1/tools/status/fixtures/get_error.yaml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
---
version: 1
interactions:
- request:
body: ""
form: {}
headers:
User-Agent:
- FastlyGo/10.1.0 (+github.com/fastly/go-fastly; go1.24.2)
url: https://api.fastly.com/domains/v1/tools/status?domain=fastly-sdk-gofastly-testing
method: GET
response:
body: '{"title":"Domain not found","status":400,"detail":"fastly-sdk-gofastly-testing"}'
headers:
Accept-Ranges:
- bytes
Age:
- "1"
Cache-Control:
- no-store
Content-Type:
- application/problem+json
Date:
- Wed, 21 May 2025 14:33:47 GMT
Pragma:
- no-cache
Server:
- fastly
Strict-Transport-Security:
- max-age=31536000
Vary:
- Accept-Encoding
Via:
- 1.1 varnish
X-Cache:
- MISS, MISS
X-Cache-Hits:
- "0"
X-Served-By:
- cache-ewr-kewr1740082-EWR, cache-ewr-kewr1740040-EWR
X-Timer:
- S1747838028.703547,VS0,VE281
status: 400 Bad Request
code: 400
duration: ""
- request:
body: ""
form: {}
headers:
User-Agent:
- FastlyGo/10.1.0 (+github.com/fastly/go-fastly; go1.24.2)
url: https://api.fastly.com/domain-management/v1/tools/status?domain=fastly-sdk-gofastly-testing
method: GET
response:
body: '{"title":"Domain not found","status":400,"detail":"fastly-sdk-gofastly-testing"}'
headers:
Accept-Ranges:
- bytes
Age:
- "1"
Cache-Control:
- no-store
Content-Type:
- application/problem+json
Date:
- Wed, 21 May 2025 14:33:47 GMT
Pragma:
- no-cache
Server:
- fastly
Strict-Transport-Security:
- max-age=31536000
Vary:
- Accept-Encoding
Via:
- 1.1 varnish
X-Cache:
- MISS, MISS
X-Cache-Hits:
- "0"
X-Served-By:
- cache-ewr-kewr1740082-EWR, cache-ewr-kewr1740040-EWR
X-Timer:
- S1747838028.703547,VS0,VE281
status: 400 Bad Request
code: 400
duration: ""
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
---
version: 1
interactions:
- request:
body: ""
form: {}
headers:
User-Agent:
- FastlyGo/10.0.1 (+github.com/fastly/go-fastly; go1.24.2)
url: https://api.fastly.com/domains/v1/tools/status?domain=fastly-sdk-gofastly-testing.com&scope=estimate
method: GET
response:
body: |
{"scope":"estimate","domain":"fastly-sdk-gofastly-testing.com","zone":"com","status":"undelegated","tags":"generic"}
headers:
Accept-Ranges:
- bytes
Age:
- "1"
Cache-Control:
- no-store
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 06 May 2025 16:45:36 GMT
Pragma:
- no-cache
Server:
- fastly
Strict-Transport-Security:
- max-age=31536000
Vary:
- Accept-Encoding
Via:
- 1.1 varnish
X-Cache:
- MISS, MISS
X-Cache-Hits:
- "0"
X-Served-By:
- cache-lga21990-LGA, cache-lga21977-LGA
X-Timer:
- S1746549936.938774,VS0,VE545
status: 200 OK
code: 200
duration: ""
- request:
body: ""
form: {}
headers:
User-Agent:
- FastlyGo/10.0.1 (+github.com/fastly/go-fastly; go1.24.2)
url: https://api.fastly.com/domain-management/v1/tools/status?domain=fastly-sdk-gofastly-testing.com&scope=estimate
method: GET
response:
body: |
{"scope":"estimate","domain":"fastly-sdk-gofastly-testing.com","zone":"com","status":"undelegated","tags":"generic"}
headers:
Accept-Ranges:
- bytes
Age:
- "1"
Cache-Control:
- no-store
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 06 May 2025 16:45:36 GMT
Pragma:
- no-cache
Server:
- fastly
Strict-Transport-Security:
- max-age=31536000
Vary:
- Accept-Encoding
Via:
- 1.1 varnish
X-Cache:
- MISS, MISS
X-Cache-Hits:
- "0"
X-Served-By:
- cache-lga21990-LGA, cache-lga21977-LGA
X-Timer:
- S1746549936.938774,VS0,VE545
status: 200 OK
code: 200
duration: ""
86 changes: 43 additions & 43 deletions fastly/domainmanagement/v1/tools/status/fixtures/get_offers.yaml
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
---
version: 1
interactions:
- request:
body: ""
form: {}
headers:
User-Agent:
- FastlyGo/10.0.1 (+github.com/fastly/go-fastly; go1.24.2)
url: https://api.fastly.com/domains/v1/tools/status?domain=domainr-testing.org&scope=estimate
method: GET
response:
body: |
{"scope":"estimate","domain":"domainr-testing.org","zone":"org","status":"marketed priced transferable active","tags":"generic","offers":[{"vendor":"am.godaddy.com","price":"25000.00","currency":"USD"}]}
headers:
Accept-Ranges:
- bytes
Age:
- "77"
Cache-Control:
- no-store
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 06 May 2025 20:14:22 GMT
Pragma:
- no-cache
Server:
- fastly
Strict-Transport-Security:
- max-age=31536000
Vary:
- Accept-Encoding
Via:
- 1.1 varnish
X-Cache:
- HIT, MISS
X-Cache-Hits:
- "0"
X-Served-By:
- cache-lga21962-LGA, cache-lga21961-LGA
X-Timer:
- S1746562462.242932,VS0,VE174
status: 200 OK
code: 200
duration: ""
- request:
body: ""
form: {}
headers:
User-Agent:
- FastlyGo/10.0.1 (+github.com/fastly/go-fastly; go1.24.2)
url: https://api.fastly.com/domain-management/v1/tools/status?domain=domainr-testing.org&scope=estimate
method: GET
response:
body: |
{"scope":"estimate","domain":"domainr-testing.org","zone":"org","status":"marketed priced transferable active","tags":"generic","offers":[{"vendor":"am.godaddy.com","price":"25000.00","currency":"USD"}]}
headers:
Accept-Ranges:
- bytes
Age:
- "77"
Cache-Control:
- no-store
Content-Type:
- application/json; charset=utf-8
Date:
- Tue, 06 May 2025 20:14:22 GMT
Pragma:
- no-cache
Server:
- fastly
Strict-Transport-Security:
- max-age=31536000
Vary:
- Accept-Encoding
Via:
- 1.1 varnish
X-Cache:
- HIT, MISS
X-Cache-Hits:
- "0"
X-Served-By:
- cache-lga21962-LGA, cache-lga21961-LGA
X-Timer:
- S1746562462.242932,VS0,VE174
status: 200 OK
code: 200
duration: ""
2 changes: 1 addition & 1 deletion fastly/domainmanagement/v1/tools/suggest/api_get.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func Get(ctx context.Context, c *fastly.Client, g *GetInput) (*Suggestions, erro
ro.Params["vendor"] = *g.Vendor
}

path := fastly.ToSafeURL("domains", "v1", "tools", "suggest")
path := fastly.ToSafeURL("domain-management", "v1", "tools", "suggest")
resp, err := c.Get(ctx, path, ro)
if err != nil {
return nil, err
Expand Down
Loading