diff options
Diffstat (limited to 'docs/versioned_docs/version-v0.30.0/api/get-current-user-info.api.mdx')
| -rw-r--r-- | docs/versioned_docs/version-v0.30.0/api/get-current-user-info.api.mdx | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/docs/versioned_docs/version-v0.30.0/api/get-current-user-info.api.mdx b/docs/versioned_docs/version-v0.30.0/api/get-current-user-info.api.mdx new file mode 100644 index 00000000..529bfc4f --- /dev/null +++ b/docs/versioned_docs/version-v0.30.0/api/get-current-user-info.api.mdx @@ -0,0 +1,63 @@ +--- +id: get-current-user-info +title: "Get current user info" +description: "Returns info about the current user" +sidebar_label: "Get current user info" +hide_title: true +hide_table_of_contents: true +api: eJyNUz1v2zAQ/SvCmwnL6ajNQxukHRq0DjoYHs7S2WIsiQx5SmsI/O/FUUZiJxmiRRJ5H+/eezeh4VgH68W6ARV+sYxhiIUd9q6gnRulkJaLegyBBynGyAEGQoeIaoOHyCFiaxC5HoOVE6rNhB1T4LAapUW12aatQeDo3RA5oprwZbnU13Xfn7tHrqX4a6XNTYqGhBYwqN0gPIhmkPedrUkzyseoaRNi3XJP+iUnz6jgciEY+OA8B7FzU9tcxEQJdjggGQzU8/sLg2HsOtp1jErCyMmAe7LdpyJtT4fP1excTZ1SeBG9c65jGpCSsvY02sCNMm0bXCZskz4GPUvrGlQ4cJ6ZlHOUymAse4YqE55VJBVmDB0qTNQ0gWNMJXlbPt/A4JmCVWiZqvP1rNGexk5QoRXxsSpLCafFkQIdmf2CvId5I+S65eJcoXD7bJ4f5/hixoKU0oVlfquCc+dL47wwop11jhymDOUgmPPHNxd6UoTf/6wza+pcTdepZ0g3i+Viqa61ouzjBc/q/u5D/Kv7u2LvwjV4HTYZeBelp+y92Ty4Zbnaj7w7b+tOr0b+7I7N4wv/k9J3ZAftnhWczjpvkHWG2kCXsHVR9HSadhT5IXQp6fHTyEEXc/uqc95Lg5apUfdtJhz5hAqrumYv2RDdqN3frZwq92K6269rGNC1Xm/0ydXPVzScLmpP0xyxdkceUoI5gxD9R1KL/wcmvpVd +sidebar_class_name: "get api-method" +info_path: api/karakeep-api +custom_edit_url: null +--- + +import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; +import ParamsDetails from "@theme/ParamsDetails"; +import RequestSchema from "@theme/RequestSchema"; +import StatusCodes from "@theme/StatusCodes"; +import OperationTabs from "@theme/OperationTabs"; +import TabItem from "@theme/TabItem"; +import Heading from "@theme/Heading"; + +<Heading + as={"h1"} + className={"openapi__heading"} + children={"Get current user info"} +> +</Heading> + +<MethodEndpoint + method={"get"} + path={"/users/me"} + context={"endpoint"} +> + +</MethodEndpoint> + + + +Returns info about the current user + +<ParamsDetails + parameters={undefined} +> + +</ParamsDetails> + +<RequestSchema + title={"Body"} + body={undefined} +> + +</RequestSchema> + +<StatusCodes + id={undefined} + label={undefined} + responses={{"200":{"description":"Object with user data.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"image":{"type":"string","nullable":true},"localUser":{"type":"boolean"}},"required":["id","localUser"]}}}}}} +> + +</StatusCodes> + + +
\ No newline at end of file |
