{
  "info": {
    "_postman_id": "dd3784a3-515c-45c8-8032-5f00ef8dd779",
    "name": "JSONPlaceHolderClone",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "1087455"
  },
  "item": [
    {
      "name": "Posts",
      "item": [
        {
          "name": "List All Posts",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/posts",
              "host": ["{{DOMAIN}}"],
              "path": ["posts"]
            }
          },
          "response": []
        },
        {
          "name": "Get Post by ID",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/posts/1",
              "host": ["{{DOMAIN}}"],
              "path": ["posts", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Get Post Comments",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/posts/1/comments",
              "host": ["{{DOMAIN}}"],
              "path": ["posts", "1", "comments"]
            }
          },
          "response": []
        },
        {
          "name": "Create Post",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"New Post Title\",\n  \"body\": \"This is the body of the new post\",\n  \"userId\": 1\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/posts",
              "host": ["{{DOMAIN}}"],
              "path": ["posts"]
            }
          },
          "response": []
        },
        {
          "name": "Update Post (PUT)",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"Updated Post Title\",\n  \"body\": \"This is the updated body\",\n  \"userId\": 1\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/posts/1",
              "host": ["{{DOMAIN}}"],
              "path": ["posts", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Update Post (PATCH)",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"Partially Updated Title\"\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/posts/1",
              "host": ["{{DOMAIN}}"],
              "path": ["posts", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Delete Post",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/posts/1",
              "host": ["{{DOMAIN}}"],
              "path": ["posts", "1"]
            }
          },
          "response": []
        },
        {
          "name": "List Posts with Pagination",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/posts?_page=1&_limit=2",
              "host": ["{{DOMAIN}}"],
              "path": ["posts"],
              "query": [
                {
                  "key": "_page",
                  "value": "1"
                },
                {
                  "key": "_limit",
                  "value": "2"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List Posts by User",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/posts?userId=1",
              "host": ["{{DOMAIN}}"],
              "path": ["posts"],
              "query": [
                {
                  "key": "userId",
                  "value": "1"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Comments",
      "item": [
        {
          "name": "List All Comments",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/comments",
              "host": ["{{DOMAIN}}"],
              "path": ["comments"]
            }
          },
          "response": []
        },
        {
          "name": "Get Comment by ID",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/comments/1",
              "host": ["{{DOMAIN}}"],
              "path": ["comments", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Create Comment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"postId\": 1,\n  \"name\": \"New comment\",\n  \"email\": \"user@example.com\",\n  \"body\": \"This is a new comment\"\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/comments",
              "host": ["{{DOMAIN}}"],
              "path": ["comments"]
            }
          },
          "response": []
        },
        {
          "name": "Update Comment (PUT)",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"postId\": 1,\n  \"name\": \"Updated comment\",\n  \"email\": \"updated@example.com\",\n  \"body\": \"This is an updated comment\"\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/comments/1",
              "host": ["{{DOMAIN}}"],
              "path": ["comments", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Update Comment (PATCH)",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"body\": \"Partially updated comment body\"\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/comments/1",
              "host": ["{{DOMAIN}}"],
              "path": ["comments", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Delete Comment",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/comments/1",
              "host": ["{{DOMAIN}}"],
              "path": ["comments", "1"]
            }
          },
          "response": []
        },
        {
          "name": "List Comments by Post",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/comments?postId=1",
              "host": ["{{DOMAIN}}"],
              "path": ["comments"],
              "query": [
                {
                  "key": "postId",
                  "value": "1"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Albums",
      "item": [
        {
          "name": "List All Albums",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/albums",
              "host": ["{{DOMAIN}}"],
              "path": ["albums"]
            }
          },
          "response": []
        },
        {
          "name": "Get Album by ID",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/albums/1",
              "host": ["{{DOMAIN}}"],
              "path": ["albums", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Get Album Photos",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/albums/1/photos",
              "host": ["{{DOMAIN}}"],
              "path": ["albums", "1", "photos"]
            }
          },
          "response": []
        },
        {
          "name": "Create Album",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"userId\": 1,\n  \"title\": \"New Album Title\"\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/albums",
              "host": ["{{DOMAIN}}"],
              "path": ["albums"]
            }
          },
          "response": []
        },
        {
          "name": "Update Album (PUT)",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"userId\": 1,\n  \"title\": \"Updated Album Title\"\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/albums/1",
              "host": ["{{DOMAIN}}"],
              "path": ["albums", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Update Album (PATCH)",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"Partially Updated Album Title\"\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/albums/1",
              "host": ["{{DOMAIN}}"],
              "path": ["albums", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Delete Album",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/albums/1",
              "host": ["{{DOMAIN}}"],
              "path": ["albums", "1"]
            }
          },
          "response": []
        },
        {
          "name": "List Albums by User",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/albums?userId=1",
              "host": ["{{DOMAIN}}"],
              "path": ["albums"],
              "query": [
                {
                  "key": "userId",
                  "value": "1"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Photos",
      "item": [
        {
          "name": "List All Photos",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/photos",
              "host": ["{{DOMAIN}}"],
              "path": ["photos"]
            }
          },
          "response": []
        },
        {
          "name": "Get Photo by ID",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/photos/1",
              "host": ["{{DOMAIN}}"],
              "path": ["photos", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Create Photo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"albumId\": 1,\n  \"title\": \"New Photo\",\n  \"url\": \"https://via.placeholder.com/600/new\",\n  \"thumbnailUrl\": \"https://via.placeholder.com/150/new\"\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/photos",
              "host": ["{{DOMAIN}}"],
              "path": ["photos"]
            }
          },
          "response": []
        },
        {
          "name": "Update Photo (PUT)",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"albumId\": 1,\n  \"title\": \"Updated Photo\",\n  \"url\": \"https://via.placeholder.com/600/updated\",\n  \"thumbnailUrl\": \"https://via.placeholder.com/150/updated\"\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/photos/1",
              "host": ["{{DOMAIN}}"],
              "path": ["photos", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Update Photo (PATCH)",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"Partially Updated Photo Title\"\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/photos/1",
              "host": ["{{DOMAIN}}"],
              "path": ["photos", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Delete Photo",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/photos/1",
              "host": ["{{DOMAIN}}"],
              "path": ["photos", "1"]
            }
          },
          "response": []
        },
        {
          "name": "List Photos by Album",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/photos?albumId=1",
              "host": ["{{DOMAIN}}"],
              "path": ["photos"],
              "query": [
                {
                  "key": "albumId",
                  "value": "1"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Todos",
      "item": [
        {
          "name": "List All Todos",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/todos",
              "host": ["{{DOMAIN}}"],
              "path": ["todos"]
            }
          },
          "response": []
        },
        {
          "name": "Get Todo by ID",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/todos/1",
              "host": ["{{DOMAIN}}"],
              "path": ["todos", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Create Todo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"userId\": 1,\n  \"title\": \"New Todo Item\",\n  \"completed\": false\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/todos",
              "host": ["{{DOMAIN}}"],
              "path": ["todos"]
            }
          },
          "response": []
        },
        {
          "name": "Update Todo (PUT)",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"userId\": 1,\n  \"title\": \"Updated Todo Item\",\n  \"completed\": true\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/todos/1",
              "host": ["{{DOMAIN}}"],
              "path": ["todos", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Update Todo (PATCH)",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"completed\": true\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/todos/1",
              "host": ["{{DOMAIN}}"],
              "path": ["todos", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Delete Todo",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/todos/1",
              "host": ["{{DOMAIN}}"],
              "path": ["todos", "1"]
            }
          },
          "response": []
        },
        {
          "name": "List Todos by User",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/todos?userId=1",
              "host": ["{{DOMAIN}}"],
              "path": ["todos"],
              "query": [
                {
                  "key": "userId",
                  "value": "1"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Users",
      "item": [
        {
          "name": "List All Users",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/users",
              "host": ["{{DOMAIN}}"],
              "path": ["users"]
            }
          },
          "response": []
        },
        {
          "name": "Get User by ID",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/users/1",
              "host": ["{{DOMAIN}}"],
              "path": ["users", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Get User Posts",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/users/1/posts",
              "host": ["{{DOMAIN}}"],
              "path": ["users", "1", "posts"]
            }
          },
          "response": []
        },
        {
          "name": "Get User Albums",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/users/1/albums",
              "host": ["{{DOMAIN}}"],
              "path": ["users", "1", "albums"]
            }
          },
          "response": []
        },
        {
          "name": "Get User Todos",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/users/1/todos",
              "host": ["{{DOMAIN}}"],
              "path": ["users", "1", "todos"]
            }
          },
          "response": []
        },
        {
          "name": "Create User",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"John Doe\",\n  \"username\": \"johndoe\",\n  \"email\": \"john@example.com\",\n  \"address\": {\n    \"street\": \"123 Main St\",\n    \"suite\": \"Apt. 1\",\n    \"city\": \"New York\",\n    \"zipcode\": \"10001\",\n    \"geo\": {\n      \"lat\": \"40.7128\",\n      \"lng\": \"-74.0060\"\n    }\n  },\n  \"phone\": \"555-1234\",\n  \"website\": \"example.com\",\n  \"company\": {\n    \"name\": \"Example Inc\",\n    \"catchPhrase\": \"Making examples great\",\n    \"bs\": \"example business solutions\"\n  }\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/users",
              "host": ["{{DOMAIN}}"],
              "path": ["users"]
            }
          },
          "response": []
        },
        {
          "name": "Update User (PUT)",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Jane Doe\",\n  \"username\": \"janedoe\",\n  \"email\": \"jane@example.com\",\n  \"address\": {\n    \"street\": \"456 Oak Ave\",\n    \"suite\": \"Suite 2\",\n    \"city\": \"Los Angeles\",\n    \"zipcode\": \"90001\",\n    \"geo\": {\n      \"lat\": \"34.0522\",\n      \"lng\": \"-118.2437\"\n    }\n  },\n  \"phone\": \"555-5678\",\n  \"website\": \"updated.com\",\n  \"company\": {\n    \"name\": \"Updated Corp\",\n    \"catchPhrase\": \"Innovation at its best\",\n    \"bs\": \"synergistic solutions\"\n  }\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/users/1",
              "host": ["{{DOMAIN}}"],
              "path": ["users", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Update User (PATCH)",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"newemail@example.com\"\n}"
            },
            "url": {
              "raw": "{{DOMAIN}}/users/1",
              "host": ["{{DOMAIN}}"],
              "path": ["users", "1"]
            }
          },
          "response": []
        },
        {
          "name": "Delete User",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/users/1",
              "host": ["{{DOMAIN}}"],
              "path": ["users", "1"]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Other",
      "item": [
        {
          "name": "Landing Page",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/",
              "host": ["{{DOMAIN}}"],
              "path": [""]
            }
          },
          "response": []
        },
        {
          "name": "Example with Delay",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{DOMAIN}}/posts?_delay=2000",
              "host": ["{{DOMAIN}}"],
              "path": ["posts"],
              "query": [
                {
                  "key": "_delay",
                  "value": "2000",
                  "description": "Delay in milliseconds (max 10000)"
                }
              ]
            }
          },
          "response": []
        }
      ]
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "requests": {},
        "exec": [""]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "requests": {},
        "exec": [""]
      }
    }
  ],
  "variable": [
    {
      "key": "DOMAIN",
      "value": "http://localhost:3000",
      "type": "string"
    }
  ]
}
