action dev_get_comments_by_article_id { label: "Comments" description: "This endpoint allows the client to retrieve all comments belonging to an article or podcast episode as threaded conversations.\n\nIt will return the all top level comments with their nested comments as threads. See the format specification for further details." provider: dev method: GET path: "/api/comments" encoding: json input: { type: "object" properties: { a_id: { type: "string" } p_id: { type: "string" } } additionalProperties: false } output: { type: "array" items: { type: "object" description: "A Comment on an Article or Podcast Episode" properties: { created_at: { type: "string" format: "date-time" } id_code: { type: "string" } image_url: { type: "string" format: "url" description: "Podcast image url" } type_of: { type: "string" } } } } }