interface MediumNodeParameters {
additionalFields?: {
canonicalUrl?: string;
license?:
| "all-rights-reserved"
| "cc-40-by"
| "cc-40-by-nc"
| "cc-40-by-nc-nd"
| "cc-40-by-nc-sa"
| "cc-40-by-nd"
| "cc-40-by-sa"
| "cc-40-zero"
| "public-domain";
notifyFollowers?: boolean;
publishStatus?: "public"
| "draft"
| "unlisted";
tags?: string;
};
authentication?: "oAuth2"
| "accessToken";
content?: string;
contentFormat?: "html" | "markdown";
limit?: number;
operation?: "create" | "getAll";
publication?: boolean;
publicationId?: string;
resource?: "post" | "publication";
returnAll?: boolean;
title?: string;
}Properties§
§§§§§§§§§§
readonly additional Fields?: { ... }§
readonly authentication?: "oAuth2" | "accessToken"Default: "accessToken"
readonly content?: stringThe body of the post, in a valid semantic HTML fragment, or Markdown
readonly content Format?: "html" | "markdown"The format of the content to be posted
readonly limit?: numberMax number of results to return Default: 100 Type options: {"minValue":1,"maxValue":200}
readonly operation?: "create" | "getAll"Default: "create"
readonly publication?: booleanWhether you are posting for a publication
readonly publication Id?: stringPublication IDs. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getPublications"}
readonly resource?: "post" | "publication"Default: "post"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly title?: stringTitle of the post. Max Length : 100 characters.
Default: {}