-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing group of api endpoints in v2 #501
Comments
These are all present for me after installing. Try running |
When i execute your mentioned command in the web debug command line i get this response:
Also no change in the 404 Endpoints and still 404 |
@jaredhendrickson13
After that (quick look) all endpoints work now. I don't know why the command doesn't work in the web debug shell. Also maybe there is a difference if i execute the install command in the web php prompt or in a "real" shell. Maybe further investigate this or add an disclaimer to the install section that users shouldn't use the web debug shell. I leave it up to you if you want to close this issue or investigate. Thank you for the rebuild command, it solved my issue. |
Actually, the error you received previously does show a valid issue which could be preventing the endpoints from building correctly. The CPU load averages on your system are/were formatted with commas as the decimal separator instead of points as PHP expects them, which is valid for certain regions around the world. Regardless, the logic of the underlying models probably shouldn't prevent the endpoints from being built, so I'll work on a fix for those things. Thanks! |
Describe the bug
After freshly installing the pfrest pkg (pfSense-2.7.2-pkg-RESTAPI.pkg) some endpoint groups are not available (HTTP 404).
Following groups of endpoints are not available (referencing https://pfrest.org/api-docs/#/):
To Reproduce
Steps to reproduce the behavior:
pkg-static -C /dev/null add https://github.com/jaredhendrickson13/pfsense-api/releases/latest/download/pfSense-2.7.2-pkg-RESTAPI.pkg
Response:
Expected behavior
Response defined in api docs and not a HTTP 404 error.
Screenshots or Response
-/-
pfSense Version & Package Version:
Affected Endpoints:
Additional context
-/-
The text was updated successfully, but these errors were encountered: