Api
Stored in the apis collection. createdAt and updatedAt are maintained automatically.
Returned by GET /api, POST /api, GET /api/:id.
| Field | Type | Notes |
|---|---|---|
key | string | default 15bff3641e0cbe9f7b8292ce746afb9d89f962fc021b5d6cacbff0c36b2398e3 · unique |
maskedKey | string | |
ipRestriction | string | default open · one of open, restricted |
type | string | default permanent · one of permanent, temporary |
durationMinutes | number | |
company | ObjectId -> Company | |
createdBy | ObjectId -> Member | |
updatedBy | ObjectId -> Member | |
_id | ObjectId | default "6a95712f932657988a91c026" |
createdAt | date | set once |
updatedAt | date |