2018-03-19 20:32:59 +01:00
|
|
|
# Awarding (object)
|
|
|
|
Awarding associating a decoration to a user
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
+ _id:`591ca81c1ee62711cfc19002` (string, required) - unique id of the awarding
|
|
|
|
+ confirmed: 1 (number, required) - status of the awarding request (0 - in progress, 1 - approved, 2 - rejected)
|
|
|
|
+ date: `2017-05-17T19:44:24.926Z` (string, required) - date when the awarding was requested
|
|
|
|
+ decorationId (Decoration, required) - populated decoration object that is given with the awarding
|
|
|
|
+ reason: `war dabei` (string, required) - reason for giving the awarding
|
2018-03-25 20:44:19 +02:00
|
|
|
+ proposer (Proposer, required) - app user who requested this awarding, null if awarding was given directly
|
2018-03-19 20:32:59 +01:00
|
|
|
+ timestamp: `2017-05-17T19:44:28.751Z` (string, required) - creation date
|
|
|
|
+ updatedAt: `"2017-05-17T19:44:28.751Z` (string, required) - version date
|
|
|
|
+ userId: `5918d2ca574b0b1d820a0b24` (string, required) - the unique id of the user who got this awarding
|
|
|
|
+ __v: 0 (number, required) - version number
|