Table

api_users

Description

API (Programmatic) Users

Column

Format

Description

Definition

Required

Comments

id

integer, primary key

Row identifier

autoincrement

(tick)


co_idinteger, foreign keyCO Record IDcos:id(tick)

username

varchar(64)

API Username


(tick)


api_key

varchar(256)

API Key



bcrypt formatted, as per CakePHP

privilegedbooleanIf this API User is a "superuser" within its CO
  • true: API User is privileged
  • false: API User is not privileged


statusvarchar(2)API User status
  • A: Active
  • S: Suspended
(tick)

valid_from

datetime

API User is valid from this time

If null, valid any time through valid_through



valid_through

datetime

API User is valid through (but not past) this time

If null, valid any time from valid_from



remote_ipvarchar(80)IP addresses this API User may connect fromDefined as regular expression, or null for any IP address

  • No labels