Constructors

Methods

  • Delete the Site Page object identified by the id in the path. Delete a Site Page

    Parameters

    • objectId: string

      The Site Page id.

    • Optionalarchived: boolean

      Whether to return only results that have been archived.

    • Optional_options: Configuration

    Returns Promise<void>

  • Delete the Site Page objects identified in the request body. Note: This is not the same as the dashboard archive function. To perform a dashboard archive send an normal update with the archivedInDashboard field set to true. Delete a batch of Site Pages

    Parameters

    Returns Promise<void>

  • Delete the Site Page objects identified in the request body. Note: This is not the same as the dashboard archive function. To perform a dashboard archive send an normal update with the archivedInDashboard field set to true. Delete a batch of Site Pages

    Parameters

    Returns Promise<HttpInfo<void>>

  • Delete the Site Page object identified by the id in the path. Delete a Site Page

    Parameters

    • objectId: string

      The Site Page id.

    • Optionalarchived: boolean

      Whether to return only results that have been archived.

    • Optional_options: Configuration

    Returns Promise<HttpInfo<void>>

  • Retrieve the Site Page object identified by the id in the path. Retrieve a Site Page

    Parameters

    • objectId: string

      The Site Page id.

    • Optionalarchived: boolean

      Specifies whether to return deleted Site Pages. Defaults to `false`.

    • Optionalproperty: string
    • Optional_options: Configuration

    Returns Promise<Page>

  • Retrieve the Site Page object identified by the id in the path. Retrieve a Site Page

    Parameters

    • objectId: string

      The Site Page id.

    • Optionalarchived: boolean

      Specifies whether to return deleted Site Pages. Defaults to `false`.

    • Optionalproperty: string
    • Optional_options: Configuration

    Returns Promise<HttpInfo<Page>>

  • Get the list of site pages. Supports paging and filtering. This method would be useful for an integration that examined these models and used an external service to suggest edits. Get all Site Pages

    Parameters

    • OptionalcreatedAt: Date

      Only return Site Pages created at exactly the specified time.

    • OptionalcreatedAfter: Date

      Only return Site Pages created after the specified time.

    • OptionalcreatedBefore: Date

      Only return Site Pages created before the specified time.

    • OptionalupdatedAt: Date

      Only return Site Pages last updated at exactly the specified time.

    • OptionalupdatedAfter: Date

      Only return Site Pages last updated after the specified time.

    • OptionalupdatedBefore: Date

      Only return Site Pages last updated before the specified time.

    • Optionalsort: string[]

      Specifies which fields to use for sorting results. Valid fields are `name`, `createdAt`, `updatedAt`, `createdBy`, `updatedBy`. `createdAt` will be used by default.

    • Optionalafter: string

      The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.

    • Optionallimit: number

      The maximum number of results to return. Default is 100.

    • Optionalarchived: boolean

      Specifies whether to return deleted Site Pages. Defaults to `false`.

    • Optionalproperty: string
    • Optional_options: Configuration

    Returns Promise<CollectionResponseWithTotalPageForwardPaging>

  • Get the list of site pages. Supports paging and filtering. This method would be useful for an integration that examined these models and used an external service to suggest edits. Get all Site Pages

    Parameters

    • OptionalcreatedAt: Date

      Only return Site Pages created at exactly the specified time.

    • OptionalcreatedAfter: Date

      Only return Site Pages created after the specified time.

    • OptionalcreatedBefore: Date

      Only return Site Pages created before the specified time.

    • OptionalupdatedAt: Date

      Only return Site Pages last updated at exactly the specified time.

    • OptionalupdatedAfter: Date

      Only return Site Pages last updated after the specified time.

    • OptionalupdatedBefore: Date

      Only return Site Pages last updated before the specified time.

    • Optionalsort: string[]

      Specifies which fields to use for sorting results. Valid fields are `name`, `createdAt`, `updatedAt`, `createdBy`, `updatedBy`. `createdAt` will be used by default.

    • Optionalafter: string

      The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.

    • Optionallimit: number

      The maximum number of results to return. Default is 100.

    • Optionalarchived: boolean

      Specifies whether to return deleted Site Pages. Defaults to `false`.

    • Optionalproperty: string
    • Optional_options: Configuration

    Returns Promise<HttpInfo<CollectionResponseWithTotalPageForwardPaging>>

  • Retrieves all the previous versions of a Site Page. Retrieves all the previous versions of a Site Page

    Parameters

    • objectId: string

      The Site Page id.

    • Optionalafter: string

      The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.

    • Optionalbefore: string
    • Optionallimit: number

      The maximum number of results to return. Default is 100.

    • Optional_options: Configuration

    Returns Promise<CollectionResponseWithTotalVersionPage>

  • Take any changes from the draft version of the Site Page and apply them to the live version. Push Site Page draft edits live

    Parameters

    • objectId: string

      The id of the Site Page for which it&#39;s draft will be pushed live.

    • Optional_options: Configuration

    Returns Promise<void>

  • Take any changes from the draft version of the Site Page and apply them to the live version. Push Site Page draft edits live

    Parameters

    • objectId: string

      The id of the Site Page for which it&#39;s draft will be pushed live.

    • Optional_options: Configuration

    Returns Promise<HttpInfo<void>>

  • Discards any edits and resets the draft to the live version. Reset the Site Page draft to the live version

    Parameters

    • objectId: string

      The id of the Site Page for which it&#39;s draft will be reset.

    • Optional_options: Configuration

    Returns Promise<void>

  • Discards any edits and resets the draft to the live version. Reset the Site Page draft to the live version

    Parameters

    • objectId: string

      The id of the Site Page for which it&#39;s draft will be reset.

    • Optional_options: Configuration

    Returns Promise<HttpInfo<void>>

  • Takes a specified version of a Site Page and restores it. Restore a previous version of a Site Page

    Parameters

    • objectId: string

      The Site Page id.

    • revisionId: string

      The Site Page version id to restore.

    • Optional_options: Configuration

    Returns Promise<Page>

  • Takes a specified version of a Site Page, sets it as the new draft version of the Site Page. Restore a previous version of a Site Page, to the draft version of the Site Page

    Parameters

    • objectId: string

      The Site Page id.

    • revisionId: number

      The Site Page version id to restore.

    • Optional_options: Configuration

    Returns Promise<Page>

  • Takes a specified version of a Site Page, sets it as the new draft version of the Site Page. Restore a previous version of a Site Page, to the draft version of the Site Page

    Parameters

    • objectId: string

      The Site Page id.

    • revisionId: number

      The Site Page version id to restore.

    • Optional_options: Configuration

    Returns Promise<HttpInfo<Page>>

  • Takes a specified version of a Site Page and restores it. Restore a previous version of a Site Page

    Parameters

    • objectId: string

      The Site Page id.

    • revisionId: string

      The Site Page version id to restore.

    • Optional_options: Configuration

    Returns Promise<HttpInfo<Page>>

  • Sparse updates a single Site Page object identified by the id in the path. You only need to specify the column values that you are modifying. Update a Site Page

    Parameters

    • objectId: string

      The Site Page id.

    • page: Page

      The JSON representation of the updated Site Page.

    • Optionalarchived: boolean

      Specifies whether to update deleted Site Pages. Defaults to `false`.

    • Optional_options: Configuration

    Returns Promise<Page>

  • Sparse updates the draft version of a single Site Page object identified by the id in the path. You only need to specify the column values that you are modifying. Update a Site Page draft

    Parameters

    • objectId: string

      The Site Page id.

    • page: Page

      The JSON representation of the updated Site Page to be applied to the draft.

    • Optional_options: Configuration

    Returns Promise<Page>

  • Sparse updates the draft version of a single Site Page object identified by the id in the path. You only need to specify the column values that you are modifying. Update a Site Page draft

    Parameters

    • objectId: string

      The Site Page id.

    • page: Page

      The JSON representation of the updated Site Page to be applied to the draft.

    • Optional_options: Configuration

    Returns Promise<HttpInfo<Page>>

  • Explicitly set new languages for each site page in a multi-language group. Update languages of multi-language group

    Parameters

    Returns Promise<void>

  • Sparse updates a single Site Page object identified by the id in the path. You only need to specify the column values that you are modifying. Update a Site Page

    Parameters

    • objectId: string

      The Site Page id.

    • page: Page

      The JSON representation of the updated Site Page.

    • Optionalarchived: boolean

      Specifies whether to update deleted Site Pages. Defaults to `false`.

    • Optional_options: Configuration

    Returns Promise<HttpInfo<Page>>