I found that the responset type in mesh is divided into about 4 kinds.
I think the first one is normal, so I have tried to list as many interfaces as possible for the last three.
- Headers: Content-Type: application/json. The return data is also json. Most api's return this way.
- Headers: Content-Type: text/plain; charset=utf-8. The return data is json.
- /apis/v1/mesh/traffictargets
- /apis/v1/mesh/customresources
- /apis/v1/mesh/httproutegroups
- Headers: Content-Type: text/vnd.yaml. The return data is yaml.
- /apis/v1/objects/easemesh-controller
- Headers: Content-Type: text/plain; charset=utf-8. The return data is yaml.
- apis response status is 40X. eg: /apis/v1/mesh/traffictargets/nameNotExist
I found that the responset type in mesh is divided into about 4 kinds.
I think the first one is normal, so I have tried to list as many interfaces as possible for the last three.