mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
docs: API enterprise (#5625)
* docs: audit, deploymentconfig, files, parameters * Swagger comments in workspacebuilds.go * structs in workspacebuilds.go * workspaceagents: instance identity * workspaceagents.go in progress * workspaceagents.go in progress * Agents * workspacebuilds.go * /workspaces * templates.go, templateversions.go * templateversion.go in progress * cancel * templateversions * wip * Merge * x-apidocgen * NullTime hack not needed anymore * Fix: x-apidocgen * Members * Fixes * Fix * WIP * WIP * Users * Logout * User profile * Status suspend activate * User roles * User tokens * Keys * SSH key * All * Typo * Fix * Entitlements * Groups * SCIM * Fix * Fix * Clean templates * Sort API pages * Fix: HashedSecret * General is first
This commit is contained in:
@ -16,8 +16,8 @@ type AddLicenseRequest struct {
|
||||
|
||||
type License struct {
|
||||
ID int32 `json:"id"`
|
||||
UUID uuid.UUID `json:"uuid"`
|
||||
UploadedAt time.Time `json:"uploaded_at"`
|
||||
UUID uuid.UUID `json:"uuid" format:"uuid"`
|
||||
UploadedAt time.Time `json:"uploaded_at" format:"date-time"`
|
||||
// Claims are the JWT claims asserted by the license. Here we use
|
||||
// a generic string map to ensure that all data from the server is
|
||||
// parsed verbatim, not just the fields this version of Coder
|
||||
|
Reference in New Issue
Block a user