Go REST
K

Hey can you post the schema for Rest in single page for users,post,commetsand todos .It would would be helpful to create schema related validations and otherrequests

Karthik K Bhat over 1 year ago 2567 views 1 replies

Hey can you post the schema for Rest in single page for users,post,commetsand todos .It would would be helpful to create schema related validations and otherrequests

1 reply
Z
zeevy 3 months ago

Full OpenAPI documentation with schemas is available at: https://gorest.co.in/api-docs

Here is a quick reference:

Users: name (string, required), email (string, required), gender (male/female, required), status (active/inactive)

Posts: user_id (uuid, required), title (string, required), body (string, required)

Comments: post_id (uuid, required), name (string, required), email (string, required), body (string, required)

Todos: user_id (uuid, required), title (string, required), due_on (datetime), status (pending/completed)

Your reply

Markdown supported