When using the profile api interface in the API documentation.
After my analysis of the configuration file in the code, the correct one is
v1/profile. In order to comply with the url calling specification, the url
interface in the configuration file profile.py was changed to v1/profiles,
and the api document was updated.
1.操作做一把,把错误信息粘贴 b.代码中代码接口中的url和 api说明不一致,
2.分析错误原因,a.API docs 不正确[1];
3.system cpuprofile-lis 异常,也需要修复
When using the profile api interface in the API documentation.
After my analysis of the configuration file in the code, the correct one is
v1/profile. In order to comply with the url calling specification, the url
interface in the configuration file profile.py was changed to v1/profiles,
and the api document was updated.
[1]https:/ /docs.starlingx .io/api- ref/config/ api-ref- sysinv- v1-config. html?expanded= lists-all- profiles- detail# lists-all- profiles /github. com/starlingx/ config/ blob/master/ sysinv/ cgts-client/ cgts-client/ cgtsclient/ v1/iprofile. py#L20
[2] https:/