Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

REST API only allows setting team UUIDs on pipeline create #400

Closed
haines opened this issue Jun 3, 2018 · 2 comments
Closed

REST API only allows setting team UUIDs on pipeline create #400

haines opened this issue Jun 3, 2018 · 2 comments

Comments

@haines
Copy link

haines commented Jun 3, 2018

The team_uuids field isn't returned in GET requests (or in the response to POST or PATCH), and is ignored in PATCH requests.

@petemounce
Copy link

@ashleydavies spotted this too, and worked around it by using the GraphQL API.

@keithpitt
Copy link
Member

👋 hey @haines - sorry for the late reply to this one!

Ah yeah - so as you noticed we do support the team_uuids field in pipeline create, however that's mostly there for compatibility reasons (if you turned on teams, and had a bunch of scripts that generated pipelines - things would break for your users pretty quickly when the team permission system kicks in)

We don't have any plans to expand on team management in the REST API at the moment, but you can do everything team related in the GraphQL API https://buildkite.com/docs/apis/graphql-api

If you need a hand with any queries - we're happy to help (support@buildkite.com or hop over to https://forum.buildkite.community/c/help)

harrietgrace added a commit to buildkite/docs that referenced this issue Apr 26, 2019
This hasn't been supported and there are no plans to add support. See buildkite/feedback#400 for more info.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants