API docs for showing the attributes of a specific PCI device's URL is incorrect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Xinxin Shen |
Bug Description
I get an error when using the API interface (/v1/devices/
1.Execute the following URL command
curl -i http://
The following results are returned:
HTTP/1.1 404 Not Found
Content-Type: application/json
Content-Length: 85
Date: Mon, 07 Dec 2020 17:25:10 GMT
{"error_message": "{\"code\": 404, \"description\": \"\", \"title\": \"Not Found\"}"}
2.Error cause analysis
a.The API docs documentation is incorrect, the URL interface in the api documentation is
/v1/devices/
https:/
b.The url in the code interface in the code is /v1/pci_
api docs
https:/
During the analysis, I found that the interface "Modifies a specific PCI device" also has corresponding problems, that is, the API document is /v1/devices/
https:/
information type: | Public → Private |
information type: | Private → Public |
Changed in starlingx: | |
assignee: | nobody → Xinxin Shen (runsxx) |
Low severity - inaccurate API documentation