netlify / netlify/open-api

domain_aliases attribute does not update when use updateSite method

Open
#330 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
323
Forks
133
Avg merge
2d 8h
Merged PRs (30d)
2

Description

Hi,

I'm trying to use updateSite() function to update the domain_aliases of my site. When I look the result of the process, the attribute { "domain_aliases" } returns the original value.

Thanks,

Edison

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the updateSite operation and the domain_aliases field in the Open API definition. Reproduce an update and inspect the returned value; done means the response reflects the aliases supplied to updateSite and the behavior is covered by the relevant validation or regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.