Constructors

Methods

  • Delete the Blog Post object identified by the id in the path. Delete a Blog Post

    Parameters

    • objectId: string

      The Blog Post id.

    • Optionalarchived: boolean

      Whether to return only results that have been archived.

    • Optional_options: Configuration

    Returns Promise<void>

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

    Parameters

    Returns Promise<void>

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

    Parameters

    Returns Promise<HttpInfo<void>>

  • Delete the Blog Post object identified by the id in the path. Delete a Blog Post

    Parameters

    • objectId: string

      The Blog Post id.

    • Optionalarchived: boolean

      Whether to return only results that have been archived.

    • Optional_options: Configuration

    Returns Promise<HttpInfo<void>>

  • Retrieve the Blog Post object identified by the id in the path. Retrieve a Blog Post

    Parameters

    • objectId: string

      The Blog Post id.

    • Optionalarchived: boolean

      Specifies whether to return deleted Blog Posts. Defaults to `false`.

    • Optionalproperty: string
    • Optional_options: Configuration

    Returns Promise<BlogPost>

  • Get the list of blog posts. 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 Blog Posts

    Parameters

    • OptionalcreatedAt: Date

      Only return Blog Posts created at exactly the specified time.

    • OptionalcreatedAfter: Date

      Only return Blog Posts created after the specified time.

    • OptionalcreatedBefore: Date

      Only return Blog Posts created before the specified time.

    • OptionalupdatedAt: Date

      Only return Blog Posts last updated at exactly the specified time.

    • OptionalupdatedAfter: Date

      Only return Blog Posts last updated after the specified time.

    • OptionalupdatedBefore: Date

      Only return Blog Posts 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 20.

    • Optionalarchived: boolean

      Specifies whether to return deleted Blog Posts. Defaults to `false`.

    • Optionalproperty: string
    • Optional_options: Configuration

    Returns Promise<CollectionResponseWithTotalBlogPostForwardPaging>

  • Get the list of blog posts. 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 Blog Posts

    Parameters

    • OptionalcreatedAt: Date

      Only return Blog Posts created at exactly the specified time.

    • OptionalcreatedAfter: Date

      Only return Blog Posts created after the specified time.

    • OptionalcreatedBefore: Date

      Only return Blog Posts created before the specified time.

    • OptionalupdatedAt: Date

      Only return Blog Posts last updated at exactly the specified time.

    • OptionalupdatedAfter: Date

      Only return Blog Posts last updated after the specified time.

    • OptionalupdatedBefore: Date

      Only return Blog Posts 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 20.

    • Optionalarchived: boolean

      Specifies whether to return deleted Blog Posts. Defaults to `false`.

    • Optionalproperty: string
    • Optional_options: Configuration

    Returns Promise<HttpInfo<CollectionResponseWithTotalBlogPostForwardPaging>>

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

    Parameters

    • objectId: string

      The id of the Blog Post 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 Blog Post and apply them to the live version. Push Blog Post draft edits live

    Parameters

    • objectId: string

      The id of the Blog Post 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 Blog Post draft to the live version

    Parameters

    • objectId: string

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

    • Optional_options: Configuration

    Returns Promise<void>

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

    Parameters

    • objectId: string

      The Blog Post id.

    • revisionId: number

      The Blog Post version id to restore.

    • Optional_options: Configuration

    Returns Promise<BlogPost>

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

    Parameters

    • objectId: string

      The Blog Post id.

    • revisionId: number

      The Blog Post version id to restore.

    • Optional_options: Configuration

    Returns Promise<HttpInfo<BlogPost>>

  • Set the primary language of a multi-language group to the language of the provided post (specified as an id in the request body) Set a new primary language

    Parameters

    Returns Promise<void>

  • Sparse updates a single Blog Post object identified by the id in the path. All the column values need not be specified. Only the that need to be modified can be specified. Update a Blog Post

    Parameters

    • objectId: string

      The Blog Post id.

    • blogPost: BlogPost

      The JSON representation of the updated Blog Post.

    • Optionalarchived: boolean

      Specifies whether to update deleted Blog Posts. Defaults to `false`.

    • Optional_options: Configuration

    Returns Promise<BlogPost>

  • Sparse updates the draft version of a single Blog Post object identified by the id in the path. All the column values need not be specified. Only the that need to be modified can be specified. Update a Blog Post draft

    Parameters

    • objectId: string

      The Blog Post id.

    • blogPost: BlogPost

      The JSON representation of the updated Blog Post to be applied to the draft.

    • Optional_options: Configuration

    Returns Promise<BlogPost>

  • Sparse updates the draft version of a single Blog Post object identified by the id in the path. All the column values need not be specified. Only the that need to be modified can be specified. Update a Blog Post draft

    Parameters

    • objectId: string

      The Blog Post id.

    • blogPost: BlogPost

      The JSON representation of the updated Blog Post to be applied to the draft.

    • Optional_options: Configuration

    Returns Promise<HttpInfo<BlogPost>>

  • Sparse updates a single Blog Post object identified by the id in the path. All the column values need not be specified. Only the that need to be modified can be specified. Update a Blog Post

    Parameters

    • objectId: string

      The Blog Post id.

    • blogPost: BlogPost

      The JSON representation of the updated Blog Post.

    • Optionalarchived: boolean

      Specifies whether to update deleted Blog Posts. Defaults to `false`.

    • Optional_options: Configuration

    Returns Promise<HttpInfo<BlogPost>>