Posts (endpoints/index.ts)

corsair · packages/hashnode/endpoints/index.ts · typescript · Apache-2.0
integration, tag:knn-classified

Exports Hashnode API endpoint groups for posts, users, comments, etc., enabling easy API access.

// Source: https://github.com/corsairdev/corsair | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import { listPostComments as commentListPostComments } from './comments';
import {
	create as draftCreate,
	deleteDraft as draftDeleteDraft,
	get as draftGet,
	publish as draftPublish,
	update as draftUpdate,
} from './drafts';
import { feed as feedFeed } from './feed';
import { createImageUploadURL as imageCreateImageUploadURL } from './images';
import { getPage as pageGetPage, listPages as pageListPages } from './pages';
import {
	get as postGet,
	getBySlug as postGetBySlug,
	list as postList,
	publish as postPublish,
	search as postSearch,
	update as postUpdate,
} from './posts';
im

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key