Compare commits
2 Commits
c81a0d3294
...
14910d8a5f
Author | SHA1 | Date | |
---|---|---|---|
14910d8a5f | |||
01fb1a2b7d |
@ -60,6 +60,29 @@ paths:
|
|||||||
description: The users could not be found.
|
description: The users could not be found.
|
||||||
|
|
||||||
/user/{userId}/allowance:
|
/user/{userId}/allowance:
|
||||||
|
get:
|
||||||
|
summary: Gets the allowance breakdown of a user
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: userId
|
||||||
|
description: The user ID
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: Information about the allowance of the user
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
allowance:
|
||||||
|
type: integer
|
||||||
|
description: The total allowance value of the user, in cents.
|
||||||
|
goals:
|
||||||
|
type: array
|
||||||
|
$ref: "#/components/schemas/goal"
|
||||||
post:
|
post:
|
||||||
summary: Updates the allowance of a user
|
summary: Updates the allowance of a user
|
||||||
parameters:
|
parameters:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user