Skip to content

Latest commit

 

History

History

posts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.