Welcome to Zudoku preview! Open a GitHub issue if you have feature requests or find any issues.
JSONPlaceholder API

Other endpoints

Endpoint:https://jsonplaceholder.typicode.com

Get all posts

GET
https://jsonplaceholder.typicode.com
/posts

Retrieve a list of all posts

Get all postsResponses

    • idinteger · required

      The post ID

    • userIdinteger · required

      The ID of the user who created the post

    • titlestring · required

      The title of the post

    • bodystring · required

      The content of the post


Create a post

POST
https://jsonplaceholder.typicode.com
/posts

Create a new post

Create a postRequest Body

  • userIdinteger · required

    The ID of the user creating the post

  • titlestring · required

    The title of the post

  • bodystring · required

    The content of the post

Create a postResponses

    • idinteger · required

      The post ID

    • userIdinteger · required

      The ID of the user who created the post

    • titlestring · required

      The title of the post

    • bodystring · required

      The content of the post


Get post by ID

GET
https://jsonplaceholder.typicode.com
/posts/{id}

Retrieve a specific post by its ID

Get post by IDpath Parameters

  • idinteger · required

    Post ID

Get post by IDResponses

    • idinteger · required

      The post ID

    • userIdinteger · required

      The ID of the user who created the post

    • titlestring · required

      The title of the post

    • bodystring · required

      The content of the post


Update post

PUT
https://jsonplaceholder.typicode.com
/posts/{id}

Update an existing post

Update postpath Parameters

  • idinteger · required

    Post ID

Update postRequest Body

  • userIdinteger · required

    The ID of the user creating the post

  • titlestring · required

    The title of the post

  • bodystring · required

    The content of the post

Update postResponses

    • idinteger · required

      The post ID

    • userIdinteger · required

      The ID of the user who created the post

    • titlestring · required

      The title of the post

    • bodystring · required

      The content of the post


Delete post

DELETE
https://jsonplaceholder.typicode.com
/posts/{id}

Delete an existing post

Delete postpath Parameters

  • idinteger · required

    Post ID

Delete postResponses

    No schema specified

Get post comments

GET
https://jsonplaceholder.typicode.com
/posts/{id}/comments

Retrieve all comments for a specific post

Get post commentspath Parameters

  • idinteger · required

    Post ID

Get post commentsResponses

    • idinteger · required

      The comment ID

    • postIdinteger · required

      The ID of the post this comment belongs to

    • namestring · required

      The name of the commenter

    • emailstring · email · required

      The email of the commenter

    • bodystring · required

      The content of the comment