mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-11-30 19:03:33 -06:00
23 lines
473 B
JSON
23 lines
473 B
JSON
|
|
{
|
||
|
|
"name": "getUserByToken",
|
||
|
|
"method": "GET",
|
||
|
|
"endpoint": "/customer/userByToken",
|
||
|
|
"description": "Get user information by token.",
|
||
|
|
"parameters": [
|
||
|
|
{
|
||
|
|
"name": "userFromRequest",
|
||
|
|
"in": "query",
|
||
|
|
"type": "object",
|
||
|
|
"schema": "DsUserSession",
|
||
|
|
"required": true,
|
||
|
|
"description": "User session information"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"requiresAuth": true,
|
||
|
|
"response": {
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"user": "object"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|