You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API documentation indicates that responses from the /users endpoint should include both id and user_id properties. However, in practice, the actual API responses only contain the id property, and the user_id property is missing.
Steps to Reproduce
Send a LIST request to the /users endpoint on your BookStack server.
Review the response returned by the server.
Notice that the user_id property is missing from the response, despite being documented.
Expected Behaviour
The response from the /users endpoint should include both id and user_id properties, where the user_id property matches the value of the id property for each user object within the data array.
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v24.05.3
The text was updated successfully, but these errors were encountered:
ln-ws
changed the title
The property user_id exists in the example responses, but doesn't exist in actual responses
Inconsistency Between Documented and Actual API Responses: user_id Missing in /users Endpoint Responses #5178
Aug 26, 2024
I'm deleting all above comments as I don't see any as relevant to the discussion, or they contain links to downloads on other sites that I'm not comfortable with having here, and/or they contain claims I'm not going to validate.
Any further links to external downloads (including archive links) will result in a block for BookStackApp projects.
Thanks for raising @ln-ws.
I can confirm the example response does not match the actual response.
I'll just look to remove the user_id from the example response. The id value should be used instead.
Describe the Bug
The API documentation indicates that responses from the
/users
endpoint should include bothid
anduser_id
properties. However, in practice, the actual API responses only contain theid
property, and theuser_id
property is missing.Steps to Reproduce
LIST
request to the/users
endpoint on your BookStack server.user_id
property is missing from the response, despite being documented.Expected Behaviour
The response from the
/users
endpoint should include bothid
anduser_id
properties, where theuser_id
property matches the value of theid
property for each user object within the data array.Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v24.05.3
The text was updated successfully, but these errors were encountered: