chef-boneyard / chef-web-docs-2016

DEPRECATED - All The Documentation
Other
74 stars 149 forks source link

(low pri) compliance api documentation bug #830

Open vinyar opened 8 years ago

vinyar commented 8 years ago

compliance api will likely change, so filing this so it would show up in google in case anyone hits this issue. doc: https://docs.chef.io/api_compliance.html#id24

BUG: POST should not have {} around member list. curl -X POST "$API_URL/orgs/acme/teams/TEAM_ID/members" \ -H "Content-Type: application/json" -H "$AUTH" -d '{["bob"]}'

Should instead be: curl -X POST "$API_URL/orgs/acme/teams/TEAM_ID/members" \ -H "Content-Type: application/json" -H "$AUTH" -d '["bob"]'

davidwrede commented 8 years ago

Hey @vinyar, this change is getting merged in today.

Thanks for the fix!