diff --git a/content.go b/content.go index ad078c9..513a073 100644 --- a/content.go +++ b/content.go @@ -259,6 +259,7 @@ type History struct { Latest bool `json:"latest"` CreatedBy User `json:"createdBy"` CreatedDate string `json:"createdDate"` + OwnedBy User `json:"ownedBy"` } // LastUpdated contains information about the last update diff --git a/user.go b/user.go index 251bec5..e7802cf 100644 --- a/user.go +++ b/user.go @@ -7,11 +7,13 @@ import ( // User defines user informations type User struct { - Type string `json:"type"` - Username string `json:"username"` - UserKey string `json:"userKey"` - AccountID string `json:"accountId"` - DisplayName string `json:"displayName"` + Type string `json:"type"` + Username string `json:"username"` + UserKey string `json:"userKey"` + AccountID string `json:"accountId"` + AccountStatus string `json:"accountStatus"` + DisplayName string `json:"displayName"` + Email string `json:"email"` } // getUserEndpoint creates the correct api endpoint by given id