It seems that using from > 30 days ago in:
|
func (c *Client) ListRecordings(since time.Time, nextPageToken string) (*ListRecordingsResponse, error) { |
|
var j ListRecordingsResponse |
|
req, err := c.NewApiRequest(http.MethodGet, "v2/users/me/recordings") |
|
if err != nil { |
|
return nil, fmt.Errorf("while building ListRecordings request: %w", err) |
|
} |
|
v := req.URL.Query() |
|
v.Set("from", since.Format(timeQuery)) |
|
v.Set("page_size", "300") // max |
|
if nextPageToken != "" { |
|
v.Set("next_page_token", nextPageToken) |
|
} |
|
req.URL.RawQuery = v.Encode() |
|
if _, err := c.Do(req, &j); err != nil { |
|
return nil, fmt.Errorf("while executing ListRecordings request: %w", err) |
|
} |
|
return &j, nil |
|
} |
results in zoom returning only recordings from the last 30 days. This isn't mentioned in the api docs but could be worked around by breaking up the requests into 30 days chunks.
It seems that using
from> 30 days ago in:zat/zoom/zoom.go
Lines 252 to 269 in d93387a
results in zoom returning only recordings from the last 30 days. This isn't mentioned in the api docs but could be worked around by breaking up the requests into 30 days chunks.