go-client icon indicating copy to clipboard operation
go-client copied to clipboard

Depreciated repo: home of the old go client. See netlify/open-api for the new home of the go client

Results 4 go-client issues
Sort by recently updated
recently updated
newest added

because the sites code uses `/sites/` and teams requires `/SLUG/teams` you do not get back any sites in your team

Customer Robert contributed this code to do this. ``` // Restore an old deploy. Sets the deploy as the active deploy for a site func (deploy *Deploy) Unlock() (*Response, error)...

enhancement

I'm trying to create a new deploy for a site. client := netlify.NewClient(&netlify.Config{AccessToken: "token"}) site, _, err := client.Sites.Get("site-id") dep, resp, err := site.Deploys.Create("/path/to/dir") `site` is correctly fetched and contains...

This build log shows the issue: https://app.netlify.com/sites/scientist-cheetah-73554/deploys/57c5510866867428c137cf70 His build failed due specifically to this error: 2:28:15 AM: Error deploying site: parse images/50%-0: invalid URL escape "%-0" He did indeed have...