GET
/
dynamodb
/
{YOUR_DB_NAME}
/
read
Read All
curl --request GET \
  --url https://7gzkqkjgcg.execute-api.us-east-2.amazonaws.com/stage/dynamodb/{YOUR_DB_NAME}/read \
  --header 'Content-Type: application/json' \
  --data '{
  "": "<string>"
}'
{
  "statusCode": 200,
  "body": [
    {
        "id": "id1",
        "name": "name1"
    },
    {
        "id": "id2",
        "name": "name2"
    }
]
}

Path

YOUR_DB_NAME
string
required
The name of the DynamoDB you want to interact with.

Body

Response

statusCode
number
Based off of standard HTTP request guidelines
body
object
All the elements that are inside the dynamodb table
{
  "statusCode": 200,
  "body": [
    {
        "id": "id1",
        "name": "name1"
    },
    {
        "id": "id2",
        "name": "name2"
    }
]
}