add scopes to credentials method response

This commit is contained in:
Akolzin Dmitry 2021-10-26 13:16:58 +03:00
parent 8b0e5dafc2
commit 2b9f12f262

View File

@ -32,7 +32,9 @@ type VersionResponse struct {
// CredentialResponse return available API methods.
type CredentialResponse struct {
Success bool `json:"success,omitempty"`
// deprecated
Credentials []string `json:"credentials,omitempty"`
Scopes []string `json:"scopes,omitempty"`
SiteAccess string `json:"siteAccess,omitempty"`
SitesAvailable []string `json:"sitesAvailable,omitempty"`
}