UNPKG

hn-api-sdk

Version:

HackerNews API with TypeScript, generated by tsdk

84 lines (83 loc) 1.95 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GetPartConfig = exports.GetPollConfig = exports.GetJobConfig = exports.GetAskConfig = exports.GetCommentConfig = exports.GetStoryConfig = void 0; /** * Get story detail ({@link APIConfig}) * @category items */ exports.GetStoryConfig = { type: "user", method: "get", path: "/v0/item/{id}.json", description: "Get story detail", category: "items", paramsInUrl: "{}", }; // --------- GetStory END --------- /** * Get commend detail ({@link APIConfig}) * @category items */ exports.GetCommentConfig = { type: "user", method: "get", path: "/v0/item/{id}.json", description: "Get commend detail", category: "items", paramsInUrl: "{}", }; // --------- GetComment END --------- // ask /** * Get ask detail ({@link APIConfig}) * @category items */ exports.GetAskConfig = { type: "user", method: "get", path: "/v0/item/{id}.json", description: "Get ask detail", category: "items", paramsInUrl: "{}", }; // --------- GetAsk END --------- /** * Get job detail ({@link APIConfig}) * @category items */ exports.GetJobConfig = { type: "user", method: "get", path: "/v0/item/{id}.json", description: "Get job detail", category: "items", paramsInUrl: "{}", }; // --------- GetJob END --------- /** * Get poll detail ({@link APIConfig}) * @category items */ exports.GetPollConfig = { type: "user", method: "get", path: "/v0/item/{id}.json", description: "Get poll detail", category: "items", paramsInUrl: "{}", }; // --------- GetPoll END --------- // one of its parts /** * Get part detail ({@link APIConfig}) * @category items */ exports.GetPartConfig = { type: "user", method: "get", path: "/v0/item/{id}.json", description: "Get part detail", category: "items", paramsInUrl: "{}", }; // --------- GetPart END ---------