mirror of
https://github.com/portainer/portainer.git
synced 2025-07-29 18:29:44 +02:00
fix(docs): add APIKey Digest example EE-6199 (#10980)
This commit is contained in:
parent
5f040bf788
commit
7b6e106606
1 changed files with 4 additions and 4 deletions
|
@ -905,10 +905,10 @@ type (
|
||||||
ID APIKeyID `json:"id" example:"1"`
|
ID APIKeyID `json:"id" example:"1"`
|
||||||
UserID UserID `json:"userId" example:"1"`
|
UserID UserID `json:"userId" example:"1"`
|
||||||
Description string `json:"description" example:"portainer-api-key"`
|
Description string `json:"description" example:"portainer-api-key"`
|
||||||
Prefix string `json:"prefix"` // API key identifier (7 char prefix)
|
Prefix string `json:"prefix"` // API key identifier (7 char prefix)
|
||||||
DateCreated int64 `json:"dateCreated"` // Unix timestamp (UTC) when the API key was created
|
DateCreated int64 `json:"dateCreated"` // Unix timestamp (UTC) when the API key was created
|
||||||
LastUsed int64 `json:"lastUsed"` // Unix timestamp (UTC) when the API key was last used
|
LastUsed int64 `json:"lastUsed"` // Unix timestamp (UTC) when the API key was last used
|
||||||
Digest string `json:"digest,omitempty"` // Digest represents SHA256 hash of the raw API key
|
Digest string `json:"digest,omitempty" example:"b8GuHNH/ZNZ+44Ivkm4sDadzrz7MuiCCeKnvpE14jaw="` // Digest represents SHA256 hash of the raw API key
|
||||||
}
|
}
|
||||||
|
|
||||||
// Schedule represents a scheduled job.
|
// Schedule represents a scheduled job.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue