Versions in this module Expand all Collapse all v0 v0.1.1 Aug 2, 2024 v0.1.0 Aug 2, 2024 Changes in this version + func ContentItemPaginationQueryString(parameters ContentItemPaginationParameters) string + func ContentTypePaginationQueryString(parameters StatusPaginationParameters) string + func ContentTypeSchemaPaginationQueryString(parameters StatusPaginationParameters) string + func PaginationQueryString(parameters PaginationParameters) string + type AlgoliaIndex struct + CreatedDate *time.Time + ID string + Label string + LastModifiedDate *time.Time + Links map[string]Link + Name string + ParentID string + ReplicaCount int + Suffix string + Type string + type AlgoliaIndexInput struct + AssignedContentTypes []AssignedContentTypeInput + Label string + Suffix string + Type string + type AlgoliaIndexResults struct + Items []AlgoliaIndex + Links map[string]Link + Page PageInformation + func (r *AlgoliaIndexResults) UnmarshalJSON(data []byte) error + type AlgoliaIndexSettings struct + AlternativesAsExact []string + AttributeForDistinct string + AttributesForFaceting []string + AttributesToHighlight []string + AttributesToRetrieve []string + AttributesToSnippet []string + CustomRanking []string + ExactOnSingleWordQuery string + HighlightPostTag string + HighlightPreTag string + HitsPerPage int + MaxValuesPerFacet int + MinWordSizefor1Typo int + MinWordSizefor2Typos int + OptionalWords []string + PaginationLimitedTo int + QueryType string + Ranking []string + RemoveWordsIfNoResults string + SearchableAttributes []string + SeparatorsToIndex string + SnippetEllipsisText string + UnretrievableAttributes []string + Version int + type AmplienceDamSettings struct + ApiKey string + ApiSecret string + Endpoint string + type ApplicationSettings struct + Name string + TemplatedUri string + type ArchiveInput struct + Version int + type AssetManagementSettings struct + ClientConfig *string + Enabled *bool + type AssignedContentType struct + ContentTypeUri string + CreatedDate *time.Time + ID string + LastModifiedDate *time.Time + Links map[string]Link + type AssignedContentTypeInput struct + ContentTypeUri string + type AssignedContentTypeResults struct + Items []AssignedContentType + Links map[string]Link + Page PageInformation + func (r *AssignedContentTypeResults) UnmarshalJSON(data []byte) error + type Client struct + func NewClient(config *ClientConfig) (*Client, error) + func (client *Client) AlgoliaIndexCreate(hub_id string, input AlgoliaIndexInput) (AlgoliaIndex, error) + func (client *Client) AlgoliaIndexDelete(hub_id string, id string) (AlgoliaIndex, error) + func (client *Client) AlgoliaIndexGet(hub_id string, id string) (AlgoliaIndex, error) + func (client *Client) AlgoliaIndexList(hub_id string) (AlgoliaIndexResults, error) + func (client *Client) AlgoliaIndexSettingsGet(hub_id string, id string) (AlgoliaIndexSettings, error) + func (client *Client) AlgoliaIndexSettingsUpdate(hub_id string, id string, input AlgoliaIndexSettings) (AlgoliaIndexSettings, error) + func (client *Client) AlgoliaIndexUpdate(hubID string, current AlgoliaIndex, input AlgoliaIndexInput) (AlgoliaIndex, error) + func (client *Client) AlgoliaIndexWebhooksGet(hub_id string, id string) ([]Webhook, error) + func (client *Client) ContentItemArchive(id string, version int) (ContentItem, error) + func (client *Client) ContentItemCreate(repositoryID string, input ContentItemInput) (ContentItem, error) + func (client *Client) ContentItemGet(id string) (ContentItem, error) + func (client *Client) ContentItemGetAll(hubID string, status ContentStatus) ([]ContentItem, error) + func (client *Client) ContentItemList(repositoryID string, parameters ContentItemPaginationParameters) (ContentItemResults, error) + func (client *Client) ContentItemListHistory(id string, version int) (ContentItemVersionHistoryResults, error) + func (client *Client) ContentItemUnarchive(id string, version int) (ContentItem, error) + func (client *Client) ContentItemUpdate(current ContentItem, input ContentItemInput) (ContentItem, error) + func (client *Client) ContentRepositoryAssignContentType(repositoryID string, typeID string) (ContentRepository, error) + func (client *Client) ContentRepositoryAssignFeature(repositoryID string) + func (client *Client) ContentRepositoryCreate(hubID string, input ContentRepositoryInput) (ContentRepository, error) + func (client *Client) ContentRepositoryFind() + func (client *Client) ContentRepositoryGet(id string) (ContentRepository, error) + func (client *Client) ContentRepositoryGetAll(hubID string) ([]ContentRepository, error) + func (client *Client) ContentRepositoryList(hubID string, parameters PaginationParameters) (ContentRepositoryResults, error) + func (client *Client) ContentRepositoryRemoveContentType(repositoryID string, typeID string) (ContentRepository, error) + func (client *Client) ContentRepositoryRemoveFeature(repositoryID string) + func (client *Client) ContentRepositoryShare() + func (client *Client) ContentRepositoryUpdate(current ContentRepository, input ContentRepositoryInput) (ContentRepository, error) + func (client *Client) ContentTypeArchive(id string) (ContentType, error) + func (client *Client) ContentTypeCreate(hubID string, input ContentTypeInput) (ContentType, error) + func (client *Client) ContentTypeFindByUri(uri string, hubId string) (ContentType, error) + func (client *Client) ContentTypeGet(id string) (ContentType, error) + func (client *Client) ContentTypeGetAll(hubID string, status ContentStatus) ([]ContentType, error) + func (client *Client) ContentTypeList(hubID string, parameters StatusPaginationParameters) (ContentTypeResults, error) + func (client *Client) ContentTypeSchemaArchive(id string, version int) (ContentTypeSchema, error) + func (client *Client) ContentTypeSchemaCreate(hubID string, update ContentTypeSchemaInput) (ContentTypeSchema, error) + func (client *Client) ContentTypeSchemaFindBySchemaId(schemaId string, hubId string) (ContentTypeSchema, error) + func (client *Client) ContentTypeSchemaGet(id string) (ContentTypeSchema, error) + func (client *Client) ContentTypeSchemaGetAll(hubID string, status ContentStatus) ([]ContentTypeSchema, error) + func (client *Client) ContentTypeSchemaList(hubID string, parameters StatusPaginationParameters) (ContentTypeSchemaResults, error) + func (client *Client) ContentTypeSchemaUnarchive(id string, version int) (ContentTypeSchema, error) + func (client *Client) ContentTypeSchemaUpdate(current ContentTypeSchema, update ContentTypeSchemaInput) (ContentTypeSchema, error) + func (client *Client) ContentTypeSyncSchema(current ContentType) (ContentTypeSyncResult, error) + func (client *Client) ContentTypeUnarchive(id string) (ContentType, error) + func (client *Client) ContentTypeUpdate(current ContentType, input ContentTypeInput) (ContentType, error) + func (client *Client) FolderCreate(repositoryID string, input FolderInput) (FolderInput, error) + func (client *Client) FolderDelete(id string) (Folder, error) + func (client *Client) FolderGet(id string) (Folder, error) + func (client *Client) FolderGetAll(hubID string) ([]Folder, error) + func (client *Client) FolderList(repositoryID string, parameters PaginationParameters) (FolderResults, error) + func (client *Client) HubGet(id string) (Hub, error) + func (client *Client) HubGetAll() ([]Hub, error) + func (client *Client) HubList(parameters PaginationParameters) (HubResults, error) + func (client *Client) HubPatch(id string, input HubUpdateInput) (Hub, error) + func (client *Client) WebhookCreate(hubID string, input WebhookInput) (Webhook, error) + func (client *Client) WebhookDelete(hub_id string, id string) error + func (client *Client) WebhookGet(hubID string, ID string) (Webhook, error) + func (client *Client) WebhookGetAll(hubID string) ([]Webhook, error) + func (client *Client) WebhookList(hub_id string, parameters PaginationParameters) (WebhookResults, error) + func (client *Client) WebhookUpdate(hubID string, current Webhook, input WebhookInput) (Webhook, error) + type ClientConfig struct + AuthURL string + ClientID string + ClientSecret string + HTTPClient *http.Client + URL string + type ContentItem struct + Body map[string]interface{} + ContentRepositoryID string + CreatedBy string + CreatedDate *time.Time + DeliveryID string + FolderID string + ID string + Label string + LastModifiedBy string + LastModifiedDate *time.Time + LastPublishedDate *time.Time + LastPublishedVersion int + Links map[string]Link + Locale string + Status string + Version int + type ContentItemAction struct + Code string + Data map[string]interface{} + type ContentItemInput struct + Body map[string]interface{} + FolderID string + Label string + Locale string + type ContentItemPaginationParameters struct + ExcludeHierarchicalChildren bool + FolderId string + Page int + Projection Projection + Size int + Sort string + Status ContentStatus + type ContentItemResults struct + Items []ContentItem + Links map[string]Link + Page PageInformation + func (r *ContentItemResults) UnmarshalJSON(data []byte) error + type ContentItemVersionHistory struct + Action ContentItemAction + ContentItemId string + CreatedBy string + CreatedDate *time.Time + HistoryEventID string + Version int + type ContentItemVersionHistoryResults struct + Items []ContentItemVersionHistory + Links map[string]Link + Page PageInformation + func (r *ContentItemVersionHistoryResults) UnmarshalJSON(data []byte) error + type ContentRepository struct + ContentTypes []ContentTypeReference + HubID string + ID string + Label string + Links map[string]Link + Name string + Status string + Type string + func (r *ContentRepository) GetHub(client *Client) (Hub, error) + type ContentRepositoryInput struct + Label string + Name string + type ContentRepositoryResults struct + Items []ContentRepository + Links map[string]Link + Page PageInformation + func (r *ContentRepositoryResults) UnmarshalJSON(data []byte) error + type ContentStatus string + const StatusActive + const StatusAny + const StatusArchived + type ContentType struct + ContentTypeURI string + ID string + Links map[string]Link + Settings ContentTypeSettings + Status string + type ContentTypeIcon struct + Size int + URL string + type ContentTypeInput struct + ContentTypeURI string + Settings ContentTypeSettings + type ContentTypeReference struct + ContentTypeURI string + HubContentTypeID string + type ContentTypeResults struct + Items []ContentType + Links map[string]Link + Page PageInformation + func (r *ContentTypeResults) UnmarshalJSON(data []byte) error + type ContentTypeSchema struct + Body string + CreatedBy string + CreatedDate *time.Time + ID string + LastModifiedBy string + LastModifiedDate *time.Time + Links map[string]Link + SchemaID string + Status string + ValidationLevel string + Version int + type ContentTypeSchemaInput struct + Body string + SchemaID string + ValidationLevel string + type ContentTypeSchemaResults struct + Items []ContentTypeSchema + Links map[string]Link + Page PageInformation + func (r *ContentTypeSchemaResults) UnmarshalJSON(data []byte) error + type ContentTypeSettings struct + Icons []ContentTypeIcon + Label string + Visualizations []ContentTypeVisualization + type ContentTypeSyncResult struct + ContentTypeURI string + type ContentTypeVisualization struct + Default bool + Label string + TemplatedURI string + type DeviceSettings struct + Height int + Name string + Orientate bool + Width int + type ErrorObject struct + Entity string + InvalidValue string + Message string + Property string + type ErrorResponse struct + Errors []ErrorObject + Inner error + StatusCode int + func (e *ErrorResponse) Error() string + func (e *ErrorResponse) Unwrap() error + type Folder struct + ID string + Links map[string]Link + Name string + type FolderInput struct + Name string + type FolderResults struct + Items []Folder + Links map[string]Link + Page PageInformation + func (r *FolderResults) UnmarshalJSON(data []byte) error + type GenericListResults struct + Embedded map[string]interface{} + Links map[string]Link + Page PageInformation + type Hub struct + AlgoliaSearch string + CDV2 string + Description *string + ID string + Label string + Links map[string]Link + Name string + OrganizationID string + Plan *string + Settings *Settings + type HubResults struct + Items []Hub + Links map[string]Link + Page PageInformation + func (r *HubResults) UnmarshalJSON(data []byte) error + type HubUpdateInput struct + Description *string + Label string + Name string + Settings *Settings + type Link struct + Href string + type LocalizationSettings struct + Locales []string + type Notification struct + Email string + type PageInformation struct + Number int + Size int + TotalElements int + TotalPages int + type PaginationParameters struct + Page int + Size int + Sort string + type PlatformSettings struct + AmplienceDam *AmplienceDamSettings + type PreviewVirtualStagingEnvironmentSettings struct + Hostname string + type Projection string + const ProjectionAny + const ProjectionBasic + type PublishingSettings struct + Platforms *PlatformSettings + type Settings struct + Applications []ApplicationSettings + AssetManagement *AssetManagementSettings + Devices []DeviceSettings + Localization *LocalizationSettings + PreviewVirtualStagingEnvironment *PreviewVirtualStagingEnvironmentSettings + Publishing *PublishingSettings + VirtualStagingEnvironment *VirtualStagingEnvironmentSettings + type StatusPaginationParameters struct + Page int + Size int + Sort string + Status ContentStatus + type VirtualStagingEnvironmentSettings struct + Hostname string + type Webhook struct + Active bool + CreatedDate *time.Time + CustomPayload *WebhookCustomPayload + Events []string + Filters []WebhookFilter + Handlers []string + Headers []WebhookHeader + ID string + Label string + LastModifiedDate *time.Time + Method string + Notifications []Notification + Secret string + func (obj *Webhook) UnmarshalJSON(data []byte) error + type WebhookCustomPayload struct + Type string + Value string + type WebhookEventsEnum string + const WebhookContentItemAssigned + const WebhookContentItemCreated + const WebhookContentItemUpdated + const WebhookContentItemWorkflowUpdated + const WebhookEditionPublished + const WebhookEditionScheduled + const WebhookEditionUnscheduled + const WebhookSnapshotPublished + type WebhookFilter interface + type WebhookFilterEqual struct + JSONPath string + Type string + Value string + func (obj WebhookFilterEqual) MarshalJSON() ([]byte, error) + type WebhookFilterIn struct + JSONPath string + Type string + Values []string + func (obj WebhookFilterIn) MarshalJSON() ([]byte, error) + type WebhookHeader struct + Key string + Secret bool + Value string + type WebhookInput struct + Active bool + CustomPayload *WebhookCustomPayload + Events []string + Filters []WebhookFilter + Handlers []string + Headers []WebhookHeader + Label string + Method string + Notifications []Notification + Secret string + func (obj *WebhookInput) UnmarshalJSON(data []byte) error + type WebhookResults struct + Items []Webhook + Links map[string]Link + Page PageInformation + func (r *WebhookResults) UnmarshalJSON(data []byte) error