I follow api docs and call it, but get 401 or 404 error.
Finally, I found that problem is docs sample is wrong.
But I dont know how can I report issue, so I post to here.
Let them know to make sure the sample is correct.
1.Use the Token Exchange API
curl -X POST -H "Authorization: Basic N2UwZjExNTItZTBkZC00YjE0LThlMzctMDRjYWIwN2VmZWIwOk5LeG9ScDJtMnczZTlnekpmc3NOUW5UZnlwRmd0Sm43" https://services.api.unity.com/auth/v1/token-exchange?projectId=<PROJECT_iD>environmentId=<ENVIRONMENT_ID>
last query paramter actually is “projectId=<PROJECT_iD>&environmentId=<ENVIRONMENT_ID>”, the docs lost “&”.
2.List fleet qos regions
This request url is “https://multiplay.services.api.unity.com/v1/fleets/fleets/{fleetId}/qos-regions”, but it’s not work. Because they give twice fleets.
I believe other samples have issues as well.