Comments (2)
@andrewbaxter Yes and No. If your Fastly account was created before 2021-02-01 00:00:00Z
then yes, GET /services
returns all items if no parameters are given. Otherwise, pagination is always applied and you get partial data. And you're right that ListServices
is currently ignoring those parameters.
Therefore, we encourage you to use the NewListServicesPaginator
function instead. This supports all parameters.
Example here: https://pkg.go.dev/github.com/fastly/go-fastly/v6/fastly#Client.NewListServicesPaginator
from go-fastly.
Okay thanks! That would be great to have in the documentation somewhere.
from go-fastly.
Related Issues (20)
- Fails to Parse Historic Stats when no Service Provided HOT 1
- Any plan to add custom TLS certificates? HOT 1
- ListPrivateKeys: "offset must be an integer" error when requesting PageNumber 0 HOT 1
- Remove uninitialized ActiveVersion field from Service struct? HOT 3
- Potentially misleading comment in README.md HOT 2
- Purge with Soft=true bug HOT 2
- Typo in Datacenter.Coordinates - Longtitude HOT 2
- Support S3 logging `acl`, new `redundancy` options HOT 2
- GetService returns a Service with null version HOT 5
- Batch Upserting dictionary items HOT 1
- api throttling not exposed
- Typo in filter[tls_certificate.id] should be filter[tls_certificates.id]
- HTTP client never closes response body HOT 1
- UpdateBackend() can't clear OverrideHost and other fields? HOT 2
- Lack of support for warnings in TLSAuthorizations struct
- Allow `Context` to be set in `http.Request` for Fastly API calls HOT 3
- handle automation-tokens HOT 1
- TLSActivation Struct does not support mutual_authentication key which the API returns HOT 3
- support in_use filtering in CustomTLSCertificate and PrivateKey HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-fastly.