feat: Add new replication field to better show queue sync progress (#480)
* chore: update openapi * feat: update replication field names to match influx changes * feat: add new field to show replication queue sync progress * chore: update to master openapi
This commit is contained in:
@ -16,15 +16,15 @@ import (
|
||||
|
||||
// AuthorizationPostRequest struct for AuthorizationPostRequest
|
||||
type AuthorizationPostRequest struct {
|
||||
// Status of the token. If `inactive`, requests using the token will be rejected.
|
||||
// Status of the token. If `inactive`, InfluxDB rejects requests that use the token.
|
||||
Status *string `json:"status,omitempty" yaml:"status,omitempty"`
|
||||
// A description of the token.
|
||||
Description *string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
// The ID of the organization that owns the authorization.
|
||||
// An organization ID. Specifies the organization that owns the authorization.
|
||||
OrgID string `json:"orgID" yaml:"orgID"`
|
||||
// The ID of the user that the authorization is scoped to.
|
||||
// A user ID. Specifies the user that the authorization is scoped to. When a user authenticates with username and password, InfluxDB generates a _user session_ with all the permissions specified by all the user's authorizations.
|
||||
UserID *string `json:"userID,omitempty" yaml:"userID,omitempty"`
|
||||
// A list of permissions for an authorization. An authorization must have at least one permission.
|
||||
// A list of permissions for an authorization. In the list, provide at least one `permission` object. In a `permission`, the `resource.type` property grants access to all resources of the specified type. To grant access to only a specific resource, specify the `resource.id` property.
|
||||
Permissions []Permission `json:"permissions" yaml:"permissions"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user