Skip to content

Inconsistency Between Documented and Actual API Responses: user_id Missing in /users Endpoint Responses #5178 #5178

Description

@ln-ws

Describe the Bug

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

  1. Send a LIST request to the /users endpoint on your BookStack server.
  2. Review the response returned by the server.
  3. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions