Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions content.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 7 additions & 5 deletions user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down