Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 1.05 KB

readme.md

File metadata and controls

30 lines (16 loc) · 1.05 KB

Posts Lambdas

This directory contains the code for the posts lambdas.

Description

Triggered by an HTTP POST request to the /posts/create endpoint.

Triggered by an HTTP DELETE request to the /posts/delete/{postID} endpoint.

Triggered by an HTTP GET request to the /posts/post/{postID} endpoint.

Triggered by an HTTP GET request to the /posts endpoint.

Triggered by an HTTP PUT request to the /posts/update/{postID} endpoint.

  • feed.ts - Gets all feed for the logged in user.

Triggered by an HTTP GET request to the /posts/feed/{postID} endpoint. The postID can be set to null to get the latest posts. The postID can be set to a postID to get the posts after that post.