update API documentation for partitions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
YuehuiLei |
Bug Description
An error occurred when using the partitions part of the API documentation
(POST /v1/ihosts/
I found that the URLs set in the code are /v1/partitions.
This is inconsistent with the API documentation,
so update the partitions section of the API documentation.
1.Execute the following URL command
curl -i http://
The following results are returned:
HTTP/1.1 404 Not Found
2.Error cause analysis
a.The API docs documentation is incorrect, the URL interface in the api documentation is
v1/ihosts/
https:/
b.The url in the code interface in the code is /v1/partitions, which is inconsistent with the api docs
https:/
tags: | added: stx.config |
description: | updated |
description: | updated |
tags: | added: stx.docs |
Changed in starlingx: | |
importance: | Undecided → Low |
Changed in starlingx: | |
assignee: | nobody → YuehuiLei (leiyuehui) |
summary: |
- Update API documentation + update API documentation for partitions |
Link to review: https:/ /review. opendev. org/c/starlingx /config/ +/754340