Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Post

import type { Post } from "https://googleapis.deno.dev/v1/blogger:v3.ts";
interface Post {
author?: {
displayName?: string;
id?: string;
image?: {
url?: string;
}
;
url?: string;
}
;
blog?: {
id?: string;
}
;
content?: string;
customMetaData?: string;
etag?: string;
id?: string;
images?: {
url?: string;
}
[]
;
kind?: string;
labels?: string[];
location?: {
lat?: number;
lng?: number;
name?: string;
span?: string;
}
;
published?: string;
readerComments?: "ALLOW" | "DONT_ALLOW_SHOW_EXISTING" | "DONT_ALLOW_HIDE_EXISTING";
replies?: {
items?: Comment[];
selfLink?: string;
totalItems?: bigint;
}
;
selfLink?: string;
status?:
| "LIVE"
| "DRAFT"
| "SCHEDULED"
| "SOFT_TRASHED";
title?: string;
titleLink?: string;
trashed?: string;
updated?: string;
url?: string;
}

§Properties

§
author?: {
displayName?: string;
id?: string;
image?: {
url?: string;
}
;
url?: string;
}
[src]

The author of this Post.

§
blog?: {
id?: string;
}
[src]

Data about the blog containing this Post.

§
content?: string
[src]

The content of the Post. May contain HTML markup.

§
customMetaData?: string
[src]

The JSON meta-data for the Post.

§
etag?: string
[src]

Etag of the resource.

§
id?: string
[src]

The identifier of this Post.

§
images?: {
url?: string;
}
[]
[src]

Display image for the Post.

§
kind?: string
[src]

The kind of this entity. Always blogger#post.

§
labels?: string[]
[src]

The list of labels this Post was tagged with.

§
location?: {
lat?: number;
lng?: number;
name?: string;
span?: string;
}
[src]

The location for geotagged posts.

§
published?: string
[src]

RFC 3339 date-time when this Post was published.

§
readerComments?: "ALLOW" | "DONT_ALLOW_SHOW_EXISTING" | "DONT_ALLOW_HIDE_EXISTING"
[src]

Comment control and display setting for readers of this post.

§
replies?: {
items?: Comment[];
selfLink?: string;
totalItems?: bigint;
}
[src]

The container of comments on this Post.

§
status?: "LIVE" | "DRAFT" | "SCHEDULED" | "SOFT_TRASHED"
[src]

Status of the post. Only set for admin-level requests.

§
title?: string
[src]

The title of the Post.

§
trashed?: string
[src]

RFC 3339 date-time when this Post was last trashed.

§
updated?: string
[src]

RFC 3339 date-time when this Post was last updated.

§
url?: string
[src]

The URL where this Post is displayed.